This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: Varasm.c change.


On Mon, Jan 10, 2005 at 09:16:01PM -0800, Richard Henderson wrote:
> On Tue, Jan 11, 2005 at 02:37:41PM +1030, Alan Modra wrote:
> > No, don't.  ia64 is unique in that it defines a SHF_* value for ELF
> > section header sh_flags field to specify small section data.
> 
> Hmm?
> 
> #define SHF_ALPHA_GPREL         0x10000000
> #define SHF_MIPS_GPREL          0x10000000

Err, OK, I spoke too soon.

> It's probably default_elf_asm_named_section that should be tweaked
> such that it doesn't just assume that SECTION_SMALL -> 's'.

I considered that, but that means more target code.  ie. duplicating
elf_asm_named_section.  Hmm, unless you pull out the code that builds
flagchars.  Yeah, I guess that would be better..

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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