From: Nick Clifton Date: Thu, 8 Jun 2000 19:19:23 +0000 (+0000) Subject: Assign correct reloc value to size 1 constant valued fixes. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9bab93495ab3f23df75d48b1a447361731faac5e;p=binutils-gdb.git Assign correct reloc value to size 1 constant valued fixes. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index e2fc6cda85b..c86531e1259 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2000-06-08 Nick Clifton + + * config/tc-arm.c (cons_fix_new_arm): Assign correct reloc value + for size 1 fixes. + 2000-06-08 David O'Brien * configure.in (VERSION): Update to show this is the CVS mainline. diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index 1a9ebc80206..fb9edcc4d9b 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -6897,13 +6897,14 @@ cons_fix_new_arm (frag, where, size, exp) { bfd_reloc_code_real_type type; int pcrel = 0; - - /* Pick a reloc ... - * - * @@ Should look at CPU word size. - */ + + /* Pick a reloc. + FIXME: @@ Should look at CPU word size. */ switch (size) { + case 1: + type = BFD_RELOC_8; + break; case 2: type = BFD_RELOC_16; break;