This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Where to add .alias and .secalias support?
- From: "H. J. Lu" <hjl at lucon dot org>
- To: binutils at sources dot redhat dot com
- Date: Thu, 1 May 2003 10:38:28 -0700
- Subject: Where to add .alias and .secalias support?
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.