public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* default_elf_select_section
@ 2004-11-28  8:06 Alan Modra
  2004-11-28 11:25 ` default_elf_select_section Richard Henderson
  0 siblings, 1 reply; 2+ messages in thread
From: Alan Modra @ 2004-11-28  8:06 UTC (permalink / raw)
  To: Richard Henderson; +Cc: gcc

Is there a reason why default_elf_select_section_1 doesn't pass decl
down to named_section?  I'm asking because named_section decides on
flags for the section depending on decl.  If you don't pass the decl,
targetm.section_type_flags doesn't have enough to work on, and a default
of "aw" tends to be chosen.  On powerpc, this causes assembler warnings
when choosing .sdata2.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: default_elf_select_section
  2004-11-28  8:06 default_elf_select_section Alan Modra
@ 2004-11-28 11:25 ` Richard Henderson
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Henderson @ 2004-11-28 11:25 UTC (permalink / raw)
  To: gcc

On Sun, Nov 28, 2004 at 02:20:22PM +1030, Alan Modra wrote:
> Is there a reason why default_elf_select_section_1 doesn't pass decl
> down to named_section?

Not that I can think of...


r~

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-11-28  7:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-28  8:06 default_elf_select_section Alan Modra
2004-11-28 11:25 ` default_elf_select_section Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).