summaryrefslogtreecommitdiff
path: root/m68k-unknown-amigaos/recipes/patches/gcc/gcc.calls.c.p
diff options
context:
space:
mode:
Diffstat (limited to 'm68k-unknown-amigaos/recipes/patches/gcc/gcc.calls.c.p')
-rw-r--r--m68k-unknown-amigaos/recipes/patches/gcc/gcc.calls.c.p24
1 files changed, 24 insertions, 0 deletions
diff --git a/m68k-unknown-amigaos/recipes/patches/gcc/gcc.calls.c.p b/m68k-unknown-amigaos/recipes/patches/gcc/gcc.calls.c.p
new file mode 100644
index 0000000..b75a0f5
--- /dev/null
+++ b/m68k-unknown-amigaos/recipes/patches/gcc/gcc.calls.c.p
@@ -0,0 +1,24 @@
+--- gcc-3.4.6/gcc/calls.c 2013-05-19 20:08:05.000000000 +0200
++++ gcc/calls.c 2013-05-19 20:23:32.000000000 +0200
+@@ -3777,6 +3777,10 @@
+ }
+ fun = orgfun;
+
++#ifdef LIBCALL_ENCODE_SECTION_INFO
++ LIBCALL_ENCODE_SECTION_INFO (fun);
++#endif
++
+ /* Ensure current function's preferred stack boundary is at least
+ what we need. */
+ if (cfun->preferred_stack_boundary < PREFERRED_STACK_BOUNDARY)
+@@ -3812,6 +3816,10 @@
+
+ /* ??? Unfinished: must pass the memory address as an argument. */
+
++#ifdef LIBCALL_ENCODE_SECTION_INFO
++ LIBCALL_ENCODE_SECTION_INFO (fun);
++#endif
++
+ /* Copy all the libcall-arguments out of the varargs data
+ and into a vector ARGVEC.
+