On Wed, Oct 22, 2003 at 01:45:47PM +1000, Ian Wienand wrote: > On Tue, Oct 21, 2003 at 04:10:51PM +1000, Ian Wienand wrote: > > arch/ia64/kernel/gate-data.S:1: Warning: setting incorrect section > > attributes for .data.gate > > I figured out why (sorry if it's obvious); gas matches anything with > prefix '.data.' as a data special section and flags it as 'SHF_ALLOC + > SHF_WRITE' as per ELF [*]. Issuing > > .section .data.gate, "ax" > > thus conflicts as it's assumed to be an extension of a .data section. > Here is a patch for gas. Gas should set the right section attributes no matter what. H.J.