svn commit: branches/uClibc-nptl
kraj at uclibc.org
kraj at uclibc.org
Mon Dec 15 20:02:58 UTC 2008
Author: kraj
Date: 2008-12-15 12:02:58 -0800 (Mon, 15 Dec 2008)
New Revision: 24423
Log:
Merges from trunk
Modified:
branches/uClibc-nptl/Makerules
branches/uClibc-nptl/Rules.mak
Changeset:
Modified: branches/uClibc-nptl/Makerules
===================================================================
--- branches/uClibc-nptl/Makerules 2008-12-15 19:15:16 UTC (rev 24422)
+++ branches/uClibc-nptl/Makerules 2008-12-15 20:02:58 UTC (rev 24423)
@@ -216,7 +216,7 @@
compile.s = $(call maybe_exec,compile.s)
compile.S = @$(call maybe_exec,compile.S)
compile.m = @$(call maybe_exec,compile.m)
-compile-m = @$(disp_compile-m) ; $(cmd_compile-m) ; $(cmd_t_strip)
+compile-m = @$(disp_compile-m) ; $(cmd_compile-m) && $(cmd_t_strip)
do_strip = @$(disp_strip) ; $(cmd_strip)
do_t_strip= @$(disp_t_strip) ; $(cmd_t_strip)
do_unifdef= @$(disp_unifdef) ; $(cmd_unifdef)
Modified: branches/uClibc-nptl/Rules.mak
===================================================================
--- branches/uClibc-nptl/Rules.mak 2008-12-15 19:15:16 UTC (rev 24422)
+++ branches/uClibc-nptl/Rules.mak 2008-12-15 20:02:58 UTC (rev 24423)
@@ -179,11 +179,15 @@
ifeq ($(TARGET_ARCH),i386)
OPTIMIZATION+=$(call check_gcc,-fomit-frame-pointer,)
+ifeq ($(CONFIG_386)$(CONFIG_486)$(CONFIG_586)$(CONFIG_586MMX),y)
+ # Non-SSE capable processor.
# NB: this may make SSE insns segfault!
# -O1 -march=pentium3, -Os -msse etc are known to be affected.
- # TODO: conditionally bump to 4
- # (see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13685)
+ # See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13685
+ OPTIMIZATION+=$(call check_gcc,-mpreferred-stack-boundary=2,)
+else
OPTIMIZATION+=$(call check_gcc,-mpreferred-stack-boundary=4,)
+endif
# Choice of alignment (please document why!)
# -falign-labels: in-line labels
More information about the uClibc-cvs
mailing list