diff options
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; |