diff options
author | Jeff Law <law@redhat.com> | 1994-03-17 00:49:30 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1994-03-17 00:49:30 +0000 |
commit | c38c91dadb370654e8d87ebe20d6778ffa2e2ff2 (patch) | |
tree | b19b89fa199d9803dd70831ae13c4f70e6113dd6 /gas | |
parent | ae6710bc9822e7abe7a51f594e6d05ecc5f3578b (diff) | |
download | gdb-c38c91dadb370654e8d87ebe20d6778ffa2e2ff2.zip gdb-c38c91dadb370654e8d87ebe20d6778ffa2e2ff2.tar.gz gdb-c38c91dadb370654e8d87ebe20d6778ffa2e2ff2.tar.bz2 |
* config/tc-hppa.c (pa_equ): Handle both .reg and .equ correctly.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/config/tc-hppa.c | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 220e741..c87f189 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -15,10 +15,12 @@ Wed Mar 16 17:11:37 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) Wed Mar 16 11:54:12 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + * config/tc-hppa.c (pa_equ): Handle both .reg and .equ correctly. + * config/tc-hppa.c (pa_callinfo): Accept "millicode" as an argument to a .callinfo directive. Don't loop forever on errors. - * config/tc-hppa.c (pa_reg): Use pa_parse_number so that we can + * config/tc-hppa.c (pa_equ): Use pa_parse_number so that we can use pre-defined registers as arguments. Mon Mar 14 14:29:45 1994 Ken Raeburn (raeburn@cujo.cygnus.com) 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 |