diff options
author | Jim Wilson <wilson@cygnus.com> | 1999-03-03 20:04:07 +0000 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1999-03-03 12:04:07 -0800 |
commit | 2e4a567ed55ab3fb8695ca08cb8bb398ce774c9c (patch) | |
tree | fb773f9f2c83af0b28f51c89b3f49e3754a17a1c /gcc/config/m68k/m68020-elf.h | |
parent | 9f89a6c5fa69772408a845337faea3890264e0dc (diff) | |
download | gcc-2e4a567ed55ab3fb8695ca08cb8bb398ce774c9c.zip gcc-2e4a567ed55ab3fb8695ca08cb8bb398ce774c9c.tar.gz gcc-2e4a567ed55ab3fb8695ca08cb8bb398ce774c9c.tar.bz2 |
Make C++ static constructors work for m68k-elf.
* m68k/m68020-elf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP): Undef.
(STARTFILE_SPEC, ENDFILE_SPEC): Define to empty string.
From-SVN: r25565
Diffstat (limited to 'gcc/config/m68k/m68020-elf.h')
-rw-r--r-- | gcc/config/m68k/m68020-elf.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/config/m68k/m68020-elf.h b/gcc/config/m68k/m68020-elf.h index ac9ae43..94b5d44 100644 --- a/gcc/config/m68k/m68020-elf.h +++ b/gcc/config/m68k/m68020-elf.h @@ -39,4 +39,15 @@ Boston, MA 02111-1307, USA. */ #define LIB_SPEC "-lc" +/* ??? Quick hack to get constructors working. Make this look more like a + COFF target, so the existing dejagnu/libgloss support works. A better + solution would be to make the necessary dejagnu and libgloss changes so + that we can use normal the ELF constructor mechanism. */ +#undef INIT_SECTION_ASM_OP +#undef FINI_SECTION_ASM_OP +#undef STARTFILE_SPEC +#define STARTFILE_SPEC "" +#undef ENDFILE_SPEC +#define ENDFILE_SPEC "" + /* end of m68020-elf.h */ |