This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
arm-eabi regressions from Re: mapping of stripped section syms
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- To: amodra at gmail dot com
- Cc: binutils at sourceware dot org
- Date: Fri, 23 Mar 2012 19:09:43 +0100
- Subject: arm-eabi regressions from Re: mapping of stripped section syms
> From: Alan Modra <amodra@gmail.com>
> Date: Fri, 23 Mar 2012 10:34:25 +0100
> On Fri, Mar 23, 2012 at 07:56:27PM +1030, Alan Modra wrote:
> > I'll also be committing another patch that disables stripping of
> > output sections when -q is in effect
>
> bfd/
> * elf.c (assign_file_positions_for_non_load_sections): Don't warn
> on empty alloc sections.
> ld/
> * ldemul.c (before_allocation_default): When emitrelocations,
> don't strip sections..
> * ldlang.c (lang_add_section): ..and don't set up map_head, map_tail.
This or another patch in this series of bfd and ld patches
caused test-suite regressions for arm-eabi:
Running /tmp/hpautotest-binutils/bsrc/src/ld/testsuite/ld-arm/arm-elf.exp ...
FAIL: ld-arm/emit-relocs1
...
Running /tmp/hpautotest-binutils/bsrc/src/ld/testsuite/ld-elf/elf.exp ...
FAIL: ld-elf/linkonce2
ld.log:
Executing on host: sh -c {/tmp/hpautotest-binutils/arm-axis-eabi/ld/../binutils/objdump -dr tmpdir/dump > tmpdir/dump.o
ut 2>ld.tmp} /dev/null (timeout = 300)
exited abnormally with 1, output:/tmp/hpautotest-binutils/arm-axis-eabi/ld/../binutils/objdump: tmpdir/dump: Bad value
FAIL: ld-arm/emit-relocs1
similarly the other test.
brgds, H-P