Hi, I'm just playing around with the kernel gate DSO and noticed when as 2.14.90.0.6 builds gate-data.o there is a warning: arch/ia64/kernel/gate-data.S:1: Warning: setting incorrect section attributes for .data.gate And when I look in gate-data.o I see [ 4] .data.gate PROGBITS 0000000000000000 00000040 0000000000000d50 0000000000000000 WAX 0 0 1 ^^^^^ ^^^ I see two things wrong; seeing as this is just a "wrapper" around gate.so for linking into vmlinux the section should about as big as gate.so, and it's attributes are set in gate-data.S as "ax" not "wax" (objdump --disassemble seems to show gate-data.o has everything OK, just the section header is wrong). I used an older version of as (2.13.90 from ftp://ftp.hpl.hp.com/pub/linux-ia64/gas-030124.tar.gz) and gate-data.o came out like [ 4] .data.gate PROGBITS 0000000000000000 00000040 0000000000004720 0000000000000000 AX 0 0 1 which seems much more reasonable to me. Is this a binutils bug or have I missed something? -i ianw@gelato.unsw.edu.au http://www.gelato.unsw.edu.au - To unsubscribe from this list: send the line "unsubscribe linux-ia64" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htmlReceived on Tue Oct 21 02:11:11 2003
This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:19 EST