Objcopy and strip incorrectly zero ELF virtual address

2012-06-04 Thread Juho Östman
I have tested binutils 2.22, built for target arm-eabi. If objcopy or strip is applied to an ELF executable which has a LOAD segment in the program header, but none of the sections refer to it, the virtual address of the segment is set to zero. This behavior is incorrect, as the virtual address is

[Bug gas/14201] New: gas 2.19.51, Assertion failure when declaring large array: sb_build at /netrel/src/binutils-2.19.51-1/gas/sb.c line 62.

2012-06-04 Thread mpolon at yahoo dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14201 Bug #: 14201 Summary: gas 2.19.51, Assertion failure when declaring large array: sb_build at /netrel/src/binutils-2.19.51-1/gas/sb.c line 62. Product: binutils

[Bug gold/14196] gold mistreats -Wl,-Ttext

2012-06-04 Thread phcoder at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14196 --- Comment #2 from Vladimir Serbinenko 2012-06-04 15:30:08 UTC --- It looks like I need to retest. It was probably some old gold version. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving

[Bug gold/14196] gold mistreats -Wl,-Ttext

2012-06-04 Thread ian at airs dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14196 Ian Lance Taylor changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #1 from Ian La

Re: gold mistreats -Wl,-Ttext,0x8200

2012-06-04 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 04.06.2012 05:57, Ian Lance Taylor wrote: > "Vladimir 'φ-coder/phcoder' Serbinenko" writes: > >> On 10.03.2012 19:19, Ian Lance Taylor wrote: >> >>> "Vladimir 'φ-coder/phcoder' Serbinenko" writes: >>> Namely the minimal testcase is: gcc -o 1.img -ffreestanding -Wl,-Ttext,0x8200 1.S

[Bug gold/14196] New: gold mistreats -Wl,-Ttext

2012-06-04 Thread phcoder at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14196 Bug #: 14196 Summary: gold mistreats -Wl,-Ttext Product: binutils Version: unspecified Status: NEW Severity: normal Priority: P2 Component: gold Assig