2006-03-15 Geoffrey Keating <geoffk@apple.com>
commit3da996b9f68936a12578bd6327e7101c61f3bf1b
authorgeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Mar 2006 02:37:09 +0000 (16 02:37 +0000)
committergeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Mar 2006 02:37:09 +0000 (16 02:37 +0000)
treeb6ff2fd69076032fa47ae9dc5b1da921c649b574
parentfd4ae628cb49b153433b4b7da10b8528f8958c38
2006-03-15  Geoffrey Keating  <geoffk@apple.com>

* config.gcc (*-*-darwin*): Don't build crt2.o for all Darwin ports.
Do switch on default_use_cxa_atexit.
(powerpc*-*-darwin*): Build crt2.o on powerpc.
* config/darwin-crt3.o: New.
* config/darwin.h (LINK_SPEC): If -shared-libgcc, make linker default
to 10.3.  Pass '-multiply_defined suppress' if crt3.o is in use.
(STARTFILE_SPEC): Add crt3.o when -shared-libgcc and appropriate
OS version.
* config/rs6000/t-darwin: Move crt2.o building to here.
* config/rs6000/darwin.h (C_COMMON_OVERRIDE_OPTIONS): Update
Mac OS version for using __cxa_get_exception_ptr.  Don't test versions
of __cxa_atexit.

2006-03-15  Geoffrey Keating  <geoffk@apple.com>

* g++.old-deja/g++.other/init18.C: New.
* g++.old-deja/g++.other/init5.C: Remove xfail.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112121 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config.gcc
gcc/config/darwin-crt3.c [new file with mode: 0644]
gcc/config/darwin.h
gcc/config/rs6000/darwin.h
gcc/config/rs6000/t-darwin
gcc/config/t-darwin
gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.other/init18.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.other/init5.C