summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
22280ec)
PR target/14577
* config.gcc: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@79590
138bc75d-0d04-0410-961f-
82ee72b054a4
+2004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
+ PR target/14620
+ * config/rtems.h: Add STD_LIB_SPEC and LIB_SPEC.
+
2004-03-17 Jakub Jelinek <jakub@redhat.com>
* config/rs6000/t-linux64 (bispecs): Don't add -mlong-double-128 for
2004-03-17 Jakub Jelinek <jakub@redhat.com>
* config/rs6000/t-linux64 (bispecs): Don't add -mlong-double-128 for
/* Configuration common to all targets running RTEMS.
/* Configuration common to all targets running RTEMS.
- Copyright (C) 2000, 2002 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2002, 2004 Free Software Foundation, Inc.
This file is part of GCC.
This file is part of GCC.
#undef ENDFILE_SPEC
#define ENDFILE_SPEC ""
#undef ENDFILE_SPEC
#define ENDFILE_SPEC ""
+
+/*
+ * Some targets do not set up LIB_SPECS, override it, here.
+ */
+#define STD_LIB_SPEC "%{!shared:%{g*:-lg} %{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}}"
+
+#undef LIB_SPEC
+#define LIB_SPEC "%{!qrtems: " STD_LIB_SPEC "} " \
+"%{!nostdlib: %{qrtems: --start-group \
+ %{!qrtems_debug: -lrtemsbsp -lrtemscpu} \
+ %{qrtems_debug: -lrtemsbsp_g -lrtemscpu_g} \
+ -lc -lgcc --end-group %{!qnolinkcmds: -T linkcmds%s}}}"