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. Should this even be in data at all, considering it's code? What about something along the lines of the attached patch which puts it in it's own section? -i ianw@gelato.unsw.edu.au http://www.gelato.unsw.edu.au [*] For those who don't know, the exact rules about what sections and how prefixes get matched are in bfd/elf-bfd.h(struct bfd_elf_special_section) and bfd/elf.c in binutils.