[PATCH] MIPS/BFD: Handle linker garbage collection with n64 relocs

Hans-Peter Nilsson hans-peter.nilsson@axis.com
Mon May 7 13:36:00 GMT 2012


> From: "Maciej W. Rozycki" <macro@linux-mips.org>
> Date: Mon, 7 May 2012 12:32:21 +0200

> On Mon, 7 May 2012, Alan Modra wrote:
> 
> > This one was missed too.
> > 
> > 	* elf64-ia64-vms.c (elf64_ia64_relocate_section): Update
> > 	RELOC_AGAINST_DISCARDED_SECTION invocation.
> 
>  Thanks for fixing damage and apologies for causing it -- I need to 
> remember to test all changes that touch more than one target with 
> --enable-64-bit-bfd --enable-targets=all -- no matter how obviously 
> correct they appear to me, sigh...

Targets should be tested each for a representable target using
elf{32,64}-*.c (make all and make check), not just compile-wise
in a --enable-targets=all bundle.  Basically the latter just
tests that BFD compiles.  Easy enough with a script or Makefile,
you just need to find out the "representable target" list.
Adding one in contrib/ seems like a good idea.

brgds, H-P



More information about the Binutils mailing list