aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1993-02-11 19:47:31 +0000
committerKen Raeburn <raeburn@cygnus>1993-02-11 19:47:31 +0000
commitaae9830745bfcfd078e2e1c6fd2ea58e7558b606 (patch)
tree3e1ca3f6f84872178264e50a145cc5ab5b481345 /include
parent98e1c9e572e9415a3f957be09e9be108b54ff2be (diff)
downloadgdb-aae9830745bfcfd078e2e1c6fd2ea58e7558b606.zip
gdb-aae9830745bfcfd078e2e1c6fd2ea58e7558b606.tar.gz
gdb-aae9830745bfcfd078e2e1c6fd2ea58e7558b606.tar.bz2
update from ralphc's changes
Diffstat (limited to 'include')
-rw-r--r--include/bfd.h19
1 files changed, 18 insertions, 1 deletions
diff --git a/include/bfd.h b/include/bfd.h
index 6969ae1..4782686 100644
--- a/include/bfd.h
+++ b/include/bfd.h
@@ -824,7 +824,7 @@ typedef CONST struct reloc_howto_struct
unsigned int rightshift;
/* The size of the item to be relocated - 0, is one byte, 1 is 2
- bytes, 3 is four bytes. A negative value indicates that the
+ bytes, 2 is four bytes. A negative value indicates that the
result is to be subtracted from the data. */
int size;
@@ -980,6 +980,23 @@ typedef enum bfd_reloc_code_real
/* this one is a.out specific? */
BFD_RELOC_SPARC_BASE22,
+ /* Bits 27..2 of the relocation address shifted right 2 bits;
+ simple reloc otherwise. */
+ BFD_RELOC_MIPS_JMP,
+
+ /* signed 16-bit pc-relative, shifted right 2 bits (e.g. for MIPS) */
+ BFD_RELOC_16_PCREL_S2,
+
+ /* High 16 bits of 32-bit value; simple reloc. */
+ BFD_RELOC_HI16,
+ /* High 16 bits of 32-bit value but the low 16 bits will be sign
+ extended and added to form the final result. If the low 16
+ bits form a negative number, we need to add one to the high value
+ to compensate for the borrow when the low bits are added. */
+ BFD_RELOC_HI16_S,
+ /* Low 16 bits. */
+ BFD_RELOC_LO16,
+
/* this must be the highest numeric value */
BFD_RELOC_UNUSED
} bfd_reloc_code_real_type;