This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
ARM testsuite failures...
- To: binutils mailing list <binutils at sourceware dot cygnus dot com>
- Subject: ARM testsuite failures...
- From: Scott Bambrough <scottb at netwinder dot org>
- Date: Fri, 29 Oct 1999 09:55:46 -0400
- Organization: Rebel.com
Hi all,
I have just one test suite failure to resolve on ARM Linux, and I'm in
need of some information. The test that fails is selective6, from
ld/ld-selective/selective.exp. It fails as follows:
gcc -w -O2 -ffunction-sections -fdata-sections -fvtable-gc
-fno-exceptions -fno-rtti
-B/home/scottb/cvstree/binutils-build/ld/tmpdir/gas/
-I/home/scottb/cvstree/binutils/ld/testsuite/ld-selective -g -O2 -W
-Wall -c /home/scottb/cvstree/binutils/ld/testsuite/ld-selective/5.cc
-o tmpdir/5.o
/home/scottb/cvstree/binutils-build/ld/ld-new -o tmpdir/5.x
--gc-sections -Bstatic tmpdir/5.o
/home/scottb/cvstree/binutils-build/ld/../binutils/nm-new tmpdir/5.x
>tmpdir/nm.out
Setting nm_output(*ABS*) to 0x00000000
Setting nm_output(GLOBAL_.I.foo__1A) to 0x0200010c
Setting nm_output(bss_end__) to 0x02008160
Setting nm_output(bss_start) to 0x02008158
Setting nm_output(bss_start__) to 0x02008158
Setting nm_output(data_start) to 0x0200812c
Setting nm_output(end__) to 0x02008160
Setting nm_output(static_initialization_and_destruction_0) to 0x020000bc
Setting nm_output(vt_1A) to 0x02008140
Setting nm_output(vt_1B) to 0x0200812c
Setting nm_output(bss_end__) to 0x02008160
Setting nm_output(edata) to 0x02008158
Setting nm_output(end) to 0x02008160
Setting nm_output(etext) to 0x0200012c
Setting nm_output(start) to 0x0200009c
Setting nm_output(a) to 0x02008158
Setting nm_output(b) to 0x0200815c
Setting nm_output(foo__1A) to 0x02000074
Setting nm_output(getme__Fv) to 0x02000084
foo__1A== 0x02000074
FAIL: selective6
I cannot find any documentation on what --gc-sections is supposed to
do. The only reference I can find to it is in an email from Catherine
Moore, and she only states that the reloc R_ARM_GNU_VTENTRY is used to
support the linker option --gc-sections. I don't believe ARM Linux uses
this reloc. Should this test even be run for targets
arm*-unknown-linux-gnu? I'd appreciate it if someone could point me to
the documentation for this switch if I have missed it, or describe what
it is supposed to accomplish.
Thanks,
Scott
--
Scott Bambrough - Software Engineer
REBEL.COM http://www.rebel.com
NetWinder http://www.netwinder.org