* elf-m10300.c (mn10300_elf_relax_section): Allow for alignment relocs when
authorNick Clifton <nickc@redhat.com>
Wed, 21 Nov 2007 12:06:26 +0000 (12:06 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 21 Nov 2007 12:06:26 +0000 (12:06 +0000)
commitfc91707cc23bf4d1cd75cc754c28cc4ff6b8c5bd
tree621e934241b754dc7b872c4d45b4b54df447a19a
parent031cd65fb243f8dc3bddfa4a4862a710ff1afde7
* elf-m10300.c (mn10300_elf_relax_section): Allow for alignment relocs when
   computing whether instructions can be relaxed.
* ld-mn10300/i135409-4.s: New test case.  Check for relaxation to a 16-bit
    jump instruction.
* ld-mn10300/i135409-4.t: Linker script for the new test.
* ld-mn10300/i135409-4.d: Expected disassembly of new test.
* ld-mn10300/mn10300.exp: Run the new test.
bfd/ChangeLog
bfd/elf-m10300.c
ld/testsuite/ChangeLog
ld/testsuite/ld-mn10300/i135409-4.d [new file with mode: 0644]
ld/testsuite/ld-mn10300/i135409-4.s [new file with mode: 0644]
ld/testsuite/ld-mn10300/i135409-4.t [new file with mode: 0644]
ld/testsuite/ld-mn10300/mn10300.exp