cross-cc-builder/patch-red-zone.diff

20 lines
811 B
Diff
Raw Permalink Normal View History

2022-12-19 20:32:40 +01:00
--- config.gcc 2020-06-01 20:40:52.562801089 +0200
+++ configm.gcc 2020-06-01 20:41:49.970576321 +0200
@@ -180,7 +180,7 @@
# the --with-sysroot configure option or the
# --sysroot command line option is used this
# will be relative to the sysroot.
-# target_type_format_char
+# target_type_format_char
# The default character to be used for formatting
# the attribute in a
# .type symbol_name, ${t_t_f_c}<property>
@@ -1865,6 +1865,7 @@
tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h newlib-stdint.h i386/i386elf.h"
;;
x86_64-*-elf*)
+ tmake_file="${tmake_file} i386/t-x86_64-elf" # include the new multilib configuration to prevent red-zone
tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h newlib-stdint.h i386/i386elf.h i386/x86-64.h"
;;
x86_64-*-rtems*)