diff options
author | John David Anglin <dave.anglin@nrc-cnrc.gc.ca> | 2007-03-19 01:48:34 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2007-03-19 01:48:34 +0000 |
commit | ecc418c4f94915b0b8bfb57e8074c71fc1c05e3f (patch) | |
tree | a292a2aa67b028bc943a35b5002c565bf59865f1 | |
parent | fa3b3d5e781f40443123de372d3dd40100b83c26 (diff) | |
download | gcc-ecc418c4f94915b0b8bfb57e8074c71fc1c05e3f.zip gcc-ecc418c4f94915b0b8bfb57e8074c71fc1c05e3f.tar.gz gcc-ecc418c4f94915b0b8bfb57e8074c71fc1c05e3f.tar.bz2 |
pa.c (output_deferred_plabels, [...]): Cleanup formatting of targetm calls.
* pa.c (output_deferred_plabels, output_bb, output_millicode_call,
attr_length_call, output_call, output_indirect_call): Cleanup
formatting of targetm calls.
From-SVN: r123048
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/pa/pa.c | 28 |
2 files changed, 20 insertions, 14 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 49ca357..9702ebb 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 759d1e2..a3bf38c 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 |