s390.c (s390_select_rtx_section): Remove.

* config/s390/s390.c (s390_select_rtx_section): Remove.
	(TARGET_ASM_SELECT_RTX_SECTION): Do not redefine.

From-SVN: r87779
This commit is contained in:
Ulrich Weigand 2004-09-20 23:42:00 +00:00 committed by Ulrich Weigand
parent 455786b6c7
commit 37337e55bf
2 changed files with 5 additions and 19 deletions

View File

@ -1,3 +1,8 @@
2004-09-20 Ulrich Weigand <uweigand@de.ibm.com>
* config/s390/s390.c (s390_select_rtx_section): Remove.
(TARGET_ASM_SELECT_RTX_SECTION): Do not redefine.
2004-09-20 Kaz Kojima <kkojima@gcc.gnu.org>
* config/sh/sh.c (sh_expand_prologue): Add a REG_FRAME_RELATED_EXPR

View File

@ -57,8 +57,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
static bool s390_assemble_integer (rtx, unsigned int, int);
static void s390_select_rtx_section (enum machine_mode, rtx,
unsigned HOST_WIDE_INT);
static void s390_encode_section_info (tree, rtx, int);
static bool s390_cannot_force_const_mem (rtx);
static rtx s390_delegitimize_address (rtx);
@ -97,9 +95,6 @@ static bool s390_pass_by_reference (CUMULATIVE_ARGS *, enum machine_mode mode,
#undef TARGET_ASM_CLOSE_PAREN
#define TARGET_ASM_CLOSE_PAREN ""
#undef TARGET_ASM_SELECT_RTX_SECTION
#define TARGET_ASM_SELECT_RTX_SECTION s390_select_rtx_section
#undef TARGET_ENCODE_SECTION_INFO
#define TARGET_ENCODE_SECTION_INFO s390_encode_section_info
@ -7544,20 +7539,6 @@ s390_function_profiler (FILE *file, int labelno)
}
}
/* Select section for constant in constant pool. In 32-bit mode,
constants go in the function section; in 64-bit mode in .rodata. */
static void
s390_select_rtx_section (enum machine_mode mode ATTRIBUTE_UNUSED,
rtx x ATTRIBUTE_UNUSED,
unsigned HOST_WIDE_INT align ATTRIBUTE_UNUSED)
{
if (TARGET_CPU_ZARCH)
readonly_data_section ();
else
function_section (current_function_decl);
}
/* Encode symbol attributes (local vs. global, tls model) of a SYMBOL_REF
into its SYMBOL_REF_FLAGS. */