Gate DSO not building properly?

From: Ian Wienand <>
Date: 2003-10-21 16:10:51

I'm just playing around with the kernel gate DSO and noticed when as 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 for linking into vmlinux the section should about as big as, 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 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?


To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Tue Oct 21 02:11:11 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:19 EST