* config/tc-hppa.c (pa_equ): Handle both .reg and .equ correctly.

This commit is contained in:
Jeff Law 1994-03-17 00:49:30 +00:00
parent ae6710bc98
commit c38c91dadb
2 changed files with 7 additions and 2 deletions

View File

@ -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)

View File

@ -4489,7 +4489,10 @@ pa_equ (reg)
if (label_symbol)
{
symbol = label_symbol->lss_label;
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