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: when is ld appending .number to end of section names?


On Saturday 19 January 2008, Sam Ravnborg wrote:
> I could read this in info gas:
> ----
>   Note on targets where the `@' character is the start of a comment (eg
> ARM) then another character is used instead.  For example the ARM port
> uses the `%' character.
> ----
>
> From this I cannot read that '%' is documented as a valid replacement for
> '@'. And relying on undocumented behaviour is no good.
>
> A quick test with my i386 toolchain says it works for me.
> ld --ver: 2.15
>
> So I will cook up a patch that uses '%' - but I need to prepare some other
> stuff first.

i dont know if it's documented, but personally ive been using % as a 
replacement for @ in most assembly code (i say most because i dont always 
remember to do it) ... so alpha/x86/x86_64/arm/parisc/ia64/......

perhaps someone else can speak to the validity of this ...
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


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