diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2000-09-14 20:31:01 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2000-09-14 20:31:01 +0000 |
commit | 395a451c8c4c77e238ea0cd87e7cbc0a8958697f (patch) | |
tree | 38b08cac00aadd9efe8ca1589d6f2c4dcc53f13f | |
parent | b75bedeb2a4a82748d6707f8993184c207360bd1 (diff) | |
download | gcc-395a451c8c4c77e238ea0cd87e7cbc0a8958697f.zip gcc-395a451c8c4c77e238ea0cd87e7cbc0a8958697f.tar.gz gcc-395a451c8c4c77e238ea0cd87e7cbc0a8958697f.tar.bz2 |
sh.h (INIT_SECTION_ASM_OP, [...]): Remove define.
* 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
-rw-r--r-- | gcc/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/config/sh/elf.h | 2 | ||||
-rw-r--r-- | gcc/config/sh/sh.h | 13 | ||||
-rw-r--r-- | gcc/config/sh/t-sh | 3 |
4 files changed, 10 insertions, 16 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8aa78ab..0deb7ff 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config/sh/elf.h b/gcc/config/sh/elf.h index 435aff1..f05083e 100644 --- a/gcc/config/sh/elf.h +++ b/gcc/config/sh/elf.h @@ -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" diff --git a/gcc/config/sh/sh.h b/gcc/config/sh/sh.h index 0f00c0d..4da693d 100644 --- a/gcc/config/sh/sh.h +++ b/gcc/config/sh/sh.h @@ -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) \ diff --git a/gcc/config/sh/t-sh b/gcc/config/sh/t-sh index 99ae929..a5604de 100644 --- a/gcc/config/sh/t-sh +++ b/gcc/config/sh/t-sh @@ -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 |