diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2025-07-18 12:56:51 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2025-07-18 12:56:51 +0200 |
| commit | 0c19acb575193ab7506d63aca338fc4b90e45605 (patch) | |
| tree | 14e3ab674cff059517c853ea09d81de38bdcc035 /patches/gcc-15.1.0-x86_64-pc-elf | |
| parent | 9a351529b07754cffb4612078cf00b42e2a0cc85 (diff) | |
| download | teachos-toolchain-0c19acb575193ab7506d63aca338fc4b90e45605.tar.xz teachos-toolchain-0c19acb575193ab7506d63aca338fc4b90e45605.zip | |
gcc: enable PIE output
Diffstat (limited to 'patches/gcc-15.1.0-x86_64-pc-elf')
| -rw-r--r-- | patches/gcc-15.1.0-x86_64-pc-elf/0001-no-red-zone.patch | 4 |
1 files changed, 3 insertions, 1 deletions
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 index 260102d..0c468a7 100644 --- 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 @@ -1,8 +1,10 @@ --- /dev/null +++ gcc/config/i386/t-x86_64-pc-elf -@@ -0,0 +1,2 @@ +@@ -0,0 +1,4 @@ +MULTILIB_OPTIONS += mno-red-zone ++MULTILIB_EXTRA_OPTS += mcmodel=large +MULTILIB_DIRNAMES += no-red-zone ++CRTSTUFF_T_CFLAGS = -mcmodel=large --- 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 @@ |
