summaryrefslogtreecommitdiff
path: root/patches/gcc-14.2.0-x86_64-pc-elf
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2025-07-13 15:43:47 +0200
committerFelix Morgner <felix.morgner@ost.ch>2025-07-13 15:43:47 +0200
commit0d0dea1a8337595985c919d6329b01b38b0bd8d8 (patch)
tree6af97adb3876103ab825769ed54999162a66316d /patches/gcc-14.2.0-x86_64-pc-elf
parent771a1fabce59ee3614a578c894c46fc56d6db0ac (diff)
downloadteachos-toolchain-0d0dea1a8337595985c919d6329b01b38b0bd8d8.tar.xz
teachos-toolchain-0d0dea1a8337595985c919d6329b01b38b0bd8d8.zip
build: import jOS toolchain config
Diffstat (limited to 'patches/gcc-14.2.0-x86_64-pc-elf')
-rw-r--r--patches/gcc-14.2.0-x86_64-pc-elf/0001-no-red-zone.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/patches/gcc-14.2.0-x86_64-pc-elf/0001-no-red-zone.patch b/patches/gcc-14.2.0-x86_64-pc-elf/0001-no-red-zone.patch
new file mode 100644
index 0000000..e488a6e
--- /dev/null
+++ b/patches/gcc-14.2.0-x86_64-pc-elf/0001-no-red-zone.patch
@@ -0,0 +1,15 @@
+--- /dev/null
++++ gcc/config/i386/t-x86_64-pc-elf
+@@ -0,0 +1,2 @@
++MULTILIB_OPTIONS += mno-red-zone
++MULTILIB_DIRNAMES += no-red-zone
+--- gcc/config.gcc 2024-08-01 10:17:14.000000000 +0200
++++ gcc/config.gcc 2024-09-16 14:03:02.049140896 +0200
+@@ -1933,6 +1933,7 @@
+ tm_file="${tm_file} i386/unix.h i386/att.h elfos.h newlib-stdint.h i386/i386elf.h"
+ ;;
+ x86_64-*-elf*)
++ tmake_file="${tmake_file} i386/t-x86_64-pc-elf"
+ tm_file="${tm_file} i386/unix.h i386/att.h elfos.h newlib-stdint.h i386/i386elf.h i386/x86-64.h"
+ ;;
+ x86_64-*-rtems*)