diff options
author | Alan Modra <amodra@gmail.com> | 2018-10-22 20:30:40 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2018-10-22 22:32:43 +1030 |
commit | e1748c54a200f45d6e88c232ca97171be23ba0b0 (patch) | |
tree | e91b79aeeb62fd80bf59d184fd68a960fbd5a64b /gas/config | |
parent | 38cf168be5816b098cc05abffc482fc905db86a2 (diff) | |
download | gdb-e1748c54a200f45d6e88c232ca97171be23ba0b0.zip gdb-e1748c54a200f45d6e88c232ca97171be23ba0b0.tar.gz gdb-e1748c54a200f45d6e88c232ca97171be23ba0b0.tar.bz2 |
Apply alpha BFD_RELOC_8 fixups
* config/tc-alpha.c (md_apply_fix): Handle BFD_RELOC_8 for fixups
without a symbol.
* testsuite/gas/all/gas.exp: Don't xfail forward test here..
* testsuite/gas/all/forward.d: ..do so here, removing alpha.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-alpha.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gas/config/tc-alpha.c b/gas/config/tc-alpha.c index 7fff858..7791811 100644 --- a/gas/config/tc-alpha.c +++ b/gas/config/tc-alpha.c @@ -5769,6 +5769,12 @@ md_apply_fix (fixS *fixP, valueT * valP, segT seg) md_number_to_chars (fixpos, value, 2); break; + case BFD_RELOC_8: + if (fixP->fx_pcrel) + fixP->fx_r_type = BFD_RELOC_8_PCREL; + size = 1; + goto do_reloc_xx; + case BFD_RELOC_16: if (fixP->fx_pcrel) fixP->fx_r_type = BFD_RELOC_16_PCREL; |