Prepend named section commands with a tab just like other platforms
already do it.  Enable parenthesis in assembler since s390x assembler
does support them.

gcc/ChangeLog:

        * config/s390/s390.cc (TARGET_ASM_OPEN_PAREN):
        (TARGET_ASM_CLOSE_PAREN): Remove.
        * config/s390/s390.h (TEXT_SECTION_ASM_OP): Add tab.
        (DATA_SECTION_ASM_OP): Add tab.
        (BSS_SECTION_ASM_OP): Add tab.

Signed-off-by: Juergen Christ <[email protected]>

Bootstrapped and tested on s390x.  Okay for trunk?

---
 gcc/config/s390/s390.cc | 6 ------
 gcc/config/s390/s390.h  | 6 +++---
 2 files changed, 3 insertions(+), 9 deletions(-)

diff --git a/gcc/config/s390/s390.cc b/gcc/config/s390/s390.cc
index 61ca55161f9a..e32c3cecf891 100644
--- a/gcc/config/s390/s390.cc
+++ b/gcc/config/s390/s390.cc
@@ -18405,12 +18405,6 @@ s390_bitint_type_info (int n, struct bitint_info *info)
 #undef  TARGET_ASM_INTEGER
 #define TARGET_ASM_INTEGER s390_assemble_integer
 
-#undef  TARGET_ASM_OPEN_PAREN
-#define TARGET_ASM_OPEN_PAREN ""
-
-#undef  TARGET_ASM_CLOSE_PAREN
-#define TARGET_ASM_CLOSE_PAREN ""
-
 #undef TARGET_OPTION_OVERRIDE
 #define TARGET_OPTION_OVERRIDE s390_option_override
 
diff --git a/gcc/config/s390/s390.h b/gcc/config/s390/s390.h
index ba839c8bee7b..f8af132a424f 100644
--- a/gcc/config/s390/s390.h
+++ b/gcc/config/s390/s390.h
@@ -792,13 +792,13 @@ CUMULATIVE_ARGS;
 /* Sections.  */
 
 /* Output before read-only data.  */
-#define TEXT_SECTION_ASM_OP ".text"
+#define TEXT_SECTION_ASM_OP "\t.text"
 
 /* Output before writable (initialized) data.  */
-#define DATA_SECTION_ASM_OP ".data"
+#define DATA_SECTION_ASM_OP "\t.data"
 
 /* Output before writable (uninitialized) data.  */
-#define BSS_SECTION_ASM_OP ".bss"
+#define BSS_SECTION_ASM_OP "\t.bss"
 
 
 /* Position independent code.  */
-- 
2.43.7

Reply via email to