aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd-in2.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-09-26 15:01:59 +0000
committerIan Lance Taylor <ian@airs.com>1994-09-26 15:01:59 +0000
commitd80ebaacea492c33ebc4818f5ed3b2534e44ba1e (patch)
tree8c9c6d66aa888ccbb98d208107e457a8436aa4b3 /bfd/bfd-in2.h
parent78751d4fbbbb40d339c17f4e043df143b7d93536 (diff)
downloadfsf-binutils-gdb-d80ebaacea492c33ebc4818f5ed3b2534e44ba1e.zip
fsf-binutils-gdb-d80ebaacea492c33ebc4818f5ed3b2534e44ba1e.tar.gz
fsf-binutils-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.
Diffstat (limited to 'bfd/bfd-in2.h')
-rw-r--r--bfd/bfd-in2.h16
1 files changed, 15 insertions, 1 deletions
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 *