summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>2007-03-19 01:48:34 +0000
committerdanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>2007-03-19 01:48:34 +0000
commitc5559ed4996495a1fc1fac79b60953f469bc56c8 (patch)
treea292a2aa67b028bc943a35b5002c565bf59865f1
parent251e820e805d292c4c8f1b223c5c61ee902e9bcf (diff)
downloadppe42-gcc-c5559ed4996495a1fc1fac79b60953f469bc56c8.tar.gz
ppe42-gcc-c5559ed4996495a1fc1fac79b60953f469bc56c8.zip
* pa.c (output_deferred_plabels, output_bb, output_millicode_call,
attr_length_call, output_call, output_indirect_call): Cleanup formatting of targetm calls. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123048 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/pa/pa.c28
2 files changed, 20 insertions, 14 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 49ca35731d6..9702ebb242e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2007-03-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ * pa.c (output_deferred_plabels, output_bb, output_millicode_call,
+ attr_length_call, output_call, output_indirect_call): Cleanup
+ formatting of targetm calls.
+
2007-03-19 Hans-Peter Nilsson <hp@axis.com>
* config/cris/cris.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define to 1.
diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c
index 759d1e20a9e..a3bf38c0b43 100644
--- a/gcc/config/pa/pa.c
+++ b/gcc/config/pa/pa.c
@@ -5336,7 +5336,7 @@ output_deferred_plabels (void)
/* Now output the deferred plabels. */
for (i = 0; i < n_deferred_plabels; i++)
{
- (*targetm.asm_out.internal_label) (asm_out_file, "L",
+ targetm.asm_out.internal_label (asm_out_file, "L",
CODE_LABEL_NUMBER (deferred_plabels[i].internal_label));
assemble_integer (deferred_plabels[i].symbol,
TARGET_64BIT ? 8 : 4, TARGET_64BIT ? 64 : 32, 1);
@@ -6255,8 +6255,8 @@ output_lbranch (rtx dest, rtx insn, int xdelay)
{
xoperands[1] = gen_label_rtx ();
output_asm_insn ("addil L'%l0-%l1,%%r1", xoperands);
- (*targetm.asm_out.internal_label) (asm_out_file, "L",
- CODE_LABEL_NUMBER (xoperands[1]));
+ targetm.asm_out.internal_label (asm_out_file, "L",
+ CODE_LABEL_NUMBER (xoperands[1]));
output_asm_insn ("ldo R'%l0-%l1(%%r1),%%r1", xoperands);
}
else
@@ -7115,7 +7115,7 @@ output_millicode_call (rtx insn, rtx call_dest)
{
xoperands[1] = gen_label_rtx ();
output_asm_insn ("addil L'%0-%l1,%%r1", xoperands);
- (*targetm.asm_out.internal_label) (asm_out_file, "L",
+ targetm.asm_out.internal_label (asm_out_file, "L",
CODE_LABEL_NUMBER (xoperands[1]));
output_asm_insn ("ldo R'%0-%l1(%%r1),%%r1", xoperands);
}
@@ -7159,7 +7159,7 @@ output_millicode_call (rtx insn, rtx call_dest)
millicode symbol but not an arbitrary external
symbol when generating SOM output. */
xoperands[1] = gen_label_rtx ();
- (*targetm.asm_out.internal_label) (asm_out_file, "L",
+ targetm.asm_out.internal_label (asm_out_file, "L",
CODE_LABEL_NUMBER (xoperands[1]));
output_asm_insn ("addil L'%0-%l1,%%r1", xoperands);
output_asm_insn ("ldo R'%0-%l1(%%r1),%%r1", xoperands);
@@ -7198,8 +7198,8 @@ output_millicode_call (rtx insn, rtx call_dest)
{
xoperands[1] = gen_label_rtx ();
output_asm_insn ("ldo %0-%1(%2),%2", xoperands);
- (*targetm.asm_out.internal_label) (asm_out_file, "L",
- CODE_LABEL_NUMBER (xoperands[1]));
+ targetm.asm_out.internal_label (asm_out_file, "L",
+ CODE_LABEL_NUMBER (xoperands[1]));
}
else
/* ??? This branch may not reach its target. */
@@ -7257,7 +7257,7 @@ attr_length_call (rtx insn, int sibcall)
call_dest = XEXP (XEXP (XEXP (XVECEXP (pat, 0, 0), 1), 0), 0);
call_decl = SYMBOL_REF_DECL (call_dest);
- local_call = call_decl && (*targetm.binds_local_p) (call_decl);
+ local_call = call_decl && targetm.binds_local_p (call_decl);
/* pc-relative branch. */
if (!TARGET_LONG_CALLS
@@ -7321,7 +7321,7 @@ output_call (rtx insn, rtx call_dest, int sibcall)
int delay_slot_filled = 0;
int seq_length = dbr_sequence_length ();
tree call_decl = SYMBOL_REF_DECL (call_dest);
- int local_call = call_decl && (*targetm.binds_local_p) (call_decl);
+ int local_call = call_decl && targetm.binds_local_p (call_decl);
rtx xoperands[2];
xoperands[0] = call_dest;
@@ -7445,7 +7445,7 @@ output_call (rtx insn, rtx call_dest, int sibcall)
xoperands[1] = gen_label_rtx ();
output_asm_insn ("{bl|b,l} .+8,%%r1", xoperands);
output_asm_insn ("addil L'%0-%l1,%%r1", xoperands);
- (*targetm.asm_out.internal_label) (asm_out_file, "L",
+ targetm.asm_out.internal_label (asm_out_file, "L",
CODE_LABEL_NUMBER (xoperands[1]));
output_asm_insn ("ldo R'%0-%l1(%%r1),%%r1", xoperands);
}
@@ -7582,8 +7582,8 @@ output_call (rtx insn, rtx call_dest, int sibcall)
{
xoperands[1] = gen_label_rtx ();
output_asm_insn ("ldo %0-%1(%%r2),%%r2", xoperands);
- (*targetm.asm_out.internal_label) (asm_out_file, "L",
- CODE_LABEL_NUMBER (xoperands[1]));
+ targetm.asm_out.internal_label (asm_out_file, "L",
+ CODE_LABEL_NUMBER (xoperands[1]));
}
else
output_asm_insn ("nop\n\tb,n %0", xoperands);
@@ -7686,8 +7686,8 @@ output_indirect_call (rtx insn, rtx call_dest)
{
xoperands[0] = gen_label_rtx ();
output_asm_insn ("addil L'$$dyncall-%0,%%r1", xoperands);
- (*targetm.asm_out.internal_label) (asm_out_file, "L",
- CODE_LABEL_NUMBER (xoperands[0]));
+ targetm.asm_out.internal_label (asm_out_file, "L",
+ CODE_LABEL_NUMBER (xoperands[0]));
output_asm_insn ("ldo R'$$dyncall-%0(%%r1),%%r1", xoperands);
}
else
OpenPOWER on IntegriCloud