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 <mark.d.h...@intel.com> 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}"