|
From: | glaubitz at physik dot fu-berlin.de |
Subject: | [Bug ld/17553] .eh_frame_hdr table[0] FDE at 00000978 overlaps table[1] FDE at 000009a0 when not using "-Wl,-traditional" on sh4 |
Date: | Wed, 05 Nov 2014 21:55:15 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=17553 --- Comment #6 from glaubitz at physik dot fu-berlin.de <glaubitz at physik dot fu-berlin.de> --- Some further tests with the same version of binutils on both sh4 and cross-building on x86_64 using the two object files attached to this bug report with the linking working fine on x86_64 while failing on sh4. As you can see, the eh_frame sizes differ for test2.o, for test1.o they are unrelaxed and identical. We are currently speculating whether this is a bug in binutils or in the compiler used to compile this particular version of binutils on sh4 is to be blamed since the earlier, working version of binutils on sh4 was compiled with an older version of gcc. address@hidden:~/ldtest$ uname -a Linux yamato 3.2.44-00829-g14e6110 #3901 PREEMPT Tue Jun 18 08:54:19 JST 2013 sh4a GNU/Linux address@hidden:~/ldtest$ ld -c ld: unrecognized option '-c' ld: use the --help option for usage information address@hidden:~/ldtest$ ld -v GNU ld (GNU Binutils for Debian) 2.24.90.20141023 address@hidden:~/ldtest$ ld -shared --eh-frame-hdr -o test.so test1.o test2.o --print-map | grep -B1 relaxing ld: .eh_frame_hdr table[0] FDE at 00000500 overlaps table[1] FDE at 00000528. .eh_frame 0x00000500 0x80 test2.o 0xb0 (size before relaxing) address@hidden:/tmp/sh4$ uname -a Linux aquila 3.13.0-rc1+ #7 SMP Fri Nov 22 23:16:16 CET 2013 x86_64 GNU/Linux address@hidden:/tmp/sh4$ /home/karcher/src/Development/binutils/binutils-2.24.90.20141023/builddir-sh4-linux-gnu/ld/ld-new -v GNU ld (GNU Binutils for Debian) 2.24.90.20141023 address@hidden:/tmp/sh4$ /home/karcher/src/Development/binutils/binutils-2.24.90.20141023/builddir-sh4-linux-gnu/ld/ld-new -shared --eh-frame-hdr -o test.so test1.o test2.o --print-map | grep -B1 relaxing .eh_frame 0x00000000000004f0 0x2c test2.o 0xb0 (size before relaxing) -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |