diff options
author | Richard Henderson <rth@redhat.com> | 2002-03-24 16:18:35 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2002-03-24 16:18:35 -0800 |
commit | 2e6c150aa8bf040067b91305d10f8c2456186b83 (patch) | |
tree | 90a337dcd2d6c9c270ede24c377dbbdfeafb63b8 /gcc | |
parent | b29afcf8333b8e5f82fe1f970682f503a3e6923d (diff) | |
download | gcc-2e6c150aa8bf040067b91305d10f8c2456186b83.zip gcc-2e6c150aa8bf040067b91305d10f8c2456186b83.tar.gz gcc-2e6c150aa8bf040067b91305d10f8c2456186b83.tar.bz2 |
* config/alpha/elf.h (STARTFILE_SPEC): Use crtbeginT with -static.
From-SVN: r51286
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/alpha/elf.h | 9 |
2 files changed, 7 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cb4a988..ce88f31 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 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 generated in the middle of a block. Do global life update if zapped EH edges. diff --git a/gcc/config/alpha/elf.h b/gcc/config/alpha/elf.h index 1cc2a60..8878eda 100644 --- a/gcc/config/alpha/elf.h +++ b/gcc/config/alpha/elf.h @@ -612,17 +612,14 @@ do { \ /* Provide a STARTFILE_SPEC appropriate for ELF. Here we add the (even more) magical crtbegin.o file which provides part of the 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 #define STARTFILE_SPEC \ "%{!shared: \ %{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 magical crtend.o file which provides part of the support for |