OSDN Git Service

* config/arc/arc-protos.c: Remove the prototype for
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 26 Jun 2005 11:42:11 +0000 (11:42 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 26 Jun 2005 11:42:11 +0000 (11:42 +0000)
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101334 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/arc/arc-protos.h
gcc/config/arc/arc.c
gcc/config/arc/arc.h
gcc/config/bfin/bfin.h
gcc/config/rs6000/rs6000.h

index f6ff44e..e802393 100644 (file)
@@ -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
index 51f15bb..8d081a4 100644 (file)
@@ -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);
index 350a6ef..2adf01d 100644 (file)
@@ -1443,16 +1443,6 @@ arc_eligible_for_epilogue_delay (rtx trial, int slot)
   return 0;
 }
 \f
-/* PIC */
-
-/* Emit special PIC prologues and epilogues.  */
-
-void
-arc_finalize_pic (void)
-{
-  /* nothing to do */
-}
-\f
 /* Return true if OP is a shift operator.  */
 
 int
index f4e4648..696b203 100644 (file)
@@ -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
index c366fbc..830222d 100644 (file)
@@ -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
 
index fdc1dc1..85ea2ea 100644 (file)
@@ -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