From: Ulrich Weigand Date: Mon, 20 Sep 2004 23:42:00 +0000 (+0000) Subject: s390.c (s390_select_rtx_section): Remove. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=37337e55bffa99e90c65939ab893dbfabf64fa06;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 135da237ed1..167e1b97a47 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-09-20 Ulrich Weigand + + * config/s390/s390.c (s390_select_rtx_section): Remove. + (TARGET_ASM_SELECT_RTX_SECTION): Do not redefine. + 2004-09-20 Kaz Kojima * config/sh/sh.c (sh_expand_prologue): Add a REG_FRAME_RELATED_EXPR diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c index 2dd515b95cb..124f4e54df9 100644 --- a/gcc/config/s390/s390.c +++ b/gcc/config/s390/s390.c @@ -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. */