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 /gas/config | |
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.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-mn10300.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; |