Skip to content

Commit

Permalink
gcc/binutils: Update dynamic linker path
Browse files Browse the repository at this point in the history
  • Loading branch information
lutoma committed Dec 9, 2023
1 parent 3fcfdd8 commit 627b404
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion land/binutils/elf_i386_xelix.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
source_sh ${srcdir}/emulparams/elf_i386.sh
TEXT_START_ADDR=0x3200000
ELF_INTERPRETER_NAME=\"/usr/lib/ld-xelix.so\"
ELF_INTERPRETER_NAME=\"/usr/libexec/system/xelix-loader\"
2 changes: 1 addition & 1 deletion land/binutils/elf_x86_64_xelix.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
source_sh ${srcdir}/emulparams/elf_x86_64.sh
TEXT_START_ADDR=0x3200000
ELF_INTERPRETER_NAME=\"/usr/lib/ld-xelix.so\"
ELF_INTERPRETER_NAME=\"/usr/libexec/system/xelix-loader\"
2 changes: 1 addition & 1 deletion land/gcc/xelix.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
builtin_assert("system=posix"); \
} while (0);

#define DYNAMIC_LINKER "/usr/lib/ld-xelix.so"
#define DYNAMIC_LINKER "/usr/libexec/system/xelix-loader"

#undef LIB_SPEC
#define LIB_SPEC "-lc"
Expand Down
1 change: 0 additions & 1 deletion land/xelix-utils/src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,4 @@ install:
install -d $(DESTDIR)/usr/libexec/system/
install -D $(TARGETS) $(DESTDIR)/usr/bin/
install -D init xelix-loader $(DESTDIR)/usr/libexec/system
install -D ld-xelix.so $(DESTDIR)/usr/lib/
chmod u+s $(DESTDIR)/usr/bin/su

0 comments on commit 627b404

Please sign in to comment.