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
This commit is contained in:
Kazu Hirata 2005-06-26 11:42:11 +00:00 committed by Kazu Hirata
parent d9725c411c
commit 69532b6079
6 changed files with 9 additions and 61 deletions

View 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

View 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);

View File

@ -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

View 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

View 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

View 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