mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-26 19:44:11 +08:00
* cgen.c (gas_cgen_parse_operand): Do not set BSF_RELC flag on
local symbols.
This commit is contained in:
parent
637fd620a7
commit
9ad457344c
@ -1,3 +1,8 @@
|
||||
2012-02-20 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* cgen.c (gas_cgen_parse_operand): Do not set BSF_RELC flag on
|
||||
local symbols.
|
||||
|
||||
2012-02-12 Iain Sandoe <idsandoe@googlemail.com>
|
||||
|
||||
* config/obj-macho.c (obj_mach_o_indirect_symbol): Force promotion of
|
||||
|
@ -483,7 +483,8 @@ gas_cgen_parse_operand (cd, want, strP, opindex, opinfo, resultP, valueP)
|
||||
if (operand && (operand->hw_type == HW_H_SINT))
|
||||
signed_p = 1;
|
||||
|
||||
if (stmp->bsym && (stmp->bsym->section == expr_section))
|
||||
if (stmp->bsym && (stmp->bsym->section == expr_section)
|
||||
&& ! S_IS_LOCAL (stmp))
|
||||
{
|
||||
if (signed_p)
|
||||
stmp->bsym->flags |= BSF_SRELC;
|
||||
|
Loading…
Reference in New Issue
Block a user