This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Your elf-bfd.h and elflink.c changes caused ld regressions for cris-axis-elf (likely others)
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- To: binutils at sourceware dot org
- Date: Fri, 18 Mar 2005 16:08:28 +0100
- Subject: Your elf-bfd.h and elflink.c changes caused ld regressions for cris-axis-elf (likely others)
(Forgot to CC the list. I'm not *that* polite. :-)
Apparently (because it's the only change) this change:
2005-03-18 Alan Modra <amodra@bigpond.net.au>
* elf-bfd.h (_bfd_elf_link_renumber_dynsyms): Delete.
* elflink.c (_bfd_elf_link_renumber_dynsyms): Make static, add
section_sym_count param, and return number of section symbols.
(bfd_elf_size_dynamic_sections): Clear section symbol area of
.dynsym contents. Don't bother calling swap_symbol_out on the
first all-zero dynsym.
(elf_mark_used_section): Formatting. Avoid twiddling flags in
special sections like bfd_abs_section.
(bfd_elf_gc_sections): Spelling fix.
caused these failures for cris-axis-elf:
Running /h/hp/binutils/cvs_latest/src/ld/testsuite/ld-checks/checks.exp ...
FAIL: check sections 1
Running /h/hp/binutils/cvs_latest/src/ld/testsuite/ld-cris/cris.exp ...
FAIL: ld-cris/def3
FAIL: ld-cris/ldsym1
FAIL: ld-cris/noglob1
FAIL: ld-cris/obj1
FAIL: ld-cris/obj2
FAIL: ld-cris/undef3
FAIL: ld-cris/v10-va
FAIL: ld-cris/v32-ba-1
FAIL: ld-cris/v32-va
FAIL: ld-cris/va-v10
FAIL: ld-cris/va-v32
FAIL: ld-cris/warn2
Running /h/hp/binutils/cvs_latest/src/ld/testsuite/ld-crx/crx.exp ...
Running /h/hp/binutils/cvs_latest/src/ld/testsuite/ld-cygwin/exe-export.exp ...
Running /h/hp/binutils/cvs_latest/src/ld/testsuite/ld-d10v/d10v.exp ...
Running /h/hp/binutils/cvs_latest/src/ld/testsuite/ld-discard/discard.exp ...
Running /h/hp/binutils/cvs_latest/src/ld/testsuite/ld-elf/elf.exp ...
Running /h/hp/binutils/cvs_latest/src/ld/testsuite/ld-elf/exclude.exp ...
Running /h/hp/binutils/cvs_latest/src/ld/testsuite/ld-elf/frame.exp ...
Running /h/hp/binutils/cvs_latest/src/ld/testsuite/ld-elf/sec64k.exp ...
FAIL: ld-elf/64ksec
All errors look like:
/n/asic_slask/hp/autobinutest/ld/ld-new: tmpdir/asm.x: could not find output section .ctors for input section .ctors
/n/asic_slask/hp/autobinutest/ld/ld-new: final link failed: Nonrepresentable section on output
FAIL: check sections 1
brgds, H-P