aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-01-15 22:37:16 +0000
committerIan Lance Taylor <ian@airs.com>1996-01-15 22:37:16 +0000
commit20ab764e38ea91a83aa93a6ea057d23675d8527c (patch)
treeddacb8da8e2473ab98ea7776322890b3081d20e5 /bfd
parent0a4ffa2dc4c7b387ea44666a2093960c22b9a7d1 (diff)
downloadgdb-20ab764e38ea91a83aa93a6ea057d23675d8527c.zip
gdb-20ab764e38ea91a83aa93a6ea057d23675d8527c.tar.gz
gdb-20ab764e38ea91a83aa93a6ea057d23675d8527c.tar.bz2
* aoutx.h (howto_table_ext): Fix RELOC_BASE10 and RELOC_BASE22
entries.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog3
-rw-r--r--bfd/aoutx.h4
2 files changed, 5 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index d24841f..9f2965e 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,8 @@
Mon Jan 15 14:29:44 1996 Ian Lance Taylor <ian@cygnus.com>
+ * aoutx.h (howto_table_ext): Fix RELOC_BASE10 and RELOC_BASE22
+ entries.
+
* sunos.c (sunos_scan_ext_relocs): Don't fail assert if
info->shared.
diff --git a/bfd/aoutx.h b/bfd/aoutx.h
index f403227..6ea54d1 100644
--- a/bfd/aoutx.h
+++ b/bfd/aoutx.h
@@ -194,9 +194,9 @@ reloc_howto_type howto_table_ext[] =
HOWTO(RELOC_LO10, 0, 2, 10, false, 0, complain_overflow_dont,0,"LO10", false, 0,0x000003ff, false),
HOWTO(RELOC_SFA_BASE,0, 2, 32, false, 0, complain_overflow_bitfield,0,"SFA_BASE", false, 0,0xffffffff, false),
HOWTO(RELOC_SFA_OFF13,0,2, 32, false, 0, complain_overflow_bitfield,0,"SFA_OFF13",false, 0,0xffffffff, false),
- HOWTO(RELOC_BASE10, 0, 2, 16, false, 0, complain_overflow_bitfield,0,"BASE10", false, 0,0x0000ffff, false),
+ HOWTO(RELOC_BASE10, 0, 2, 10, false, 0, complain_overflow_dont,0,"BASE10", false, 0,0x000003ff, false),
HOWTO(RELOC_BASE13, 0, 2, 13, false, 0, complain_overflow_bitfield,0,"BASE13", false, 0,0x00001fff, false),
- HOWTO(RELOC_BASE22, 0, 2, 0, false, 0, complain_overflow_bitfield,0,"BASE22", false, 0,0x00000000, false),
+ HOWTO(RELOC_BASE22, 10, 2, 22, false, 0, complain_overflow_bitfield,0,"BASE22", false, 0,0x003fffff, false),
HOWTO(RELOC_PC10, 0, 2, 10, true, 0, complain_overflow_dont,0,"PC10", false, 0,0x000003ff, true),
HOWTO(RELOC_PC22, 10, 2, 22, true, 0, complain_overflow_signed,0,"PC22", false, 0,0x003fffff, true),
HOWTO(RELOC_JMP_TBL,2, 2, 30, true, 0, complain_overflow_signed,0,"JMP_TBL", false, 0,0x3fffffff, false),