aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-06-08 19:19:23 +0000
committerNick Clifton <nickc@redhat.com>2000-06-08 19:19:23 +0000
commit9bab93495ab3f23df75d48b1a447361731faac5e (patch)
treea93af1c44c8a255e0876482befa3740b1de11e4e /gas/config
parent946efd95b840ea7c0716e3923d7bbd7b7fc342c8 (diff)
downloadgdb-9bab93495ab3f23df75d48b1a447361731faac5e.zip
gdb-9bab93495ab3f23df75d48b1a447361731faac5e.tar.gz
gdb-9bab93495ab3f23df75d48b1a447361731faac5e.tar.bz2
Assign correct reloc value to size 1 constant valued fixes.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-arm.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index 1a9ebc8..fb9edcc 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;