Author: sje Date: 2010-08-04 12:52:16 -0400 (Wed, 04 Aug 2010) New Revision: 3303
Modified: trunk/osprey/driver/phases.c Log: Link in libopen64rt_shared.a instead of libopen64rt.a when building a PIE executable on x86. Fixes: Bug 577 Aproved by: Sun Chan Modified: trunk/osprey/driver/phases.c =================================================================== --- trunk/osprey/driver/phases.c 2010-08-04 04:39:54 UTC (rev 3302) +++ trunk/osprey/driver/phases.c 2010-08-04 16:52:16 UTC (rev 3303) @@ -2124,7 +2124,8 @@ // Bug 3995. if (!option_was_seen(O_fno_fast_stdlib) && !option_was_seen(O_nolibopen64rt)) { // bug 9611 - if (option_was_seen(O_shared)) { + if (option_was_seen(O_shared) || option_was_seen(O_pie) || + option_was_seen(O_fpie) || option_was_seen(O_fPIE)) { add_library(args, "open64rt_shared"); } else { add_library(args, "open64rt"); ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ Open64-devel mailing list Open64-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/open64-devel