aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2004-09-20 23:42:00 +0000
committerUlrich Weigand <uweigand@gcc.gnu.org>2004-09-20 23:42:00 +0000
commit37337e55bffa99e90c65939ab893dbfabf64fa06 (patch)
treed4277834bc8b03929608bcfddc5cc13b938afb5d
parent455786b6c75af58bd20f39f00148c12562d65863 (diff)
downloadgcc-37337e55bffa99e90c65939ab893dbfabf64fa06.zip
gcc-37337e55bffa99e90c65939ab893dbfabf64fa06.tar.gz
gcc-37337e55bffa99e90c65939ab893dbfabf64fa06.tar.bz2
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
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/s390/s390.c19
2 files changed, 5 insertions, 19 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 135da23..167e1b9 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c
index 2dd515b..124f4e5 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. */