diff options
author | Ian Lance Taylor <ian@airs.com> | 1994-09-26 15:01:59 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1994-09-26 15:01:59 +0000 |
commit | d80ebaacea492c33ebc4818f5ed3b2534e44ba1e (patch) | |
tree | 8c9c6d66aa888ccbb98d208107e457a8436aa4b3 | |
parent | 78751d4fbbbb40d339c17f4e043df143b7d93536 (diff) | |
download | gdb-d80ebaacea492c33ebc4818f5ed3b2534e44ba1e.zip gdb-d80ebaacea492c33ebc4818f5ed3b2534e44ba1e.tar.gz gdb-d80ebaacea492c33ebc4818f5ed3b2534e44ba1e.tar.bz2 |
* bfd-in.h (bfd_seek): Change declaration to not mark fp const.
* bfd-in2.h: Rebuild.
* libbfd.c (bfd_seek): Don't mark parameters const, to avoid
conflicts with declaration.
-rw-r--r-- | bfd/ChangeLog | 8 | ||||
-rw-r--r-- | bfd/bfd-in2.h | 16 |
2 files changed, 23 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 5fa7daf..eb47893 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,8 +1,16 @@ +Mon Sep 26 11:00:14 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * bfd-in.h (bfd_seek): Change declaration to not mark fp const. + * bfd-in2.h: Rebuild. + * libbfd.c (bfd_seek): Don't mark parameters const, to avoid + conflicts with declaration. + Fri Sep 23 15:15:31 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) * elfcode.h (map_program_segments): Don't abort if we allocated too much space for the program header, only if we allocated too little. + (assign_file_positions_except_relocs): Similar change. Tue Sep 20 13:17:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com) diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index 1d55d4e..74cef22 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -432,7 +432,7 @@ extern bfd_size_type bfd_read PARAMS ((PTR, bfd_size_type size, bfd_size_type nitems, bfd *abfd)); extern bfd_size_type bfd_write PARAMS ((const PTR, bfd_size_type size, bfd_size_type nitems, bfd *abfd)); -extern int bfd_seek PARAMS ((bfd *abfd, const file_ptr fp, int direction)); +extern int bfd_seek PARAMS ((bfd *abfd, file_ptr fp, int direction)); extern long bfd_tell PARAMS ((bfd *abfd)); extern int bfd_flush PARAMS ((bfd *abfd)); extern int bfd_stat PARAMS ((bfd *abfd, struct stat *)); @@ -1025,6 +1025,7 @@ enum bfd_architecture bfd_arch_h8500, /* Hitachi H8/500 */ bfd_arch_sh, /* Hitachi SH */ bfd_arch_alpha, /* Dec Alpha */ + bfd_arch_arm, /* Advanced Risc Machines ARM */ bfd_arch_ns32k, /* National Semiconductors ns32000 */ bfd_arch_last }; @@ -1482,6 +1483,19 @@ bits installed in bits 6 through 29 of instruction. */ probably a 32 bit wide absolute relocation, but the target can choose. It generally does map to one of the other relocation types. */ BFD_RELOC_CTOR, + +/* ARM 26 bit pc-relative branch. The lowest two bits must be zero and are +not stored in the instruction. */ + BFD_RELOC_ARM_PCREL_BRANCH, + +/* These relocs are only used within the ARM assembler. They are not +(at present) written to any object files. */ + BFD_RELOC_ARM_IMMEDIATE, + BFD_RELOC_ARM_OFFSET_IMM, + BFD_RELOC_ARM_SHIFT_IMM, + BFD_RELOC_ARM_SWI, + BFD_RELOC_ARM_MULTI, + BFD_RELOC_ARM_CP_OFF_IMM, BFD_RELOC_UNUSED }; typedef enum bfd_reloc_code_real bfd_reloc_code_real_type; const struct reloc_howto_struct * |