From 285a08ad735d79928e38c4d70e697203a71cb357 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 1 Apr 1993 01:52:47 +0000 Subject: [PATCH] * bfd.h: Updated for BFD_RELOC_MIPS_GPREL and bfd_[gs]et_gp_size prototypes. --- include/ChangeLog | 5 +++++ include/bfd.h | 9 +++++++++ 2 files changed, 14 insertions(+) diff --git a/include/ChangeLog b/include/ChangeLog index ba265da..2954553 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 51f3b39..b862721 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)) -- 2.7.4