Where to add .alias and .secalias support?
H. J. Lu
hjl@lucon.org
Thu May 1 17:38:00 GMT 2003
Intel ia64 assembler supports .alias and .secalias:
The .alias directive declares an alias for a label, a function name,
or a symbolic constant. This directive can be used to reference an
external symbol whose name is not legal in the assembly language. The
.alias directive has the following format:
.alias symbol,"alias"
Where:
symbol
Represents a symbol name that the assembler can recognize. This name
must be a valid name for the type of symbol.
"alias"
Represents a string constant, which is the name the assembler exports to the
object file symbol table.
The .secalias directive declares an alias for a section name. This directive
can be used to reference an external section whose name is not valid in the
assembly language. The .secalias directive has the following format:
.secalias section-name,"alias"
Where:
section-name
Represents a section name that the assembler can recognize. This name must be
a valid name for the type of section.
"alias"
Represents a string constant, which is the name the assembler exports to the
object file symbol table.
I'd like to add them to gas. Should I make it ia64 specific or more
generic?
H.J.
More information about the Binutils
mailing list