diff options
author | Ian Lance Taylor <ian@airs.com> | 1993-04-01 01:52:47 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1993-04-01 01:52:47 +0000 |
commit | 285a08ad735d79928e38c4d70e697203a71cb357 (patch) | |
tree | dc6fd86e4b9ba38b4e5cf603098c4023de96caf5 /include | |
parent | 2d8e0f624d2802db0daa231789f0ff26bb29f497 (diff) | |
download | gdb-285a08ad735d79928e38c4d70e697203a71cb357.zip gdb-285a08ad735d79928e38c4d70e697203a71cb357.tar.gz gdb-285a08ad735d79928e38c4d70e697203a71cb357.tar.bz2 |
* bfd.h: Updated for BFD_RELOC_MIPS_GPREL and bfd_[gs]et_gp_size
prototypes.
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 5 | ||||
-rw-r--r-- | include/bfd.h | 9 |
2 files changed, 14 insertions, 0 deletions
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)) |