From 20ab764e38ea91a83aa93a6ea057d23675d8527c Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 15 Jan 1996 22:37:16 +0000 Subject: * aoutx.h (howto_table_ext): Fix RELOC_BASE10 and RELOC_BASE22 entries. --- bfd/ChangeLog | 3 +++ bfd/aoutx.h | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'bfd') 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 + * 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), -- cgit v1.1