From: Ian Lance Taylor Date: Thu, 1 Apr 1993 01:52:47 +0000 (+0000) Subject: * bfd.h: Updated for BFD_RELOC_MIPS_GPREL and bfd_[gs]et_gp_size X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=285a08ad735d79928e38c4d70e697203a71cb357;p=binutils-gdb.git * bfd.h: Updated for BFD_RELOC_MIPS_GPREL and bfd_[gs]et_gp_size prototypes. --- diff --git a/include/ChangeLog b/include/ChangeLog index ba265dad5e8..29545530327 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,8 @@ +Wed Mar 31 17:51:42 1993 Ian Lance Taylor (ian@cygnus.com) + + * bfd.h: Updated for BFD_RELOC_MIPS_GPREL and bfd_[gs]et_gp_size + prototypes. + Wed Mar 31 16:35:12 1993 Stu Grossman (grossman@cygnus.com) * dis-asm.h: (disassemble_info): Fix typo in prototype of diff --git a/include/bfd.h b/include/bfd.h index 51f3b39eeb3..b862721e4ec 100644 --- a/include/bfd.h +++ b/include/bfd.h @@ -1010,6 +1010,9 @@ typedef enum bfd_reloc_code_real /* Low 16 bits. */ BFD_RELOC_LO16, + /* 16 bit relocation relative to the global pointer. */ + BFD_RELOC_MIPS_GPREL, + /* this must be the highest numeric value */ BFD_RELOC_UNUSED } bfd_reloc_code_real_type; @@ -1313,6 +1316,12 @@ bfd_get_mtime PARAMS ((bfd *)); long bfd_get_size PARAMS ((bfd *)); +int +bfd_get_gp_size PARAMS ((bfd *)); + +void +bfd_set_gp_size PARAMS ((bfd *, int)); + #define bfd_sizeof_headers(abfd, reloc) \ BFD_SEND (abfd, _bfd_sizeof_headers, (abfd, reloc))