diff options
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-hppa.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c index 82af7a0..f87710f 100644 --- a/gas/config/tc-hppa.c +++ b/gas/config/tc-hppa.c @@ -4489,7 +4489,10 @@ pa_equ (reg) if (label_symbol) { symbol = label_symbol->lss_label; - S_SET_VALUE (symbol, pa_parse_number (&input_line_pointer, 0)); + if (reg) + S_SET_VALUE (symbol, pa_parse_number (&input_line_pointer, 0)); + else + S_SET_VALUE (symbol, (unsigned int) get_absolute_expression ()); S_SET_SEGMENT (symbol, &bfd_abs_section); } else |