diff options
author | Kazu Hirata <kazu@codesourcery.com> | 2005-06-26 11:42:11 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2005-06-26 11:42:11 +0000 |
commit | 69532b60791a5de013b1a8ceb2daf2b98455c014 (patch) | |
tree | 504ab08f14ef445385bade594534585552be5f1e /gcc/config/arc | |
parent | d9725c411caad2a174d3e3d91929240323661778 (diff) | |
download | gcc-69532b60791a5de013b1a8ceb2daf2b98455c014.zip gcc-69532b60791a5de013b1a8ceb2daf2b98455c014.tar.gz gcc-69532b60791a5de013b1a8ceb2daf2b98455c014.tar.bz2 |
arc-protos.c: Remove the prototype for arc_finalize_pic.
* config/arc/arc-protos.c: Remove the prototype for
arc_finalize_pic.
* config/arc/arc.c (arc_finalize_pic): Remove.
* config/arc/arc.h (FINALIZE_PIC): Likewise.
* config/bfin/bfin.h (FINALIZE_PIC): Likewise.
* config/rs6000/rs6000.h (FINALIZE_PIC): Likewise.
From-SVN: r101334
Diffstat (limited to 'gcc/config/arc')
-rw-r--r-- | gcc/config/arc/arc-protos.h | 1 | ||||
-rw-r--r-- | gcc/config/arc/arc.c | 10 | ||||
-rw-r--r-- | gcc/config/arc/arc.h | 16 |
3 files changed, 0 insertions, 27 deletions
diff --git a/gcc/config/arc/arc-protos.h b/gcc/config/arc/arc-protos.h index 51f15bb..8d081a4 100644 --- a/gcc/config/arc/arc-protos.h +++ b/gcc/config/arc/arc-protos.h @@ -60,7 +60,6 @@ extern unsigned int arc_compute_frame_size (int); extern void arc_save_restore (FILE *, const char *, unsigned int, unsigned int, const char *); extern int arc_delay_slots_for_epilogue (void); -extern void arc_finalize_pic (void); extern void arc_ccfsm_at_label (const char *, int); extern int arc_ccfsm_branch_deleted_p (void); extern void arc_ccfsm_record_branch_deleted (void); diff --git a/gcc/config/arc/arc.c b/gcc/config/arc/arc.c index 350a6ef..2adf01d 100644 --- a/gcc/config/arc/arc.c +++ b/gcc/config/arc/arc.c @@ -1443,16 +1443,6 @@ arc_eligible_for_epilogue_delay (rtx trial, int slot) return 0; } -/* PIC */ - -/* Emit special PIC prologues and epilogues. */ - -void -arc_finalize_pic (void) -{ - /* nothing to do */ -} - /* Return true if OP is a shift operator. */ int diff --git a/gcc/config/arc/arc.h b/gcc/config/arc/arc.h index f4e4648..696b203 100644 --- a/gcc/config/arc/arc.h +++ b/gcc/config/arc/arc.h @@ -900,22 +900,6 @@ extern const char *arc_text_section, *arc_data_section, *arc_rodata_section; /* This register is call-saved on the ARC. */ /*#define PIC_OFFSET_TABLE_REG_CALL_CLOBBERED*/ -/* By generating position-independent code, when two different programs (A - and B) share a common library (libC.a), the text of the library can be - shared whether or not the library is linked at the same address for both - programs. In some of these environments, position-independent code - requires not only the use of different addressing modes, but also - special code to enable the use of these addressing modes. - - The FINALIZE_PIC macro serves as a hook to emit these special - codes once the function is being compiled into assembly code, but not - before. (It is not done before, because in the case of compiling an - inline function, it would lead to multiple PIC prologues being - included in functions which used inline functions and were compiled to - assembly language.) */ - -#define FINALIZE_PIC arc_finalize_pic () - /* A C expression that is nonzero if X is a legitimate immediate operand on the target machine when generating position independent code. You can assume that X satisfies CONSTANT_P, so you need not |