From: Ian Wienand <ianw@gelato.unsw.edu.au>
To: linux-ia64@vger.kernel.org
Subject: Gate DSO not building properly?
Date: Tue, 21 Oct 2003 06:10:51 +0000 [thread overview]
Message-ID: <marc-linux-ia64-106671667126577@msgid-missing> (raw)
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
reply other threads:[~2003-10-21 6:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-linux-ia64-106671667126577@msgid-missing \
--to=ianw@gelato.unsw.edu.au \
--cc=linux-ia64@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.