summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--patches/gcc-15.1.0-x86_64-pc-elf/0001-no-red-zone.patch15
2 files changed, 17 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 7140cda..1593daf 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
mkfile_dir := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
BINUTILS_VERSION ?= 2.44
-GCC_VERSION ?= 14.2.0
-GDB_VERSION ?= 16.2
+GCC_VERSION ?= 15.1.0
+GDB_VERSION ?= 16.3
NEWLIB_VERSION ?= 4.5.0.20241231
TARGET ?= x86_64-pc-elf
diff --git a/patches/gcc-15.1.0-x86_64-pc-elf/0001-no-red-zone.patch b/patches/gcc-15.1.0-x86_64-pc-elf/0001-no-red-zone.patch
new file mode 100644
index 0000000..260102d
--- /dev/null
+++ b/patches/gcc-15.1.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
+@@ -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*)