aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPo Lu2023-05-01 11:28:22 +0800
committerPo Lu2023-05-01 11:28:22 +0800
commitddc16de86964d445309dd38175a85221c14f05ab (patch)
tree42b7b7d86abd636e90dbc914f347b32b7099ef33 /src
parenta8f9a4d2d9bc982217b4be783b236778f9d6dd32 (diff)
downloademacs-ddc16de86964d445309dd38175a85221c14f05ab.tar.gz
emacs-ddc16de86964d445309dd38175a85221c14f05ab.zip
Update Android port
* Makefile.in (extraclean): Clean in exec as well. * configure.ac: Fix detection of absolute srcdir. Also, pass CFLAGS. * exec/Makefile.in: (.c.o): Add -I. so config.h can be found.:(.s.o): Don't create m4 temporary in srcdir. * exec/config-mips.m4.in (DADDI2, DADDI3): New macros. Define to substitute if as cannot assemble daddi. * exec/configure.ac (user_h): Look for user.h in asm/ as well. Use new user.h. Also look in ptrace.h on arm systems. Check if as supports daddi on mips64. * exec/exec.c (check_interpreter): Fix char signedness bug. * exec/loader-mips64el.s (__start): Use DADDI2 and DADDI3 for two- and 3-operand daddi. * exec/mipsel-user.h: Don't include sgidefs.h. * java/INSTALL: Document that m4 is now required. * src/android.c (android_rewrite_spawn_argv): Add missing NULL.
Diffstat (limited to 'src')
-rw-r--r--src/android.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/android.c b/src/android.c
index ce8f277e120..0244113285b 100644
--- a/src/android.c
+++ b/src/android.c
@@ -6584,8 +6584,8 @@ android_rewrite_spawn_argv (const char ***argv)
6584 new_args[0] = exec1_name; 6584 new_args[0] = exec1_name;
6585 new_args[1] = loader_name; 6585 new_args[1] = loader_name;
6586 6586
6587 /* And insert the rest. */ 6587 /* And insert the rest, including the trailing NULL. */
6588 for (i = 0; i < nargs; ++i) 6588 for (i = 0; i < nargs + 1; ++i)
6589 new_args[i + 2] = (*argv)[i]; 6589 new_args[i + 2] = (*argv)[i];
6590 6590
6591 /* Replace argv. */ 6591 /* Replace argv. */