summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjoel <joel@138bc75d-0d04-0410-961f-82ee72b054a4>2003-01-29 14:54:09 +0000
committerjoel <joel@138bc75d-0d04-0410-961f-82ee72b054a4>2003-01-29 14:54:09 +0000
commitb91c622256a2f4f67f4920f59a18feba54ae9ddf (patch)
tree762dd7ea7d023a57caa0d3128864365230d6584e
parenta5e50b318bfdd32f1e3a708923094276a7a6ef78 (diff)
downloadppe42-gcc-b91c622256a2f4f67f4920f59a18feba54ae9ddf.tar.gz
ppe42-gcc-b91c622256a2f4f67f4920f59a18feba54ae9ddf.zip
2003-01-29 Joel Sherrill <joel@OARcorp.com>
* config.gcc (hppa1.1-rtems): Did not include t-rtems nor enable RTEMS threads. * config/pa/rtems.h (LIB_SPEC): Use -N when linking. This issue was tracked as PR9292. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62078 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config.gcc5
-rw-r--r--gcc/config/pa/rtems.h5
3 files changed, 15 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9a1d6cf8922..63274def8aa 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2003-01-29 Joel Sherrill <joel@OARcorp.com>
+
+ * config.gcc (hppa1.1-rtems): Did not include t-rtems nor enable
+ RTEMS threads.
+ * config/pa/rtems.h (LIB_SPEC): Use -N when linking.
+ This issue was tracked as PR9292.
+
2003-01-29 Nick Clifton <nickc@redhat.com>
* Makefile.in (c-parse.o): Locate source file in $(parsedir)
diff --git a/gcc/config.gcc b/gcc/config.gcc
index f839ba94c44..a5a1fce0325 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -806,8 +806,11 @@ hppa1.1-*-rtems*)
xm_defines=POSIX
target_cpu_default="(MASK_JUMP_IN_DELAY | MASK_PORTABLE_RUNTIME | MASK_GAS | MASK_NO_SPACE_REGS | MASK_SOFT_FLOAT)"
tm_file="${tm_file} pa/pa32-regs.h dbxelf.h elfos.h pa/elf.h pa/pa-pro-end.h libgloss.h pa/rtems.h rtems.h"
- tmake_file="pa/t-bsd pa/t-pro"
+ tmake_file="pa/t-bsd pa/t-pro t-rtems"
xmake_file="pa/x-ada"
+ if test x$enable_threads = xyes; then
+ thread_file='rtems'
+ fi
;;
hppa1.0-*-osf*)
tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-osf.h"
diff --git a/gcc/config/pa/rtems.h b/gcc/config/pa/rtems.h
index b03b5c802c3..c71ac6e8441 100644
--- a/gcc/config/pa/rtems.h
+++ b/gcc/config/pa/rtems.h
@@ -1,5 +1,5 @@
/* Definitions of target machine for GNU compiler, for PRO.
- Copyright (C) 1997, 2000, 2002 Free Software Foundation, Inc.
+ Copyright (C) 1997, 2000, 2002, 2003 Free Software Foundation, Inc.
Contributed by Joel Sherrill (joel@OARcorp.com).
This file is part of GNU CC.
@@ -35,3 +35,6 @@ Boston, MA 02111-1307, USA. */
builtin_assert ("system=rtems"); \
} \
while (0)
+
+#undef LIB_SPEC
+#define LIB_SPEC "%{!p:%{!pg:-lc}}%{p: -lc}%{pg: -lc} -N"
OpenPOWER on IntegriCloud