Commit 2e6c150a by Richard Henderson Committed by Richard Henderson

* config/alpha/elf.h (STARTFILE_SPEC): Use crtbeginT with -static.

From-SVN: r51286
parent b29afcf8
2002-03-24 Richard Henderson <rth@redhat.com> 2002-03-24 Richard Henderson <rth@redhat.com>
* config/alpha/elf.h (STARTFILE_SPEC): Use crtbeginT with -static.
2002-03-24 Richard Henderson <rth@redhat.com>
* recog.c (peephole2_optimize): Split blocks when EH insns are * recog.c (peephole2_optimize): Split blocks when EH insns are
generated in the middle of a block. Do global life update if generated in the middle of a block. Do global life update if
zapped EH edges. zapped EH edges.
......
...@@ -612,17 +612,14 @@ do { \ ...@@ -612,17 +612,14 @@ do { \
/* Provide a STARTFILE_SPEC appropriate for ELF. Here we add the /* Provide a STARTFILE_SPEC appropriate for ELF. Here we add the
(even more) magical crtbegin.o file which provides part of the (even more) magical crtbegin.o file which provides part of the
support for getting C++ file-scope static object constructed support for getting C++ file-scope static object constructed
before entering `main'. before entering `main'. */
Don't bother seeing crtstuff.c -- there is absolutely no hope
of getting that file to understand multiple GPs. We provide a
hand-coded assembly version. */
#undef STARTFILE_SPEC #undef STARTFILE_SPEC
#define STARTFILE_SPEC \ #define STARTFILE_SPEC \
"%{!shared: \ "%{!shared: \
%{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}}\ %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}}\
crti.o%s %{shared:crtbeginS.o%s}%{!shared:crtbegin.o%s}" crti.o%s %{static:crtbeginT.o%s}\
%{!static:%{shared:crtbeginS.o%s}%{!shared:crtbegin.o%s}}"
/* Provide a ENDFILE_SPEC appropriate for ELF. Here we tack on the /* Provide a ENDFILE_SPEC appropriate for ELF. Here we tack on the
magical crtend.o file which provides part of the support for magical crtend.o file which provides part of the support for
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment