diff options
| author | Khem Raj <kraj@mvista.com> | 2008-12-15 20:02:58 +0000 |
|---|---|---|
| committer | Khem Raj <kraj@mvista.com> | 2008-12-15 20:02:58 +0000 |
| commit | 8151886ee858d10b8804c6f7bcda483a1b1ea668 (patch) | |
| tree | 7b760122dbbee4c7bc5c051fbab31d3bb8ce7d84 | |
| parent | 2ffc01aae68ce0a5975379005b1145f9dd384f0f (diff) | |
| download | uClibc-alpine-8151886ee858d10b8804c6f7bcda483a1b1ea668.tar.bz2 uClibc-alpine-8151886ee858d10b8804c6f7bcda483a1b1ea668.tar.xz | |
Merges from trunk
| -rw-r--r-- | Makerules | 2 | ||||
| -rw-r--r-- | Rules.mak | 8 |
2 files changed, 7 insertions, 3 deletions
@@ -216,7 +216,7 @@ compile.i = $(call maybe_exec,compile.i) 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) @@ -179,11 +179,15 @@ PIEFLAG_NAME:=-fPIE 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 |
