[ bfd/ChangeLog ]
commite2ff6df3b0fa52a33d24343d05777c8466095cbf
authorThiemo Seufer <ths@networkno.de>
Thu, 2 Nov 2006 15:20:31 +0000 (2 15:20 +0000)
committerThiemo Seufer <ths@networkno.de>
Thu, 2 Nov 2006 15:20:31 +0000 (2 15:20 +0000)
treefcd069c050a35ec4dd5b7a0c99d5fc3ced6b7cd8
parent98fb4b16e13c0de2ee37415f5a66487b5ecfc8f3
[ bfd/ChangeLog ]
* elf-bfd.h (local_call_stubs): New member.
* elfxx-mips.c (FN_STUB_P, CALL_STUB_P, CALL_FP_STUB_P): New macros.
(mips_elf_calculate_relocation): Handle local mips16 call stubs.
(mips16_stub_section_p): Rename from mips_elf_stub_section_p, use
the new stub macros.
(_bfd_mips_elf_check_relocs): Handle call stubs for code which
mixes mips16 and mips32 functions. Use mips16_stub_section_p. Mark
used stubs with SEC_KEEP. Use the new stub macros.

[ gas/testsuite/ChangeLog ]
* gas/mips/mips16-intermix.d, gas/mips/mips16-intermix.s: New
testcase.
* gas/mips/mips.exp: Run new testcase.

[ ld/testsuite/ChangeLog ]
* ld-mips-elf/mips16-intermix-1.s, ld-mips-elf/mips16-intermix-2.s,
ld-mips-elf/mips16-intermix.d: New testcase.
* ld-mips-elf/mips-elf.exp (mips16_intermix_test): Run new testcases.
12 files changed:
bfd/ChangeLog
bfd/elf-bfd.h
bfd/elfxx-mips.c
gas/testsuite/ChangeLog
gas/testsuite/gas/mips/mips.exp
gas/testsuite/gas/mips/mips16-intermix.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips16-intermix.s [new file with mode: 0644]
ld/testsuite/ChangeLog
ld/testsuite/ld-mips-elf/mips-elf.exp
ld/testsuite/ld-mips-elf/mips16-intermix-1.s [new file with mode: 0644]
ld/testsuite/ld-mips-elf/mips16-intermix-2.s [new file with mode: 0644]
ld/testsuite/ld-mips-elf/mips16-intermix.d [new file with mode: 0644]