OpenCores
URL https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [bfd/] [elfxx-mips.h] - Diff between revs 14 and 161

Show entire file | Details | Blame | View Log

Rev 14 Rev 161
Line 80... Line 80...
extern void _bfd_mips_elf_copy_indirect_symbol
extern void _bfd_mips_elf_copy_indirect_symbol
  (struct bfd_link_info *, struct elf_link_hash_entry *,
  (struct bfd_link_info *, struct elf_link_hash_entry *,
   struct elf_link_hash_entry *);
   struct elf_link_hash_entry *);
extern bfd_boolean _bfd_mips_elf_ignore_discarded_relocs
extern bfd_boolean _bfd_mips_elf_ignore_discarded_relocs
  (asection *);
  (asection *);
 
extern bfd_boolean _bfd_mips_elf_is_target_special_symbol
 
  (bfd *abfd, asymbol *sym);
extern bfd_boolean _bfd_mips_elf_find_nearest_line
extern bfd_boolean _bfd_mips_elf_find_nearest_line
  (bfd *, asection *, asymbol **, bfd_vma, const char **,
  (bfd *, asection *, asymbol **, bfd_vma, const char **,
   const char **, unsigned int *);
   const char **, unsigned int *);
extern bfd_boolean _bfd_mips_elf_find_inliner_info
extern bfd_boolean _bfd_mips_elf_find_inliner_info
  (bfd *, const char **, const char **, unsigned int *);
  (bfd *, const char **, const char **, unsigned int *);
extern bfd_boolean _bfd_mips_elf_set_section_contents
extern bfd_boolean _bfd_mips_elf_set_section_contents
  (bfd *, asection *, const void *, file_ptr, bfd_size_type);
  (bfd *, asection *, const void *, file_ptr, bfd_size_type);
extern bfd_byte *_bfd_elf_mips_get_relocated_section_contents
extern bfd_byte *_bfd_elf_mips_get_relocated_section_contents
  (bfd *, struct bfd_link_info *, struct bfd_link_order *,
  (bfd *, struct bfd_link_info *, struct bfd_link_order *,
   bfd_byte *, bfd_boolean, asymbol **);
   bfd_byte *, bfd_boolean, asymbol **);
 
extern bfd_boolean _bfd_mips_elf_relax_section
 
  (bfd *abfd, asection *sec, struct bfd_link_info *link_info,
 
   bfd_boolean *again);
extern struct bfd_link_hash_table *_bfd_mips_elf_link_hash_table_create
extern struct bfd_link_hash_table *_bfd_mips_elf_link_hash_table_create
  (bfd *);
  (bfd *);
extern struct bfd_link_hash_table *_bfd_mips_vxworks_link_hash_table_create
extern struct bfd_link_hash_table *_bfd_mips_vxworks_link_hash_table_create
  (bfd *);
  (bfd *);
extern bfd_boolean _bfd_mips_elf_final_link
extern bfd_boolean _bfd_mips_elf_final_link
Line 109... Line 114...
extern bfd_boolean _bfd_mips_elf_write_section
extern bfd_boolean _bfd_mips_elf_write_section
  (bfd *, struct bfd_link_info *, asection *, bfd_byte *);
  (bfd *, struct bfd_link_info *, asection *, bfd_byte *);
 
 
extern bfd_boolean _bfd_mips_elf_read_ecoff_info
extern bfd_boolean _bfd_mips_elf_read_ecoff_info
  (bfd *, asection *, struct ecoff_debug_info *);
  (bfd *, asection *, struct ecoff_debug_info *);
extern void _bfd_mips16_elf_reloc_unshuffle
extern void _bfd_mips_elf_reloc_unshuffle
  (bfd *, int, bfd_boolean, bfd_byte *);
  (bfd *, int, bfd_boolean, bfd_byte *);
extern void _bfd_mips16_elf_reloc_shuffle
extern void _bfd_mips_elf_reloc_shuffle
  (bfd *, int, bfd_boolean, bfd_byte *);
  (bfd *, int, bfd_boolean, bfd_byte *);
extern bfd_reloc_status_type _bfd_mips_elf_gprel16_with_gp
extern bfd_reloc_status_type _bfd_mips_elf_gprel16_with_gp
  (bfd *, asymbol *, arelent *, asection *, bfd_boolean, void *, bfd_vma);
  (bfd *, asymbol *, arelent *, asection *, bfd_boolean, void *, bfd_vma);
extern bfd_reloc_status_type _bfd_mips_elf32_gprel16_reloc
extern bfd_reloc_status_type _bfd_mips_elf32_gprel16_reloc
  (bfd *, arelent *, asymbol *, void *, asection *, bfd *, char **);
  (bfd *, arelent *, asymbol *, void *, asection *, bfd *, char **);
Line 153... Line 158...
extern bfd_boolean _bfd_mips_elf_common_definition (Elf_Internal_Sym *);
extern bfd_boolean _bfd_mips_elf_common_definition (Elf_Internal_Sym *);
 
 
static inline bfd_boolean
static inline bfd_boolean
gprel16_reloc_p (unsigned int r_type)
gprel16_reloc_p (unsigned int r_type)
{
{
  return r_type == R_MIPS_GPREL16 || r_type == R_MIPS16_GPREL;
  return (r_type == R_MIPS_GPREL16
 
          || r_type == R_MIPS16_GPREL
 
          || r_type == R_MICROMIPS_GPREL16
 
          || r_type == R_MICROMIPS_GPREL7_S2);
 
}
 
 
 
static inline bfd_boolean
 
literal_reloc_p (int r_type)
 
{
 
  return r_type == R_MIPS_LITERAL || r_type == R_MICROMIPS_LITERAL;
}
}
 
 
#define elf_backend_common_definition   _bfd_mips_elf_common_definition
#define elf_backend_common_definition   _bfd_mips_elf_common_definition
#define elf_backend_name_local_section_symbols \
#define elf_backend_name_local_section_symbols \
  _bfd_mips_elf_name_local_section_symbols
  _bfd_mips_elf_name_local_section_symbols

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.