summaryrefslogtreecommitdiff
path: root/patches/gcc-16.1.0-x86_64-pc-elf/0001-platform.patch
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2026-04-30 18:08:24 +0200
committerFelix Morgner <felix.morgner@ost.ch>2026-04-30 18:08:24 +0200
commit3fff4803a38c9e3ae22844319d6392e96ee7042e (patch)
tree00faee8583a5971c013b0280f9fab9c4d17e384b /patches/gcc-16.1.0-x86_64-pc-elf/0001-platform.patch
parent72708631dafb093e66b9caf893ed8ac6c147694c (diff)
downloadtoolchains-16.1.0-1.tar.xz
toolchains-16.1.0-1.zip
gcc: update to 16.1.016.1.0-1
Diffstat (limited to 'patches/gcc-16.1.0-x86_64-pc-elf/0001-platform.patch')
-rw-r--r--patches/gcc-16.1.0-x86_64-pc-elf/0001-platform.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/patches/gcc-16.1.0-x86_64-pc-elf/0001-platform.patch b/patches/gcc-16.1.0-x86_64-pc-elf/0001-platform.patch
new file mode 100644
index 0000000..2b7961b
--- /dev/null
+++ b/patches/gcc-16.1.0-x86_64-pc-elf/0001-platform.patch
@@ -0,0 +1,15 @@
+--- /dev/null
++++ gcc/config/i386/t-x86_64-pc-elf
+@@ -0,0 +1,2 @@
++MULTILIB_EXTRA_OPTS += mno-red-zone mcmodel=kernel
++CRTSTUFF_T_CFLAGS = -mno-red-zone -mcmodel=kernel
+--- gcc/config.gcc 2024-08-01 10:17:14.000000000 +0200
++++ gcc/config.gcc 2024-09-16 14:03:02.049140896 +0200
+@@ -1960,6 +1960,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*)