OSDN Git Service

* pa-linux.h (LIB_SPEC): Update definition.
authordanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 26 Feb 2002 23:38:34 +0000 (23:38 +0000)
committerdanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 26 Feb 2002 23:38:34 +0000 (23:38 +0000)
* pa32-linux.h (LINK_COMMAND_SPEC): Delete.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50071 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/pa/pa-linux.h
gcc/config/pa/pa32-linux.h

index 6bf8b86..0021232 100644 (file)
@@ -1,3 +1,8 @@
+2002-02-26  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * pa-linux.h (LIB_SPEC): Update definition.
+       * pa32-linux.h (LINK_COMMAND_SPEC): Delete.
+
 2002-02-26  Richard Henderson  <rth@redhat.com>
 
        * config/ia64/ia64.c (nop_cycles_until): Do init_insn_group_barriers
index 7138e75..2f0ee02 100644 (file)
@@ -28,7 +28,10 @@ Boston, MA 02111-1307, USA.  */
 #define CPP_PREDEFINES "-D__ELF__ -Dunix -D__hppa__ -Dlinux -Asystem=unix -Asystem=posix -Acpu=hppa -Amachine=hppa -Amachine=bigendian"
 
 #undef LIB_SPEC
-#define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
+#define LIB_SPEC \
+  "%{shared: -lgcc -lc} \
+   %{!shared: %{mieee-fp:-lieee} %{pthread:-lpthread} \
+       %{shared-libgcc: -lgcc} %{profile:-lc_p} %{!profile: -lc}}"
 
 #undef ASM_SPEC
 #define ASM_SPEC \
index 09bd44d..81f6452 100644 (file)
@@ -24,14 +24,3 @@ Boston, MA 02111-1307, USA.  */
 
 #undef CPP_SPEC
 #define CPP_SPEC "%{fPIC:-D__PIC__ -D__pic__} %{fpic:-D__PIC__ -D__pic__} %{mhppa:-D__hppa__} %{posix:-D_POSIX_SOURCE} -D_PA_RISC1_1"
-
-/* We need to link against libgcc.a to resolve millicode references.  */
-#undef LINK_COMMAND_SPEC
-#define LINK_COMMAND_SPEC "\
-%{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:\
-    %(linker) %l %X %{o*} %{A} %{d} %{e*} %{m} %{N} %{n} %{r} %{s} %{t}\
-    %{u*} %{x} %{z} %{Z} %{!A:%{!nostdlib:%{!nostartfiles:%S}}}\
-    %{static:} %{L*} %(link_libgcc) %o %{!nostdlib:%{!nodefaultlibs:%G %L %G}}\
-    %{!A:%{!nostdlib:%{!nostartfiles:%E}}}\
-    %{!nostdlib:%{!nodefaultlibs:%{!static:%{!static-libgcc:-lgcc}}}}\
-    %{T*} }}}}}}"