sh.h (INIT_SECTION_ASM_OP, [...]): Remove define.
authorAlexandre Oliva <aoliva@redhat.com>
Thu, 14 Sep 2000 20:31:01 +0000 (20:31 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Thu, 14 Sep 2000 20:31:01 +0000 (20:31 +0000)
* config/sh/sh.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
STARTFILE_SPEC, ENDFILE_SPEC): Remove define.
* config/sh/elf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
Remove undefine before config/elfos.h.
* config/sh/t-sh (EXTRA_MULTILIB_PARTS): Comment out.

From-SVN: r36418

gcc/ChangeLog
gcc/config/sh/elf.h
gcc/config/sh/sh.h
gcc/config/sh/t-sh

index 8aa78abb09a3a9f3fbd5d1ea5fd88bc4ab7b3a9e..0deb7ffa4298f96e8fddcb93be529f48e4cbd038 100644 (file)
@@ -1,3 +1,11 @@
+2000-09-14  Alexandre Oliva  <aoliva@redhat.com>
+
+       * config/sh/sh.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
+       STARTFILE_SPEC, ENDFILE_SPEC): Remove define.
+       * config/sh/elf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
+       Remove undefine before config/elfos.h.
+       * config/sh/t-sh (EXTRA_MULTILIB_PARTS): Comment out.
+
 2000-09-14  Kazu Hirata  <kazu@hxi.com>
 
        * invoke.texi (H8/300 Options): Add -ms2600.
index 435aff17cf771d36c3a5e068804d53ef2a9104a0..f05083e1004c6b14f0958a891d177ecb09709c51 100644 (file)
@@ -43,8 +43,6 @@ Boston, MA 02111-1307, USA.  */
 #undef ASM_OUTPUT_DESTRUCTOR
 #undef ASM_DECLARE_FUNCTION_NAME
 #undef MAX_OFILE_ALIGNMENT
-#undef INIT_SECTION_ASM_OP
-#undef FINI_SECTION_ASM_OP
 
 /* Be ELF-like.  */
 #include "svr4.h"
index 0f00c0dee9ee270ab904622a6c74573e4a1c2fbd..4da693d266acf31d35468a2bd5195da82b182021 100644 (file)
@@ -2342,19 +2342,6 @@ do {                                                                     \
 
 #define DWARF_LINE_MIN_INSTR_LENGTH 2
 
-#undef INIT_SECTION_ASM_OP
-#define INIT_SECTION_ASM_OP    ".section\t.init"
-#undef FINI_SECTION_ASM_OP
-#define FINI_SECTION_ASM_OP    ".section\t.fini"
-
-#undef STARTFILE_SPEC
-#define STARTFILE_SPEC \
-  "crt1.o%s crti.o%s crtbegin.o%s"
-
-#undef ENDFILE_SPEC
-#define ENDFILE_SPEC \
-  "crtend.o%s crtn.o%s"
-
 /* SH constant pool breaks the devices in crtstuff.c to control section
    in where code resides.  We have to write it as asm code.  */
 #define CRT_CALL_STATIC_FUNCTION(func) \
index 99ae929d0f0e0b39718cfcc066f398c90544ebb7..a5604de6e1565903952a9f72c765b93015622e88 100644 (file)
@@ -35,4 +35,5 @@ $(T)crti.o: $(srcdir)/config/sh/crti.asm $(GCC_PASSES)
 $(T)crtn.o: $(srcdir)/config/sh/crtn.asm $(GCC_PASSES)
        $(GCC_FOR_TARGET) $(MULTILIB_CFLAGS) -c -o $(T)crtn.o -x assembler-with-cpp $(srcdir)/config/sh/crtn.asm
 
-EXTRA_MULTILIB_PARTS= crt1.o crti.o crtn.o crtbegin.o crtend.o
+# These are not suitable for COFF.
+# EXTRA_MULTILIB_PARTS= crt1.o crti.o crtn.o crtbegin.o crtend.o