fix iOS ARM64 build

This commit is contained in:
Joel Dice 2014-12-30 17:03:58 -07:00
parent c9026a6053
commit 80ce92a999
2 changed files with 7 additions and 3 deletions

View File

@ -1655,7 +1655,8 @@ $(classpath-dep): $(classpath-sources) $(classpath-jar-dep)
@echo "compiling classpath classes"
@mkdir -p $(classpath-build)
classes="$(shell $(MAKE) -s --no-print-directory build=$(build) \
$(classpath-classes))"; if [ -n "$${classes}" ]; then \
$(classpath-classes) arch=$(build-arch) platform=$(build-platform))"; \
if [ -n "$${classes}" ]; then \
$(javac) -source 1.6 -target 1.6 \
-d $(classpath-build) -bootclasspath $(boot-classpath) \
$${classes}; fi

View File

@ -58,8 +58,11 @@ GLOBAL(vmInvoke):
mov x5, sp
str x5, [x0,#TARGET_THREAD_SCRATCH]
// copy arguments into place
sub sp, sp, w3, uxtw
// copy arguments into place, reserving enough space for them, plus
// alignment padding
sub x5, sp, w3, uxtw
and sp, x5, #-16
mov x4, #0
b LOCAL(vmInvoke_argumentTest)