This is the mail archive of the binutils@sources.redhat.com 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]

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.


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