diff options
author | Nick Clifton <nickc@redhat.com> | 2012-02-20 10:25:02 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2012-02-20 10:25:02 +0000 |
commit | 9ad457344c2b2632e1990f46e49c08d2261dddad (patch) | |
tree | ff48ae0889bb9b066c75e7ed2fea2e5a96b21ae1 /gas/cgen.c | |
parent | 637fd620a74a22d59a4e10efea00a9d2af16b2c7 (diff) | |
download | gdb-9ad457344c2b2632e1990f46e49c08d2261dddad.zip gdb-9ad457344c2b2632e1990f46e49c08d2261dddad.tar.gz gdb-9ad457344c2b2632e1990f46e49c08d2261dddad.tar.bz2 |
* cgen.c (gas_cgen_parse_operand): Do not set BSF_RELC flag on
local symbols.
Diffstat (limited to 'gas/cgen.c')
-rw-r--r-- | gas/cgen.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |