Re: [PATCH][config]Add missing crt*.o in start and end file specs for linux-android.h
ping? On Thu, Aug 25, 2011 at 5:44 PM, Doug Kwan (關振德) wrote: > Hi, > > We received this from Intel and would like to check in the trunk. > Could the maintainers of gcc/config take a look? > > Thanks. > > -Doug > > > 2011-08-25 Mark D Horn > > config/linux-android.h (ANDROID_STARTFILE_SPEC, ANDROID_ENDFILE_SPEC): > Add missing crt*.o objects for shared building a library. >
[PATCH][config]Add missing crt*.o in start and end file specs for linux-android.h
Hi, We received this from Intel and would like to check in the trunk. Could the maintainers of gcc/config take a look? Thanks. -Doug 2011-08-25 Mark D Horn config/linux-android.h (ANDROID_STARTFILE_SPEC, ANDROID_ENDFILE_SPEC): Add missing crt*.o objects for shared building a library. Index: gcc/config/linux-android.h === --- gcc/config/linux-android.h (revision 178053) +++ gcc/config/linux-android.h (working copy) @@ -54,7 +54,7 @@ #define ANDROID_STARTFILE_SPEC \ "%{!shared:" \ - " %{static: crtbegin_static%O%s;: crtbegin_dynamic%O%s}}" + " %{static: crtbegin_static%O%s;: crtbegin_dynamic%O%s};: crtbegin_so%O%s}" #define ANDROID_ENDFILE_SPEC \ - "%{!shared: crtend_android%O%s}" + "%{!shared: crtend_android%O%s;: crtend_so%O%s}"