diff options
author | Thiemo Seufer <ths@networkno.de> | 2006-11-02 15:20:31 +0000 |
---|---|---|
committer | Thiemo Seufer <ths@networkno.de> | 2006-11-02 15:20:31 +0000 |
commit | b9d58d7191dd79b88a77f91e4b621b60966fd692 (patch) | |
tree | e8bbae938a7817f3f451eac139bcb688ab7b542c /bfd/elf-bfd.h | |
parent | 325a4b61ce4789da1e34e8a5af13ccedcbce2f4d (diff) | |
download | gdb-b9d58d7191dd79b88a77f91e4b621b60966fd692.zip gdb-b9d58d7191dd79b88a77f91e4b621b60966fd692.tar.gz gdb-b9d58d7191dd79b88a77f91e4b621b60966fd692.tar.bz2 |
[ 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.
Diffstat (limited to 'bfd/elf-bfd.h')
-rw-r--r-- | bfd/elf-bfd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h index 85a7693..4a7c0c8 100644 --- a/bfd/elf-bfd.h +++ b/bfd/elf-bfd.h @@ -1353,6 +1353,7 @@ struct elf_obj_tdata MIPS ELF linker. FIXME: We should figure out some way to only include this field for a MIPS ELF target. */ asection **local_stubs; + asection **local_call_stubs; /* Used to determine if PT_GNU_EH_FRAME segment header should be created. */ |