summaryrefslogtreecommitdiff
path: root/m68k-unknown-amigaos/recipes/patches/gcc/gcc.calls.c.p
blob: b75a0f5f7042780a26dcda8b25df51e402e2d9e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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.