This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RTEMS m68k target changes
- To: gcc at gcc dot gnu dot org
- Subject: RTEMS m68k target changes
- From: Joel Sherrill <joel dot sherrill at OARcorp dot com>
- Date: Fri, 01 Dec 2000 11:49:39 -0600
- Organization: OAR Corporation
- Reply-To: joel dot sherrill at OARcorp dot com
2000-12-01 Joel Sherrill <joel@OARcorp.com>
* config/m68k/rtemself.h (INIT_SECTION_ASM_OP,
FINI_SECTION_ASM_OP,
EH_FRAME_SECTION_ASM_OP): Remove leading "tab".
* config/m68k/t-m68kelf: Add EXTRA_MULTILIB_PARTS of crtbegin.o
and
crtend.o.
--
Joel Sherrill, Ph.D. Director of Research & Development
joel@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
Index: gcc/config/m68k/rtemself.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/m68k/rtemself.h,v
retrieving revision 1.4
diff -u -r1.4 rtemself.h
--- rtemself.h 2000/11/02 23:29:11 1.4
+++ rtemself.h 2000/12/01 17:33:41
@@ -1,5 +1,5 @@
/* Definitions for rtems targeting a Motorola m68k using elf.
- Copyright (C) 1999, 2000, National Research Council of Canada.
+ Copyright (C) 1999, National Research Council of Canada.
Contributed by Charles-Antoine Gauthier (charles.gauthier@nrc.ca).
This file is part of GNU CC.
@@ -54,17 +54,15 @@
* information at startup.
*/
#undef INIT_SECTION_ASM_OP
-#define INIT_SECTION_ASM_OP "\t.section\t.init"
+#define INIT_SECTION_ASM_OP ".section\t.init"
#undef FINI_SECTION_ASM_OP
-#define FINI_SECTION_ASM_OP "\t.section\t.fini"
+#define FINI_SECTION_ASM_OP ".section\t.fini"
#undef EH_FRAME_SECTION_ASM_OP
-#define EH_FRAME_SECTION_ASM_OP "\t.section\t.eh_frame"
+#define EH_FRAME_SECTION_ASM_OP ".section\t.eh_frame"
/* Do I need this? */
#undef INVOKE__main
/* Get machine-independent configuration parameters for RTEMS. */
#include <rtems.h>
-
-/* end of m68k/rtemself.h */
Index: gcc/config/m68k/t-m68kelf
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/m68k/t-m68kelf,v
retrieving revision 1.3
diff -u -r1.3 t-m68kelf
--- t-m68kelf 1998/12/16 21:07:30 1.3
+++ t-m68kelf 2000/12/01 17:33:41
@@ -20,6 +20,8 @@
MULTILIB_MATCHES = m68000=mc68000 m68000=m68302 mcpu32=m68332 m68020=mc68020 m68020=m68040 m68020=m68060
MULTILIB_EXCEPTIONS = m68000/msoft-float m5200/m68881 m5200/msoft-float mcpu32/m68881 mcpu32/msoft-float
+EXTRA_MULTILIB_PARTS = crtbegin.o crtend.o
+
LIBGCC = stmp-multilib
INSTALL_LIBGCC = install-multilib