]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR bootstrap/9292 (hppa1.1-rtems configurery problems)
authorJoel Sherrill <joel@OARcorp.com>
Wed, 29 Jan 2003 15:52:11 +0000 (15:52 +0000)
committerJoel Sherrill <joel@gcc.gnu.org>
Wed, 29 Jan 2003 15:52:11 +0000 (15:52 +0000)
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.

From-SVN: r62085

gcc/ChangeLog
gcc/config.gcc
gcc/config/pa/rtems.h

index 82043543e1860150ed3065b49217824dc6ad406f..349dbde87fc9e7bea2234bce15772d646e415da0 100644 (file)
@@ -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-28  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
 
        * doc/install.texi: Add documentation for installation into
index 73441e87bb985a17e20e61fcd88b141998499ff6..8971702a9cfa2592d7054e65920f361c19ea6053 100644 (file)
@@ -900,8 +900,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"
index fe83e85f0440ca05b7fd72cad650388b6635c93f..1269c48eceffc472473d56bd43a20a4552b865ca 100644 (file)
@@ -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.
@@ -24,3 +24,6 @@ Boston, MA 02111-1307, USA.  */
 #undef CPP_PREDEFINES
 #define CPP_PREDEFINES "-Dhppa -DPWB -Acpu=hppa -Amachine=hppa \
    -D__rtems__ -Asystem=rtems"
+
+#undef LIB_SPEC
+#define LIB_SPEC "%{!p:%{!pg:-lc}}%{p: -lc}%{pg: -lc} -N"