Ticket #6793: cxa-gcc.patch
File cxa-gcc.patch, 1.2 KB (added by , 14 years ago) |
---|
-
gcc/config.gcc
1060 1060 i[34567]86-*-haiku*) 1061 1061 tmake_file='t-haiku i386/t-crtpic' 1062 1062 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h haiku.h i386/haiku.h" 1063 extra_parts='crtbegin.o crtend.o' 1063 extra_parts='crtbegin.o crtend.o crtbeginS.o crtendS.o' 1064 default_use_cxa_atexit=yes 1064 1065 ;; 1065 1066 x86_64-*-haiku*) 1066 1067 tmake_file='t-haiku i386/t-haiku64 i386/t-crtpic' -
gcc/config/haiku.h
66 66 67 67 68 68 #undef STARTFILE_SPEC 69 #define STARTFILE_SPEC "crti.o%s crtbegin.o%s%{!shared:%{!nostart:start_dyn.o%s}} init_term_dyn.o%s"69 #define STARTFILE_SPEC "crti.o%s %{shared|nostart:crtbeginS.o%s;:crtbegin.o%s} %{!shared:%{!nostart:start_dyn.o%s}} init_term_dyn.o%s" 70 70 71 71 #undef ENDFILE_SPEC 72 #define ENDFILE_SPEC " crtend.o%scrtn.o%s"72 #define ENDFILE_SPEC "%{shared|nostart:crtendS.o%s;:crtend.o%s} crtn.o%s" 73 73 74 74 /* For native compiler, use standard Haiku include file search paths 75 75 rooted in /boot/develop/headers. For a cross compiler, don't