diff options
author | Jeffrey A Law <law@cygnus.com> | 1999-06-28 04:39:42 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1999-06-27 22:39:42 -0600 |
commit | 8945f887ed611d92d71d3d194f58c364ff9abfb9 (patch) | |
tree | 6c77a1b392b9b5fbd1f7e95ab2a836d7600489fb /gcc | |
parent | 9839cd625197ee045786870e35036d14e5b92056 (diff) | |
download | gcc-8945f887ed611d92d71d3d194f58c364ff9abfb9.zip gcc-8945f887ed611d92d71d3d194f58c364ff9abfb9.tar.gz gcc-8945f887ed611d92d71d3d194f58c364ff9abfb9.tar.bz2 |
m68k.h (FINALIZE_PIC): Delete.
* m68k.h (FINALIZE_PIC): Delete.
* m68k.c (finalize_pic): Delete.
From-SVN: r27807
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/m68k/m68k.c | 18 | ||||
-rw-r--r-- | gcc/config/m68k/m68k.h | 5 |
3 files changed, 5 insertions, 23 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index dedbfc3..d3aca48 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Mon Jun 28 05:28:12 1999 Jeffrey A Law (law@cygnus.com) + + * m68k.h (FINALIZE_PIC): Delete. + * m68k.c (finalize_pic): Delete. + Mon Jun 28 05:16:35 1999 Richard Henderson <rth@cygnus.com> * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles diff --git a/gcc/config/m68k/m68k.c b/gcc/config/m68k/m68k.c index 2d2028b..9d1a37f 100644 --- a/gcc/config/m68k/m68k.c +++ b/gcc/config/m68k/m68k.c @@ -127,24 +127,6 @@ override_options () m68k_align_funcs = def_align; } -/* Emit a (use pic_offset_table_rtx) if we used PIC relocation in the - function at any time during the compilation process. In the future - we should try and eliminate the USE if we can easily determine that - all PIC references were deleted from the current function. That would - save an address register */ - -void -finalize_pic () -{ - if (flag_pic && current_function_uses_pic_offset_table) - { - rtx insn = gen_rtx_USE (VOIDmode, pic_offset_table_rtx); - emit_insn_after (insn, get_insns ()); - emit_insn (insn); - } -} - - /* This function generates the assembly code for function entry. STREAM is a stdio stream to output the code to. SIZE is an int: how many units of temporary storage to allocate. diff --git a/gcc/config/m68k/m68k.h b/gcc/config/m68k/m68k.h index aed42c5..1ec0850 100644 --- a/gcc/config/m68k/m68k.h +++ b/gcc/config/m68k/m68k.h @@ -356,11 +356,6 @@ extern int target_flags; /* This defines the register which is used to hold the offset table for PIC. */ #define PIC_OFFSET_TABLE_REGNUM 13 -/* Used to output a (use pic_offset_table_rtx) so that we - always save/restore a5 in functions that use PIC relocation - at *any* time during the compilation process. */ -#define FINALIZE_PIC finalize_pic() - #ifndef SUPPORT_SUN_FPA /* 1 for registers that have pervasive standard uses |