diff options
author | Nick Clifton <nickc@redhat.com> | 2000-06-09 17:31:07 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2000-06-09 17:31:07 +0000 |
commit | ee122191bc496589beaa0ccec8cc49581ebff0a5 (patch) | |
tree | 7eda4310f1536cc01f2600800b3b4f897b632d63 | |
parent | cb0ef068ed05f48d5c4ea7be4b0bb2eac7bc5c49 (diff) | |
download | gdb-ee122191bc496589beaa0ccec8cc49581ebff0a5.zip gdb-ee122191bc496589beaa0ccec8cc49581ebff0a5.tar.gz gdb-ee122191bc496589beaa0ccec8cc49581ebff0a5.tar.bz2 |
Assign correct reloc value to size 1 fixes.
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/tc-arm.c | 9 |
2 files changed, 10 insertions, 4 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 2dd6941..00424ba 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2000-06-09 Nick Clifton <nickc@cygnus.com> + + * config/tc-arm.c (cons_fix_new_arm): Assign correct reloc value + for size 1 fixes. + 2000-06-01 Scott Bambrough <scottb@netwinder.org> * config/tc-arm.c (do_mrs): Allow SPSR_BIT to be set correctly. diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index aadea26..c6a1979 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -6878,12 +6878,13 @@ 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; |