[Bug binutils/6006] thin archive support breaks existing archives

2008-03-31 Thread amodra at bigpond dot net dot au
--- Additional Comments From amodra at bigpond dot net dot au 2008-03-31 23:48 --- http://sourceware.org/ml/binutils/2008-03/msg00286.html http://sourceware.org/ml/binutils-cvs/2008-03/msg00143.html -- What|Removed |Added -

Re: gold: script_test_3.t output produces exec format error

2008-03-31 Thread Ian Lance Taylor
Jan Blunck <[EMAIL PROTECTED]> writes: > Although the linker script looks ok, the resulting binary isn't executable on > x86_64. Without defining the program headers in the linker script the > executable is working fine. What happens if you use -z max-page-size=0x10 ? I have tested this on x

[Bug ld/6019] [avr] avr-ld --relax requires --gc-sections

2008-03-31 Thread eric dot weddington at atmel dot com
-- What|Removed |Added GCC target triplet|avr-*.* |avr-*-* http://sourceware.org/bugzilla/show_bug.cgi?id=6019 --- You are receiving this mail because:

[Bug ld/6019] New: [avr] avr-ld --relax requires --gc-sections

2008-03-31 Thread eric dot weddington at atmel dot com
avr-ld fails with --relax, unless --gc-sections is also used, even if -ffunction-sections is not used with avr-gcc. -- Summary: [avr] avr-ld --relax requires --gc-sections Product: binutils Version: 2.18 Status: NEW Severity: normal

[Bug gold/5996] Testsuite failure: ./script_test_3: cannot execute binary file

2008-03-31 Thread schwab at suse dot de
--- Additional Comments From schwab at suse dot de 2008-03-31 22:15 --- The problem appears to be that the INTERP segment has a lot of sections besides .interp lumped together: $ readelf -l script_test_3 Elf file type is EXEC (Executable file) Entry point 0x1480 There are 5 program

[Bug gold/5996] Testsuite failure: ./script_test_3: cannot execute binary file

2008-03-31 Thread schwab at suse dot de
--- Additional Comments From schwab at suse dot de 2008-03-31 21:49 --- When linking script_test_3 with the old linker I get these errors: /usr/lib/libc_nonshared.a(elf-init.oS): In function `__libc_csu_init': (.text+0x2b): undefined reference to `__init_array_end' /usr/lib/libc_nonshare

[Bug binutils/6006] thin archive support breaks existing archives

2008-03-31 Thread ccoutant at google dot com
-- What|Removed |Added AssignedTo|unassigned at sources dot |ccoutant at google dot com |redhat dot com | http://sourceware.org/bugzilla/sh

[Bug binutils/6006] thin archive support breaks existing archives

2008-03-31 Thread ccoutant at google dot com
--- Additional Comments From ccoutant at google dot com 2008-03-31 21:18 --- When Nick reviewed my patch, he did some additional code cleanup and changed several instances of '\012' to ARFMAG[0]. That should have been ARFMAG[1]. -- What|Removed |Added

[Bug binutils/6006] thin archive support breaks existing archives

2008-03-31 Thread amodra at bigpond dot net dot au
--- Additional Comments From amodra at bigpond dot net dot au 2008-03-31 08:36 --- Created an attachment (id=2343) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2343&action=view) testcase -- http://sourceware.org/bugzilla/show_bug.cgi?id=6006 --- You are receiving this

[Bug binutils/6006] New: thin archive support breaks existing archives

2008-03-31 Thread amodra at bigpond dot net dot au
Note the file name weirdness. $ binutils/ar tv /src/tmp/libxxx.a rw-r--r-- 500/100 4608 Mar 31 18:39 2008 lib_a-strcasecmp.o/ lib_a-strcasestr.o/ rw-r--r-- 500/100 5152 Mar 31 18:39 2008 lib_a-strcasestr.o/ expected: $ ar tv /src/tmp/libxxx.a rw-r--r-- 500/100 4608 Mar 31 18:39 2008 lib_a-s