X-Git-Url: https://git.saurik.com/apple/dyld.git/blobdiff_plain/39a8cd101b922f08058746122efff58c14b57605..412ebb8e3cc35d457058c31310d89ef96b7c416d:/unit-tests/test-cases/dyld-slide/Makefile diff --git a/unit-tests/test-cases/dyld-slide/Makefile b/unit-tests/test-cases/dyld-slide/Makefile index d17bbaa..aa3debf 100644 --- a/unit-tests/test-cases/dyld-slide/Makefile +++ b/unit-tests/test-cases/dyld-slide/Makefile @@ -1,5 +1,5 @@ ## -# Copyright (c) 2005-2007 Apple Inc. All rights reserved. +# Copyright (c) 2005-2009 Apple Inc. All rights reserved. # # @APPLE_LICENSE_HEADER_START@ # @@ -24,15 +24,23 @@ TESTROOT = ../.. include ${TESTROOT}/include/common.makefile STACK_BASE = 0x8fe01000 +STACK_SIZE = 0x00100000 ifeq "armv6" "$(ARCH)" STACK_BASE = 0x2fe01000 + STACK_SIZE = 0x00100000 +endif +ifeq "armv7" "$(ARCH)" + STACK_BASE = 0x2fe01000 + STACK_SIZE = 0x00100000 endif ifeq "ppc64" "$(ARCH)" - STACK_BASE = 0x7fff5fc00000 + STACK_BASE = 0x7fff5ff00000 + STACK_SIZE = 0x00400000 endif ifeq "x86_64" "$(ARCH)" - STACK_BASE = 0x7fff5fc00000 + STACK_BASE = 0x7fff5ff00000 + STACK_SIZE = 0x00400000 endif @@ -43,7 +51,7 @@ check: ${TESTROOT}/bin/exit-zero-pass.pl "dyld did slide" "dyld did not slide" ./main all: - ${CC} ${CCFLAGS} -Wno-deprecated-declarations -I${TESTROOT}/include -o main main.c -Wl,-stack_addr,${STACK_BASE} -Wl,-stack_size,0x00100000 + ${CC} ${CCFLAGS} -Wno-deprecated-declarations -I${TESTROOT}/include -o main main.c -Wl,-stack_addr,${STACK_BASE} -Wl,-stack_size,${STACK_SIZE} clean: ${RM} ${RMFLAGS} main