From b1a912a8a6ff472a49b2e0a09cfd433adfc2cb24 Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Sat, 18 May 2024 21:53:38 -0400 Subject: reorganization, cross compiler --- patches/binutils.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 patches/binutils.txt (limited to 'patches/binutils.txt') diff --git a/patches/binutils.txt b/patches/binutils.txt new file mode 100644 index 0000000..b2dcff7 --- /dev/null +++ b/patches/binutils.txt @@ -0,0 +1,17 @@ +diff --git a/ld/emulparams/elf_x86_64.sh b/ld/emulparams/elf_x86_64.sh +index 466da2c4..806cd413 100644 +--- a/ld/emulparams/elf_x86_64.sh ++++ b/ld/emulparams/elf_x86_64.sh +@@ -14,9 +14,9 @@ SCRIPT_NAME=elf + ELFSIZE=64 + OUTPUT_FORMAT="elf64-x86-64" + NO_REL_RELOCS=yes +-TEXT_START_ADDR=0x400000 +-MAXPAGESIZE="CONSTANT (MAXPAGESIZE)" +-COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)" ++TEXT_START_ADDR=0x200000 ++MAXPAGESIZE="0x1000" ++COMMONPAGESIZE="0x1000" + ARCH="i386:x86-64" + MACHINE= + TEMPLATE_NAME=elf -- cgit v1.2.3