diff options
| author | Po Lu | 2023-04-30 21:37:19 +0800 |
|---|---|---|
| committer | Po Lu | 2023-04-30 21:37:19 +0800 |
| commit | 368f6f3942a1f8b9483763a6ac24b3b3021e92bf (patch) | |
| tree | 284ff92e18076ed7a8be3d2775ee450922b3166d /java/Makefile.in | |
| parent | 4289ed6cffdb5ea758a78037fe385fd7c4e23677 (diff) | |
| download | emacs-368f6f3942a1f8b9483763a6ac24b3b3021e92bf.tar.gz emacs-368f6f3942a1f8b9483763a6ac24b3b3021e92bf.zip | |
Add helper binary `exec1'
* .gitignore: New files.
* Makefile.in (mostlyclean_dirs): Add libexec, if its Makefile
exists.
* autogen.sh (do_git): Autoreconf in exec as well.
* configure.ac: Configure libexec on Android.
* exec/Makefile.in:
* exec/README:
* exec/config-mips.m4.in:
* exec/config.guess:
* exec/config.h.in:
* exec/config.sub:
* exec/configure:
* exec/configure.ac:
* exec/deps.mk:
* exec/exec.c (MIN, struct exec_open_command)
(struct exec_map_command, struct exec_jump_command)
(write_open_command, write_load_command, process_interpreter_1)
(process_interpreter, process_program_header, insert_args)
(exec_0):
* exec/exec.h (_EXEC_H_, struct elf_header_32)
(struct program_header_32, struct dt_entry_32)
(struct elf_header_64, struct program_header_64)
(struct dt_entry_64, struct exec_tracee):
* exec/exec1.c (main):
* exec/install-sh (scriptversion):
* exec/loader-aarch64.s (_start):
* exec/loader-armeabi.s (_start):
* exec/loader-mips64el.s (__start):
* exec/loader-mipsel.s (__start):
* exec/loader-x86.s (_start):
* exec/loader-x86_64.s (_start):
* exec/mipsel-user.h (_MIPSEL_USER_H_):
* exec/mipsfpu.c (MIPS_ABI_FP_ANY, fpu_reqs, valid_abi_p)
(fp_mode_for_abi, cpu_supports_fr0_p, determine_fpu_mode):
* exec/mipsfpu.h (_MIPSFPU_H_, FP_FR0):
* exec/test.c (print_usage, main):
* exec/trace.c (MAX_TRACEES, aarch64_set_regs, read_memory)
(user_alloca, user_copy, remove_tracee, handle_clone)
(syscall_trap_p, handle_exec, process_system_call, tracing_execve)
(after_fork, find_tracee, exec_waitpid, exec_init): New files.
* java/Makefile.in (CROSS_EXEC_BINS): Add exec1 and
loader.
($(CROSS_EXEC_BINS) &): New target.
Diffstat (limited to 'java/Makefile.in')
| -rw-r--r-- | java/Makefile.in | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/java/Makefile.in b/java/Makefile.in index b5ab58fe576..4e137157b69 100644 --- a/java/Makefile.in +++ b/java/Makefile.in | |||
| @@ -124,7 +124,8 @@ CROSS_LIBSRC_BINS := $(top_builddir)/cross/lib-src/ctags \ | |||
| 124 | $(top_builddir)/cross/lib-src/emacsclient \ | 124 | $(top_builddir)/cross/lib-src/emacsclient \ |
| 125 | $(top_builddir)/cross/lib-src/etags | 125 | $(top_builddir)/cross/lib-src/etags |
| 126 | CROSS_LIBSRC_BINS_MOVEMAIL := $(top_builddir)/cross/lib-src/movemail | 126 | CROSS_LIBSRC_BINS_MOVEMAIL := $(top_builddir)/cross/lib-src/movemail |
| 127 | CROSS_BINS = $(CROSS_SRC_BINS) $(CROSS_LIBSRC_BINS) | 127 | CROSS_EXEC_BINS := $(top_builddir)/exec/exec1 $(top_builddir)/exec/loader |
| 128 | CROSS_BINS = $(CROSS_SRC_BINS) $(CROSS_LIBSRC_BINS) $(CROSS_EXEC_BINS) | ||
| 128 | 129 | ||
| 129 | ifneq ($(emacs_use_mailutils),yes) | 130 | ifneq ($(emacs_use_mailutils),yes) |
| 130 | CROSS_LIBSRC_BINS := $(CROSS_LIBSRC_BINS) $(CROSS_LIBSRC_BINS_MOVEMAIL) | 131 | CROSS_LIBSRC_BINS := $(CROSS_LIBSRC_BINS) $(CROSS_LIBSRC_BINS_MOVEMAIL) |
| @@ -159,6 +160,12 @@ $(CROSS_LIBSRC_BINS) &: $(CROSS_ARCHIVES) | |||
| 159 | $(CROSS_ARCHIVES): | 160 | $(CROSS_ARCHIVES): |
| 160 | $(MAKE) -C $(top_builddir)/cross lib/libgnu.a | 161 | $(MAKE) -C $(top_builddir)/cross lib/libgnu.a |
| 161 | 162 | ||
| 163 | # These two binaries are helpers used to execute binaries on Android | ||
| 164 | # 10 and later. | ||
| 165 | |||
| 166 | $(CROSS_EXEC_BINS) &: | ||
| 167 | $(MAKE) -C $(top_builddir)/exec $(notdir $(CROSS_EXEC_BINS)) | ||
| 168 | |||
| 162 | # This is needed to generate the ``.directory-tree'' file used by the | 169 | # This is needed to generate the ``.directory-tree'' file used by the |
| 163 | # Android emulations of readdir and faccessat. | 170 | # Android emulations of readdir and faccessat. |
| 164 | 171 | ||