bfd/
authorNathan Sidwell <nathan@codesourcery.com>
Wed, 27 May 2009 13:31:24 +0000 (13:31 +0000)
committerNathan Sidwell <nathan@codesourcery.com>
Wed, 27 May 2009 13:31:24 +0000 (13:31 +0000)
commitc8a1f2548b56bc210c8bcb067e91de8132f56d67
treed765705e9894e818c3ef4e0895ecd402ced6541c
parent07fc31c9c913c27ac64af66c32689db4a63827e2
bfd/
* elf32-ppc.c (ppc_elf_relax_section): Work with a partial
link.
* bout.c (b_out_bfd_relax_section): Reject relocatable links.
* elf32-m10300.c (mn10300_elf_relax_section): Likewise.
* elf32-avr.c (elf32_avr_relax_section): Likewise.
* elf32-frv.c (elf32_avr_relax_section): Likewise.
* elf32-xtensa.c (elf_xtensa_relax_section): Likewise.
* elf64-mmix.c (mmix_elf_relax_section): Likewise.
* elfxx-ia64.c (elfNN_ia64_relax_section): Likewise.
* elfxx-sparc.c (_bfd_sparc_elf_relax_section): Likewise.
* reloc.c (bfd_generic_relax_section): Likewise.
* reloc16.c (bfd_coff_reloc16_relax_section): Likewise.
* vms.c (vms_bfd_relax_section): Likewise.

ld/
* ldmain.c (main): Don't reject --relax -r.
* ld.texinfo (PowerPC ELF32): Document behaviour of relaxing
partial links.

ld/testsuite/
* ld-powerpc/vxworks-relax-2.s: New.
* ld-powerpc/vxworks-relax-2.rd: New.
* ld-powerpc/powerpc.exp: Add it.
20 files changed:
bfd/ChangeLog
bfd/bout.c
bfd/elf-m10300.c
bfd/elf32-avr.c
bfd/elf32-frv.c
bfd/elf32-ppc.c
bfd/elf32-xtensa.c
bfd/elf64-mmix.c
bfd/elfxx-ia64.c
bfd/elfxx-sparc.c
bfd/reloc.c
bfd/reloc16.c
bfd/vms.c
ld/ChangeLog
ld/ld.texinfo
ld/ldmain.c
ld/testsuite/ChangeLog
ld/testsuite/ld-powerpc/powerpc.exp
ld/testsuite/ld-powerpc/vxworks-relax-2.rd [new file with mode: 0644]
ld/testsuite/ld-powerpc/vxworks-relax-2.s [new file with mode: 0644]