diff options
author | John David Anglin <danglin@gcc.gnu.org> | 2014-08-30 15:24:59 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2014-08-30 15:24:59 +0000 |
commit | ef719901742ad9ad85130e590c9d40a47794866c (patch) | |
tree | 2077fffd62bb40194e6e14b96d615e3a11793d49 /gcc | |
parent | 79c702321e4a03f1b999f526b17d3c35d5a49907 (diff) | |
download | gcc-ef719901742ad9ad85130e590c9d40a47794866c.zip gcc-ef719901742ad9ad85130e590c9d40a47794866c.tar.gz gcc-ef719901742ad9ad85130e590c9d40a47794866c.tar.bz2 |
pa.c (pa_assemble_integer): Don't add PLABEL relocation prefix to function labels when...
* config/pa/pa.c (pa_assemble_integer): Don't add PLABEL relocation
prefix to function labels when generating fast indirect calls.
From-SVN: r214754
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/pa/pa.c | 7 |
2 files changed, 11 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ff51287..6ae4b42 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-08-30 John David Anglin <danglin@gcc.gnu.org> + + * config/pa/pa.c (pa_assemble_integer): Don't add PLABEL relocation + prefix to function labels when generating fast indirect calls. + 2014-08-30 David Malcolm <dmalcolm@redhat.com> PR bootstrap/62304 diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index 0ae6bd3..c94e578 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -3217,7 +3217,12 @@ pa_assemble_integer (rtx x, unsigned int size, int aligned_p) && aligned_p && function_label_operand (x, VOIDmode)) { - fputs (size == 8? "\t.dword\tP%" : "\t.word\tP%", asm_out_file); + fputs (size == 8? "\t.dword\t" : "\t.word\t", asm_out_file); + + /* We don't want an OPD when generating fast indirect calls. */ + if (!TARGET_FAST_INDIRECT_CALLS) + fputs ("P%", asm_out_file); + output_addr_const (asm_out_file, x); fputc ('\n', asm_out_file); return true; |