pa.c (pa_output_global_address): Handle LABEL_REF plus CONST_INT for goto.
* config/pa/pa.c (pa_output_global_address): Handle LABEL_REF plus CONST_INT for goto. From-SVN: r224396
This commit is contained in:
parent
91234054f7
commit
3ab604d528
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2015-06-11 John David Anglin <danglin@gcc.gnu.org>
|
||||
|
||||
* config/pa/pa.c (pa_output_global_address): Handle LABEL_REF plus
|
||||
CONST_INT for goto.
|
||||
|
||||
2015-06-11 Aldy Hernandez <aldyh@redhat.com>
|
||||
|
||||
PR bootstrap/66448
|
||||
|
|
|
@ -5455,6 +5455,7 @@ pa_output_global_address (FILE *file, rtx x, int round_constant)
|
|||
|
||||
switch (GET_CODE (XEXP (XEXP (x, 0), 0)))
|
||||
{
|
||||
case LABEL_REF:
|
||||
case SYMBOL_REF:
|
||||
base = XEXP (XEXP (x, 0), 0);
|
||||
output_addr_const (file, base);
|
||||
|
@ -5468,6 +5469,7 @@ pa_output_global_address (FILE *file, rtx x, int round_constant)
|
|||
|
||||
switch (GET_CODE (XEXP (XEXP (x, 0), 1)))
|
||||
{
|
||||
case LABEL_REF:
|
||||
case SYMBOL_REF:
|
||||
base = XEXP (XEXP (x, 0), 1);
|
||||
output_addr_const (file, base);
|
||||
|
|
Loading…
Add table
Reference in a new issue