]> git.eshelyaron.com Git - emacs.git/commit
Add helper binary `exec1'
authorPo Lu <luangruo@yahoo.com>
Sun, 30 Apr 2023 13:37:19 +0000 (21:37 +0800)
committerPo Lu <luangruo@yahoo.com>
Sun, 30 Apr 2023 13:37:19 +0000 (21:37 +0800)
commit368f6f3942a1f8b9483763a6ac24b3b3021e92bf
tree284ff92e18076ed7a8be3d2775ee450922b3166d
parent4289ed6cffdb5ea758a78037fe385fd7c4e23677
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.
29 files changed:
.gitignore
Makefile.in
autogen.sh
configure.ac
exec/Makefile.in [new file with mode: 0644]
exec/README [new file with mode: 0644]
exec/config-mips.m4.in [new file with mode: 0644]
exec/config.guess [new file with mode: 0755]
exec/config.h.in [new file with mode: 0644]
exec/config.sub [new file with mode: 0755]
exec/configure [new file with mode: 0755]
exec/configure.ac [new file with mode: 0644]
exec/deps.mk [new file with mode: 0644]
exec/exec.c [new file with mode: 0644]
exec/exec.h [new file with mode: 0644]
exec/exec1.c [new file with mode: 0644]
exec/install-sh [new file with mode: 0755]
exec/loader-aarch64.s [new file with mode: 0644]
exec/loader-armeabi.s [new file with mode: 0644]
exec/loader-mips64el.s [new file with mode: 0644]
exec/loader-mipsel.s [new file with mode: 0644]
exec/loader-x86.s [new file with mode: 0644]
exec/loader-x86_64.s [new file with mode: 0644]
exec/mipsel-user.h [new file with mode: 0644]
exec/mipsfpu.c [new file with mode: 0644]
exec/mipsfpu.h [new file with mode: 0644]
exec/test.c [new file with mode: 0644]
exec/trace.c [new file with mode: 0644]
java/Makefile.in