2002-04-04 09:10:00 +02:00
|
|
|
/* MIPS ELF specific backend routines.
|
2005-03-03 12:41:03 +01:00
|
|
|
Copyright 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
|
2002-04-04 09:10:00 +02:00
|
|
|
|
|
|
|
This file is part of BFD, the Binary File Descriptor library.
|
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation; either version 2 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program; if not, write to the Free Software
|
2005-05-04 17:53:43 +02:00
|
|
|
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
|
2002-04-04 09:10:00 +02:00
|
|
|
|
|
|
|
#include "elf/common.h"
|
|
|
|
#include "elf/internal.h"
|
|
|
|
|
2003-01-23 12:51:35 +01:00
|
|
|
extern bfd_boolean _bfd_mips_elf_new_section_hook
|
2003-12-08 21:04:34 +01:00
|
|
|
(bfd *, asection *);
|
2002-04-04 09:10:00 +02:00
|
|
|
extern void _bfd_mips_elf_symbol_processing
|
2003-12-08 21:04:34 +01:00
|
|
|
(bfd *, asymbol *);
|
2005-01-31 21:39:11 +01:00
|
|
|
extern unsigned int _bfd_mips_elf_eh_frame_address_size
|
|
|
|
(bfd *, asection *);
|
2004-02-09 09:04:00 +01:00
|
|
|
extern bfd_boolean _bfd_mips_elf_name_local_section_symbols
|
|
|
|
(bfd *);
|
2002-11-30 09:39:46 +01:00
|
|
|
extern bfd_boolean _bfd_mips_elf_section_processing
|
2003-12-08 21:04:34 +01:00
|
|
|
(bfd *, Elf_Internal_Shdr *);
|
2002-11-30 09:39:46 +01:00
|
|
|
extern bfd_boolean _bfd_mips_elf_section_from_shdr
|
2005-03-21 00:36:19 +01:00
|
|
|
(bfd *, Elf_Internal_Shdr *, const char *, int);
|
2002-11-30 09:39:46 +01:00
|
|
|
extern bfd_boolean _bfd_mips_elf_fake_sections
|
2003-12-08 21:04:34 +01:00
|
|
|
(bfd *, Elf_Internal_Shdr *, asection *);
|
2002-11-30 09:39:46 +01:00
|
|
|
extern bfd_boolean _bfd_mips_elf_section_from_bfd_section
|
2003-12-08 21:04:34 +01:00
|
|
|
(bfd *, asection *, int *);
|
2002-11-30 09:39:46 +01:00
|
|
|
extern bfd_boolean _bfd_mips_elf_add_symbol_hook
|
2004-03-26 07:13:40 +01:00
|
|
|
(bfd *, struct bfd_link_info *, Elf_Internal_Sym *,
|
2003-12-08 21:04:34 +01:00
|
|
|
const char **, flagword *, asection **, bfd_vma *);
|
2002-11-30 09:39:46 +01:00
|
|
|
extern bfd_boolean _bfd_mips_elf_link_output_symbol_hook
|
2003-12-08 21:04:34 +01:00
|
|
|
(struct bfd_link_info *, const char *, Elf_Internal_Sym *,
|
|
|
|
asection *, struct elf_link_hash_entry *);
|
2002-11-30 09:39:46 +01:00
|
|
|
extern bfd_boolean _bfd_mips_elf_create_dynamic_sections
|
2003-12-08 21:04:34 +01:00
|
|
|
(bfd *, struct bfd_link_info *);
|
2002-11-30 09:39:46 +01:00
|
|
|
extern bfd_boolean _bfd_mips_elf_check_relocs
|
2003-12-08 21:04:34 +01:00
|
|
|
(bfd *, struct bfd_link_info *, asection *, const Elf_Internal_Rela *);
|
2002-11-30 09:39:46 +01:00
|
|
|
extern bfd_boolean _bfd_mips_elf_adjust_dynamic_symbol
|
2003-12-08 21:04:34 +01:00
|
|
|
(struct bfd_link_info *, struct elf_link_hash_entry *);
|
2002-11-30 09:39:46 +01:00
|
|
|
extern bfd_boolean _bfd_mips_elf_always_size_sections
|
2003-12-08 21:04:34 +01:00
|
|
|
(bfd *, struct bfd_link_info *);
|
2002-11-30 09:39:46 +01:00
|
|
|
extern bfd_boolean _bfd_mips_elf_size_dynamic_sections
|
2003-12-08 21:04:34 +01:00
|
|
|
(bfd *, struct bfd_link_info *);
|
2002-11-30 09:39:46 +01:00
|
|
|
extern bfd_boolean _bfd_mips_elf_relocate_section
|
2003-12-08 21:04:34 +01:00
|
|
|
(bfd *, struct bfd_link_info *, bfd *, asection *, bfd_byte *,
|
|
|
|
Elf_Internal_Rela *, Elf_Internal_Sym *, asection **);
|
2002-11-30 09:39:46 +01:00
|
|
|
extern bfd_boolean _bfd_mips_elf_finish_dynamic_symbol
|
2003-12-08 21:04:34 +01:00
|
|
|
(bfd *, struct bfd_link_info *, struct elf_link_hash_entry *,
|
|
|
|
Elf_Internal_Sym *);
|
2002-11-30 09:39:46 +01:00
|
|
|
extern bfd_boolean _bfd_mips_elf_finish_dynamic_sections
|
2003-12-08 21:04:34 +01:00
|
|
|
(bfd *, struct bfd_link_info *);
|
2002-04-04 09:10:00 +02:00
|
|
|
extern void _bfd_mips_elf_final_write_processing
|
2003-12-08 21:04:34 +01:00
|
|
|
(bfd *, bfd_boolean);
|
2002-04-04 09:10:00 +02:00
|
|
|
extern int _bfd_mips_elf_additional_program_headers
|
2003-12-08 21:04:34 +01:00
|
|
|
(bfd *);
|
2002-11-30 09:39:46 +01:00
|
|
|
extern bfd_boolean _bfd_mips_elf_modify_segment_map
|
2003-12-08 21:04:34 +01:00
|
|
|
(bfd *, struct bfd_link_info *);
|
2002-04-04 09:10:00 +02:00
|
|
|
extern asection * _bfd_mips_elf_gc_mark_hook
|
2003-12-08 21:04:34 +01:00
|
|
|
(asection *, struct bfd_link_info *, Elf_Internal_Rela *,
|
|
|
|
struct elf_link_hash_entry *, Elf_Internal_Sym *);
|
2002-11-30 09:39:46 +01:00
|
|
|
extern bfd_boolean _bfd_mips_elf_gc_sweep_hook
|
2003-12-08 21:04:34 +01:00
|
|
|
(bfd *, struct bfd_link_info *, asection *, const Elf_Internal_Rela *);
|
2002-04-04 09:10:00 +02:00
|
|
|
extern void _bfd_mips_elf_copy_indirect_symbol
|
2003-12-08 21:04:34 +01:00
|
|
|
(const struct elf_backend_data *, struct elf_link_hash_entry *,
|
|
|
|
struct elf_link_hash_entry *);
|
2002-04-04 09:10:00 +02:00
|
|
|
extern void _bfd_mips_elf_hide_symbol
|
2003-12-08 21:04:34 +01:00
|
|
|
(struct bfd_link_info *, struct elf_link_hash_entry *, bfd_boolean);
|
2002-11-30 09:39:46 +01:00
|
|
|
extern bfd_boolean _bfd_mips_elf_ignore_discarded_relocs
|
2003-12-08 21:04:34 +01:00
|
|
|
(asection *);
|
2002-11-30 09:39:46 +01:00
|
|
|
extern bfd_boolean _bfd_mips_elf_find_nearest_line
|
2003-12-08 21:04:34 +01:00
|
|
|
(bfd *, asection *, asymbol **, bfd_vma, const char **,
|
|
|
|
const char **, unsigned int *);
|
2005-05-23 19:44:55 +02:00
|
|
|
extern bfd_boolean _bfd_mips_elf_find_inliner_info
|
|
|
|
(bfd *, const char **, const char **, unsigned int *);
|
2002-11-30 09:39:46 +01:00
|
|
|
extern bfd_boolean _bfd_mips_elf_set_section_contents
|
2003-12-08 21:04:34 +01:00
|
|
|
(bfd *, asection *, const void *, file_ptr, bfd_size_type);
|
2002-04-04 09:10:00 +02:00
|
|
|
extern bfd_byte *_bfd_elf_mips_get_relocated_section_contents
|
2003-12-08 21:04:34 +01:00
|
|
|
(bfd *, struct bfd_link_info *, struct bfd_link_order *,
|
|
|
|
bfd_byte *, bfd_boolean, asymbol **);
|
2002-04-04 09:10:00 +02:00
|
|
|
extern struct bfd_link_hash_table *_bfd_mips_elf_link_hash_table_create
|
2003-12-08 21:04:34 +01:00
|
|
|
(bfd *);
|
2002-11-30 09:39:46 +01:00
|
|
|
extern bfd_boolean _bfd_mips_elf_final_link
|
2003-12-08 21:04:34 +01:00
|
|
|
(bfd *, struct bfd_link_info *);
|
2002-11-30 09:39:46 +01:00
|
|
|
extern bfd_boolean _bfd_mips_elf_merge_private_bfd_data
|
2003-12-08 21:04:34 +01:00
|
|
|
(bfd *, bfd *);
|
2002-11-30 09:39:46 +01:00
|
|
|
extern bfd_boolean _bfd_mips_elf_set_private_flags
|
2003-12-08 21:04:34 +01:00
|
|
|
(bfd *, flagword);
|
2002-11-30 09:39:46 +01:00
|
|
|
extern bfd_boolean _bfd_mips_elf_print_private_bfd_data
|
2003-12-08 21:04:34 +01:00
|
|
|
(bfd *, void *);
|
2002-11-30 09:39:46 +01:00
|
|
|
extern bfd_boolean _bfd_mips_elf_discard_info
|
2003-12-08 21:04:34 +01:00
|
|
|
(bfd *, struct elf_reloc_cookie *, struct bfd_link_info *);
|
2002-11-30 09:39:46 +01:00
|
|
|
extern bfd_boolean _bfd_mips_elf_write_section
|
2003-12-08 21:04:34 +01:00
|
|
|
(bfd *, asection *, bfd_byte *);
|
2002-04-04 09:10:00 +02:00
|
|
|
|
2002-11-30 09:39:46 +01:00
|
|
|
extern bfd_boolean _bfd_mips_elf_read_ecoff_info
|
2003-12-08 21:04:34 +01:00
|
|
|
(bfd *, asection *, struct ecoff_debug_info *);
|
bfd/:
2005-02-15 Nigel Stephens <nigel@mips.com>
Maciej W. Rozycki <macro@mips.com>
* elf32-mips.c (elf_mips16_howto_table_rel): New array for MIPS16
reloc howtos. Add R_MIPS16_HI16 and R_MIPS16_LO16 relocs and
R_MIPS16_GOT16 and R_MIPS16_CALL16 placeholders.
(elf_mips16_jump_howto): Move into elf_mips16_howto_table_rel.
(elf_mips16_gprel_howto): Likewise. Redefine src_mask and
dst_mask.
(mips16_gprel_reloc): Remove bit shuffling; call
_bfd_mips16_elf_reloc_unshuffle(), _bfd_mips_elf_gprel16_with_gp()
and _bfd_mips16_elf_reloc_shuffle() instead.
(mips16_reloc_map): New reloc map for MIPS16 relocs.
(bfd_elf32_bfd_reloc_type_lookup): Use mips16_reloc_map for MIPS16
relocs.
(mips_elf32_rtype_to_howto): Fetch MIPS16 howtos from
elf_mips16_howto_table_rel.
* elf64-mips.c (mips16_elf64_howto_table_rel): New array for
MIPS16 REL reloc howtos. Add R_MIPS16_HI16 and R_MIPS16_LO16
relocs and R_MIPS16_GOT16 and R_MIPS16_CALL16 placeholders.
(elf_mips16_jump_howto): Move into mips16_elf64_howto_table_rel.
(elf_mips16_gprel_howto): Likewise. Redefine src_mask and
dst_mask.
(mips16_elf64_howto_table_rela): New array for MIPS16 RELA
reloc howtos. Add R_MIPS16_26, R_MIPS16_GPREL, R_MIPS16_HI16 and
R_MIPS16_LO16 relocs and R_MIPS16_GOT16 and R_MIPS16_CALL16
placeholders.
(mips16_gprel_reloc): Remove bit shuffling; call
_bfd_mips16_elf_reloc_unshuffle(), _bfd_mips_elf_gprel16_with_gp()
and _bfd_mips16_elf_reloc_shuffle() instead.
(mips16_reloc_map): New reloc map for MIPS16 relocs.
(bfd_elf64_bfd_reloc_type_lookup): Use mips16_reloc_map for MIPS16
relocs.
(mips_elf64_rtype_to_howto): Fetch MIPS16 howtos from
mips16_elf64_howto_table_rela or mips16_elf64_howto_table_rel.
* elfn32-mips.c (elf_mips16_howto_table_rel): New array for MIPS16
REL reloc howtos. Add R_MIPS16_HI16 and R_MIPS16_LO16 relocs and
R_MIPS16_GOT16 and R_MIPS16_CALL16 placeholders.
(elf_mips16_jump_howto): Move into elf_mips16_howto_table_rel.
(elf_mips16_gprel_howto): Likewise. Redefine src_mask and
dst_mask.
(mips16_gprel_reloc): Remove bit shuffling; call
_bfd_mips16_elf_reloc_unshuffle(), _bfd_mips_elf_gprel16_with_gp()
and _bfd_mips16_elf_reloc_shuffle() instead.
(mips16_reloc_map): New reloc map for MIPS16 relocs.
(bfd_elf32_bfd_reloc_type_lookup): Use mips16_reloc_map for MIPS16
relocs.
(mips_elf_n32_rtype_to_howto): Fetch MIPS16 howtos from
elf_mips16_howto_table_rela or elf_mips16_howto_table_rel.
* elfxx-mips.c (_bfd_mips16_elf_reloc_unshuffle): New function to
handle bit shuffling for MIPS16 relocs.
(_bfd_mips16_elf_reloc_shuffle): Likewise.
(_bfd_mips_elf_lo16_reloc): Use _bfd_mips16_elf_reloc_unshuffle()
and _bfd_mips16_elf_reloc_shuffle().
(_bfd_mips_elf_generic_reloc): Likewise.
(mips_elf_calculate_relocation): Likewise. Handle R_MIPS16_HI16
and R_MIPS16_LO16.
(mips_elf_obtain_contents): Remove bit shuffling.
(mips_elf_perform_relocation): Likewise; call
_bfd_mips16_elf_reloc_unshuffle() and _bfd_mips16_elf_reloc_shuffle()
instead.
(_bfd_mips_elf_relocate_section): Likewise. Handle R_MIPS16_HI16
and R_MIPS16_LO16.
* elfxx-mips.h (_bfd_mips16_elf_reloc_unshuffle): Declare.
(_bfd_mips16_elf_reloc_shuffle): Likewise.
* reloc.c (BFD_RELOC_MIPS16_HI16): New reloc.
(BFD_RELOC_MIPS16_HI16_S): Likewise.
(BFD_RELOC_MIPS16_LO16): Likewise.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
gas/:
2005-02-15 Nigel Stephens <nigel@mips.com>
Maciej W. Rozycki <macro@mips.com>
* config/tc-mips.c (reloc_needs_lo_p): Handle
BFD_RELOC_MIPS16_HI16_S.
(fixup_has_matching_lo_p): Handle BFD_RELOC_MIPS16_LO16.
(append_insn): Add BFD_RELOC_MIPS16_GPREL, BFD_RELOC_MIPS16_HI16_S
and BFD_RELOC_MIPS16_LO16 to relocs to suppress overflow
complaints on.
(mips16_ip): Resolve BFD_RELOC_MIPS16_HI16_S,
BFD_RELOC_MIPS16_HI16 and BFD_RELOC_MIPS16_LO16 for constants.
Call my_getSmallExpression() to parse percent operators.
(percent_op_match, mips_percent_op): Separate definitions.
(mips16_percent_op): Define percent operators for the MIPS16 mode.
(parse_relocation): Handle the MIPS16 mode using
mips16_percent_op.
(md_apply_fix3): Handle BFD_RELOC_MIPS16_HI16,
BFD_RELOC_MIPS16_HI16_S and BFD_RELOC_MIPS16_LO16.
gas/testsuite/:
2005-02-15 Nigel Stephens <nigel@mips.com>
Maciej W. Rozycki <macro@mips.com>
* gas/mips/mips16-hilo.d: New test for the R_MIPS16_HI16 and
R_MIPS16_LO16 relocs.
* gas/mips/mips16-hilo-n32.d: Likewise, for the n32 ABI.
* gas/mips/mips16-hilo.s: Source for the new tests.
* gas/mips/mips.exp: Run the new tests.
include/:
2005-02-15 Nigel Stephens <nigel@mips.com>
Maciej W. Rozycki <macro@mips.com>
* elf/mips.h (R_MIPS16_GOT16): New reloc code.
(R_MIPS16_CALL16): Likewise.
(R_MIPS16_HI16): Likewise.
(R_MIPS16_LO16): Likewise.
(R_MIPS16_min): New fake reloc code.
(R_MIPS16_max): Likewise.
ld/testsuite/:
2005-02-15 Nigel Stephens <nigel@mips.com>
Maciej W. Rozycki <macro@mips.com>
* ld-mips-elf/mips16-hilo.d: New test for the R_MIPS16_HI16 and
R_MIPS16_LO16 relocs.
* ld-mips-elf/mips16-hilo-n32.d: Likewise, for the n32 ABI.
* ld-mips-elf/mips16-hilo.s: Auxiliary source for the new tests.
* ld-mips-elf/mips-elf.exp: Run the new tests.
2005-02-15 20:57:54 +01:00
|
|
|
extern void _bfd_mips16_elf_reloc_unshuffle
|
|
|
|
(bfd *, int, bfd_boolean, bfd_byte *);
|
|
|
|
extern void _bfd_mips16_elf_reloc_shuffle
|
|
|
|
(bfd *, int, bfd_boolean, bfd_byte *);
|
2002-04-04 09:10:00 +02:00
|
|
|
extern bfd_reloc_status_type _bfd_mips_elf_gprel16_with_gp
|
2003-12-08 21:04:34 +01:00
|
|
|
(bfd *, asymbol *, arelent *, asection *, bfd_boolean, void *, bfd_vma);
|
2002-04-04 09:10:00 +02:00
|
|
|
extern bfd_reloc_status_type _bfd_mips_elf32_gprel16_reloc
|
2003-12-08 21:04:34 +01:00
|
|
|
(bfd *, arelent *, asymbol *, void *, asection *, bfd *, char **);
|
bfd/
* elf32-mips.c (elf_mips_howto_table_rel): Replace all uses of
mips_elf_generic_reloc with _bfd_mips_elf_generic_reloc. Use
_bfd_mips_elf_hi16_reloc for R_MIPS_HI16 and R_MIPS_GNU_REL_HI16,
_bfd_mips_elf_lo16_reloc for R_MIPS_LO16 and R_MIPS_GNU_REL_LO16,
and _bfd_mips_elf_got16_reloc for R_MIPS_GOT16. Change rightshift
to 16 for R_MIPS_HI16 and R_MIPS_GNU_REL_HI16.
(mips_elf_generic_reloc, struct mips_hi16, mips_elf_hi16_reloc)
(mips_elf_lo16_reloc, mips_elf_got16_reloc): Delete.
(_bfd_mips_elf32_gprel16_reloc): Remove special case.
(mips_elf_gprel32_reloc, mips32_64bit_reloc): Likewise.
* elf64-mips.c (mips_elf64_howto_table_rel): Replace all uses of
mips_elf_generic_reloc with _bfd_mips_elf_generic_reloc. Use
_bfd_mips_elf_hi16_reloc for R_MIPS_HI16, _bfd_mips_elf_lo16_reloc
for R_MIPS_LO16 and _bfd_mips_elf_got16_reloc for R_MIPS_GOT16.
Change R_MIPS_HI16's rightshift to 16.
(mips_elf64_howto_table_rela): Replace all uses of
mips_elf_generic_reloc with _bfd_mips_elf_generic_reloc.
Use _bfd_mips_elf_generic_reloc for R_MIPS_GOT16 as well.
(mips_elf64_hi16_reloc, mips_elf64_got16_reloc): Delete.
(mips_elf64_shift6_reloc): Remove special case. Use
_bfd_mips_elf_generic_reloc instead of returning bfd_reloc_continue.
* elfn32-mips.c (prev_reloc_section): Delete.
(prev_reloc_address, prev_reloc_addend): Delete.
(elf_mips_howto_table_rel, elf_mips_howto_table_rela): As for
elf64-mips.c
(GET_RELOC_ADDEND, SET_RELOC_ADDEND): Delete.
(mips_elf_generic_reloc, struct mips_hi16, mips_elf_hi16_reloc)
(mips_elf_lo16_reloc, mips_elf_got16_reloc): Delete.
(mips_elf_gprel16_reloc): Delete use of GET_RELOC_ADDEND.
(mips_elf_literal_reloc, mips_elf_gprel32_reloc): Likewise.
(mips16_jump_reloc, mips16_gprel_reloc): Likewise.
(mips_elf_shift6_reloc): Likewise. Delete use of SET_RELOC_ADDEND.
* elfxx-mips.c (_bfd_mips_elf_gprel16_with_gp): Use
_bfd_relocate_contents to install an in-place addend.
(mips_hi16): New structure.
(mips_hi16_list): Moved from elf32-mips.c.
(_bfd_mips_elf_hi16_reloc, _bfd_mips_elf_got16_reloc): New functions.
(_bfd_mips_elf_lo16_reloc, _bfd_mips_elf_generic_reloc): New functions.
(mips_elf_calculate_relocation): Assume addend is unshifted.
(_bfd_mips_elf_relocate_section): Don't apply the howto rightshift
on top of the usual high-part shift. Don't shift the addend right
before calling mips_elf_calculate_relocation.
* elfxx-mips.h (_bfd_mips_elf_hi16_reloc): Declare.
(_bfd_mips_elf_got16_reloc, _bfd_mips_elf_lo16_reloc): Declare.
(_bfd_mips_elf_generic_reloc): Declare.
gas/
* config/tc-mips.c (mips_need_elf_addend_fixup): Delete.
(md_apply_fix3): Remove bfd_install_relocation workarounds.
(tc_gen_reloc): Likewise. Factor handling of pc-relative relocations
and treat fx_addnumber as relative to the relocation address.
gas/testsuite/
* gas/mips/mips16-jalx.d: Use -mabi=o64.
* gas/mips/mips16.d: Likewise.
* gas/mips/elf-rel17.[sd]: New test.
* gas/mips/mips.exp: Run it.
2003-12-18 11:23:10 +01:00
|
|
|
extern bfd_reloc_status_type _bfd_mips_elf_hi16_reloc
|
|
|
|
(bfd *, arelent *, asymbol *, void *, asection *, bfd *, char **);
|
|
|
|
extern bfd_reloc_status_type _bfd_mips_elf_got16_reloc
|
|
|
|
(bfd *, arelent *, asymbol *, void *, asection *, bfd *, char **);
|
|
|
|
extern bfd_reloc_status_type _bfd_mips_elf_lo16_reloc
|
|
|
|
(bfd *, arelent *, asymbol *, void *, asection *, bfd *, char **);
|
|
|
|
extern bfd_reloc_status_type _bfd_mips_elf_generic_reloc
|
|
|
|
(bfd *, arelent *, asymbol *, void *, asection *, bfd *, char **);
|
2002-04-04 09:10:00 +02:00
|
|
|
extern unsigned long _bfd_elf_mips_mach
|
2003-12-08 21:04:34 +01:00
|
|
|
(flagword);
|
2003-06-11 18:22:26 +02:00
|
|
|
extern bfd_boolean _bfd_mips_relax_section
|
2003-12-08 21:04:34 +01:00
|
|
|
(bfd *, asection *, struct bfd_link_info *, bfd_boolean *);
|
2003-06-11 18:22:26 +02:00
|
|
|
extern bfd_vma _bfd_mips_elf_sign_extend
|
2003-12-08 21:04:34 +01:00
|
|
|
(bfd_vma, int);
|
2003-07-25 16:35:56 +02:00
|
|
|
|
2005-05-07 15:22:57 +02:00
|
|
|
extern struct bfd_elf_special_section const *_bfd_mips_elf_special_sections[];
|
2004-02-09 09:04:00 +01:00
|
|
|
#define elf_backend_name_local_section_symbols \
|
|
|
|
_bfd_mips_elf_name_local_section_symbols
|
2003-07-25 16:35:56 +02:00
|
|
|
#define elf_backend_special_sections _bfd_mips_elf_special_sections
|
2005-01-31 21:39:11 +01:00
|
|
|
#define elf_backend_eh_frame_address_size _bfd_mips_elf_eh_frame_address_size
|