Thread (18 messages) 18 messages, 4 authors, 2009-05-01

Re: [PATCH v2 1/6] Add new macros for page-aligned data and bss sections.

From: "H. Peter Anvin" <hpa@zytor.com>
Date: 2009-05-01 18:03:00
Also in: linux-alpha, linux-m68k, linux-mips, linux-um

Sam Ravnborg wrote:
quoted
What's wrong with @?
arm does not support it :-(
I recall it denote a comment in arm assembler.

I could do some magic to detect the ARM case but I'm reluctant to do so.
I could also ignore the arm issue for now as it is not used by arm,
but that strikes me as the wrong approach.
If we really have to use different tokens, I would say:

#ifdef __ARM__
# define _PROGBITS %progbits	/* or whatever */
# define _NOBITS   %nobits
#else
# define _PROGBITS @progbits
# define _NOBITS   @nobits
#endif

Otherwise we probably need to ask the binutils people...

	-hpa

-- 
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel.  I don't speak on their behalf.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help