diff options
author | Benji Dial <benji@benjidial.net> | 2024-05-18 21:53:38 -0400 |
---|---|---|
committer | Benji Dial <benji@benjidial.net> | 2024-05-18 21:53:38 -0400 |
commit | b1a912a8a6ff472a49b2e0a09cfd433adfc2cb24 (patch) | |
tree | 5009d4415ba13e4baa37f3d0271852528130fd3b /patches/binutils.txt | |
parent | a8a80d326de9550b2a25b1255a2093ab43219ede (diff) | |
download | hilbert-os-b1a912a8a6ff472a49b2e0a09cfd433adfc2cb24.tar.gz |
reorganization, cross compiler
Diffstat (limited to 'patches/binutils.txt')
-rw-r--r-- | patches/binutils.txt | 17 |
1 files changed, 17 insertions, 0 deletions
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 |