This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch] New ia64 @slotcount pseudo func (for VMS)


On Feb 12, 2010, at 12:41 PM, Nick Clifton wrote:

> Hi Tristan,
> 
>> with Doug we finally wrote this patch to implement @slotcount pseudo function for ia64 VMS.  This pseudo
>> is available only on VMS to avoid pseudo namespace pollution.
> 
> I think that this really ought to have some documentation written for it in gas/doc/c-ia64.texi...

What about this ?
(checked with make info).

Tristan.

gas/
2010-02-12  Tristan Gingold  <gingold@adacore.com>

	* doc/c-ia64.texi (IA-64-Relocs): Document @slotcount.

diff --git a/gas/doc/c-ia64.texi b/gas/doc/c-ia64.texi
index 6b0f3a9..f684171 100644
--- a/gas/doc/c-ia64.texi
+++ b/gas/doc/c-ia64.texi
@@ -120,7 +120,7 @@ Reference Guide.
 * IA-64-Chars::                Special Characters
 * IA-64-Regs::                 Register Names
 * IA-64-Bits::                 Bit Names
-@c * IA-64-Relocs::               Relocations		// to be written
 @node IA-64-Chars
@@ -170,6 +170,21 @@ the @samp{ssm}/@samp{sum} and @samp{rsm}/@samp{rum}
 instructions, but they can be used anywhere else where an integer
 constant is expected.
 
+@node IA-64-Relocs
+@subsection Relocations
+@cindex IA-64 relocations
+
+In addition to the standard IA-64 relocations, the following relocations are
+implemented by @code{@value{AS}}:
+
+@table @code
+@item @@slotcount(@var{V})
+Convert the address offset @var{V} into a slot count.  This pseudo
+function is available only on VMS.  The expression @var{V} must be
+known at assembly time: it can't reference undefined symbols or symbols in
+different sections.
+@end table
+
 @node IA-64 Opcodes
 @section Opcodes
 For detailed information on the IA-64 machine instruction set, see the


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]