diff options
author | geoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-11-07 06:00:07 +0000 |
---|---|---|
committer | geoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-11-07 06:00:07 +0000 |
commit | a0c3f57468656239f0720772b25f80f98fec9386 (patch) | |
tree | 0a818627c9d2e5109f50615e83ad08d7572b1feb /gcc/config/darwin.h | |
parent | 3241194f8a468d69f4cfc4c6a8d78e5bc2c1736d (diff) | |
download | ppe42-gcc-a0c3f57468656239f0720772b25f80f98fec9386.tar.gz ppe42-gcc-a0c3f57468656239f0720772b25f80f98fec9386.zip |
Index: ChangeLog
2002-11-05 Geoffrey Keating <geoffk@apple.com>
* config.gcc: Don't create crtbegin, crtend on Darwin; do create
crt2.o. Rearrange t-darwin makefiles.
* crtstuff.c [OBJECT_FORMAT_MACHO]: Delete.
* unwind-dw2-fde-darwin.c: New.
* unwind-dw2-fde-glibc.c: Correct comment.
* unwind-dw2-fde.c (__register_frame_info_bases)
[DWARF2_OBJECT_END_PTR_EXTENSION]: Clear fde_end.
(classify_object_over_fdes): Use last_fde.
(add_fdes): Likewise.
(linear_search_fdes): Likewise.
* unwind-dw2-fde.h (struct object)
[DWARF2_OBJECT_END_PTR_EXTENSION]: Add fde_end field.
(last_fde): New.
* config/darwin.h (STARTFILE_SPEC): Include crt2.o not crtbegin.o.
(ENDFILE_SPEC): No crtend.o.
* config/t-darwin: New.
* config/i386/t-darwin: Delete.
* config/darwin-crt2.c: New.
* config/rs6000/t-darwin: Delete contents duplicated in t-rs6000
or config/t-darwin.
Index: testsuite/ChangeLog
2002-11-05 Geoffrey Keating <geoffk@apple.com>
* g++.old-deja/g++.eh/badalloc1.C: XFAIL excess errors test on
Darwin.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58877 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/darwin.h')
-rw-r--r-- | gcc/config/darwin.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h index f215a7567b4..27ce49f5d59 100644 --- a/gcc/config/darwin.h +++ b/gcc/config/darwin.h @@ -98,12 +98,13 @@ Boston, MA 02111-1307, USA. */ #undef STARTFILE_SPEC #define STARTFILE_SPEC \ - "%{pg:%{static:-lgcrt0.o}%{!static:-lgcrt1.o -lcrtbegin.o}} \ - %{!pg:%{static:-lcrt0.o}%{!static:-lcrt1.o -lcrtbegin.o}}" + "%{pg:%{static:-lgcrt0.o}%{!static:-lgcrt1.o} -lcrt2.o} \ + %{!pg:%{static:-lcrt0.o}%{!static:-lcrt1.o} -lcrt2.o}" -#undef ENDFILE_SPEC -#define ENDFILE_SPEC \ - "-lcrtend.o" +/* The native Darwin linker doesn't necessarily place files in the order + that they're specified on the link line. Thus, it is pointless + to put anything in ENDFILE_SPEC. */ +/* #define ENDFILE_SPEC "" */ #undef DOLLARS_IN_IDENTIFIERS #define DOLLARS_IN_IDENTIFIERS 2 |