diff options
author | Nick Clifton <nickc@redhat.com> | 2012-02-20 10:25:01 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2012-02-20 10:25:01 +0000 |
commit | b69fb9bd8ea598a09e023013c972f72d2823a0aa (patch) | |
tree | e7e8bf99f4caf114b0e2c6b0ba7eaab02082becc /gas/cgen.c | |
parent | 6b588a28b1a01e908c07540b1b8138e4c33e8ade (diff) | |
download | binutils-redhat-b69fb9bd8ea598a09e023013c972f72d2823a0aa.tar.gz |
* 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
diff --git a/gas/cgen.c b/gas/cgen.c index d3976d13b9..9697ef6ec8 100644 --- a/gas/cgen.c +++ b/gas/cgen.c @@ -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; |