aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2005-06-26 11:42:11 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2005-06-26 11:42:11 +0000
commit69532b60791a5de013b1a8ceb2daf2b98455c014 (patch)
tree504ab08f14ef445385bade594534585552be5f1e /gcc
parentd9725c411caad2a174d3e3d91929240323661778 (diff)
downloadgcc-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')
-rw-r--r--gcc/ChangeLog9
-rw-r--r--gcc/config/arc/arc-protos.h1
-rw-r--r--gcc/config/arc/arc.c10
-rw-r--r--gcc/config/arc/arc.h16
-rw-r--r--gcc/config/bfin/bfin.h17
-rw-r--r--gcc/config/rs6000/rs6000.h17
6 files changed, 9 insertions, 61 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f6ff44e..e802393 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,12 @@
+2005-06-26 Kazu Hirata <kazu@codesourcery.com>
+
+ * 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.
+
2005-06-26 Jakub Jelinek <jakub@redhat.com>
PR middle-end/17965
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
diff --git a/gcc/config/bfin/bfin.h b/gcc/config/bfin/bfin.h
index c366fbc..830222d 100644
--- a/gcc/config/bfin/bfin.h
+++ b/gcc/config/bfin/bfin.h
@@ -989,23 +989,6 @@ do { \
#define EXTRA_CONSTRAINT(VALUE, D) \
((D) == 'Q' ? GET_CODE (VALUE) == SYMBOL_REF : 0)
-/* `FINALIZE_PIC'
- 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 do {} while (0)
-
/* Switch into a generic section. */
#define TARGET_ASM_NAMED_SECTION default_elf_asm_named_section
diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h
index fdc1dc1..85ea2ea 100644
--- a/gcc/config/rs6000/rs6000.h
+++ b/gcc/config/rs6000/rs6000.h
@@ -1821,23 +1821,6 @@ do { \
/* #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 */
-
/* 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