This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
another ill test?
- From: "Jan Beulich" <jbeulich at novell dot com>
- To: <binutils at sourceware dot org>
- Date: Mon, 20 Nov 2006 10:38:01 +0100
- Subject: another ill test?
ld-elf/warn2 uses symbol2w.s, which contains
.section .gnu.warning,"a",%progbits
.global Foo
.type Foo, %object
.size Foo, 20
Foo:
.string "function 'Foo' used"
As a result, warn2.d expects Foo to end up in .text, but to me placement
of a symbol in a to be discarded section seems ill in the first place. I'd
therefore like to move Foo into .data, and additionally relax warn2.d to
not expect a specific section number.
Thanks, Jan