Revert another bogosity introduced in 2.9.1. ELF_LITERAL relocs, such as
those emitted for references to __sF, cannot have addends, so we *must* have an extra lda rN,addend(rN) insn after the reloc to offset into the memory area. Don't try to make `all' cases use addends.
This commit is contained in:
parent
3bf59302e9
commit
f87e85338c
4
gnu/dist/gas/config/tc-alpha.c
vendored
4
gnu/dist/gas/config/tc-alpha.c
vendored
@ -2275,7 +2275,9 @@ load_expression (targreg, exp, pbasereg, poffset)
|
||||
/* XXX: Disable this .got minimizing optimization so that we can get
|
||||
better instruction offset knowledge in the compiler. This happens
|
||||
very infrequently anyway. */
|
||||
if (1 || !range_signed_32 (addend)
|
||||
/* XXX: This causes addends to be added to ELF_LITERALs, which
|
||||
do not yet work. Reverted for NetBSD. */
|
||||
if (!range_signed_32 (addend)
|
||||
&& (alpha_noat_on || targreg == AXP_REG_AT))
|
||||
{
|
||||
newtok[1] = *exp;
|
||||
|
Loading…
x
Reference in New Issue
Block a user