diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2001-05-09 13:32:01 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@redhat.com> | 2001-05-09 13:32:01 +0000 |
commit | 96f37af640dc063447f69cccf024cac29d06a1c3 (patch) | |
tree | 58774577778f09986599b795351211cb67d479e9 | |
parent | d7a0d72c953815f254dbaa7745deb63d28e93aec (diff) | |
download | gdb-96f37af640dc063447f69cccf024cac29d06a1c3.zip gdb-96f37af640dc063447f69cccf024cac29d06a1c3.tar.gz gdb-96f37af640dc063447f69cccf024cac29d06a1c3.tar.bz2 |
* config/tc-mn10300.c (md_apply_fix3): Accept PC-relative relocs.
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/config/tc-mn10300.c | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index a441aa8..0116a25 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2001-05-09 Alexandre Oliva <aoliva@redhat.com> + + * config/tc-mn10300.c (md_apply_fix3): Accept PC-relative relocs. + 2001-05-08 Andreas Schwab <schwab@suse.de> * config/tc-m68k.c: Instead of replacing -1 by 64 in assignment to diff --git a/gas/config/tc-mn10300.c b/gas/config/tc-mn10300.c index 59e13c7..5e2ba77 100644 --- a/gas/config/tc-mn10300.c +++ b/gas/config/tc-mn10300.c @@ -1901,14 +1901,17 @@ md_apply_fix3 (fixp, valuep, seg) switch (fixp->fx_r_type) { case BFD_RELOC_8: + case BFD_RELOC_8_PCREL: size = 1; break; case BFD_RELOC_16: + case BFD_RELOC_16_PCREL: size = 2; break; case BFD_RELOC_32: + case BFD_RELOC_32_PCREL: size = 4; break; |