aboutsummaryrefslogtreecommitdiffstats
path: root/main/gcc/gcc-libgcc-x86.get_pc_thunk.bx.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-09-10 07:35:03 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-09-10 09:05:39 +0000
commit63cbdb27e349a4dce9d6c51fdcf86df802e9d6c6 (patch)
tree685d0a9af700c5a541a1e6444f25d2d60e300bba /main/gcc/gcc-libgcc-x86.get_pc_thunk.bx.patch
parent75339e69c19646dedb30dd7f72806b477ead32cf (diff)
downloadaports-63cbdb27e349a4dce9d6c51fdcf86df802e9d6c6.tar.bz2
aports-63cbdb27e349a4dce9d6c51fdcf86df802e9d6c6.tar.xz
main/gcc: upgrade to 4.7.1
Disable gcc-go for now. It needs ucontext which we don't have.
Diffstat (limited to 'main/gcc/gcc-libgcc-x86.get_pc_thunk.bx.patch')
-rw-r--r--main/gcc/gcc-libgcc-x86.get_pc_thunk.bx.patch38
1 files changed, 0 insertions, 38 deletions
diff --git a/main/gcc/gcc-libgcc-x86.get_pc_thunk.bx.patch b/main/gcc/gcc-libgcc-x86.get_pc_thunk.bx.patch
deleted file mode 100644
index 551e6150ab..0000000000
--- a/main/gcc/gcc-libgcc-x86.get_pc_thunk.bx.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-Index: libgcc/config/i386/morestack.S
-===================================================================
---- ./libgcc/config/i386/morestack.S (revision 173993)
-+++ ./libgcc/config/i386/morestack.S (revision 173994)
-@@ -278,8 +278,7 @@
- movl 4(%esp),%eax # Function argument.
- movl %eax,(%esp)
- #ifdef __PIC__
--#undef __i686
-- call __i686.get_pc_thunk.bx # %ebx may not be set up for us.
-+ call __x86.get_pc_thunk.bx # %ebx may not be set up for us.
- addl $_GLOBAL_OFFSET_TABLE_, %ebx
- call _Unwind_Resume@PLT # Resume unwinding.
- #else
-@@ -449,6 +448,23 @@
- .size __morestack, . - __morestack
- #endif
-
-+#if !defined(__x86_64__) && defined(__PIC__)
-+# Output the thunk to get PC into bx, since we use it above.
-+ .section .text.__x86.get_pc_thunk.bx,"axG",@progbits,__x86.get_pc_thunk.bx,comdat
-+ .globl __x86.get_pc_thunk.bx
-+ .hidden __x86.get_pc_thunk.bx
-+#ifdef __ELF__
-+ .type __x86.get_pc_thunk.bx, @function
-+#endif
-+__x86.get_pc_thunk.bx:
-+ .cfi_startproc
-+ movl (%esp), %ebx
-+ ret
-+ .cfi_endproc
-+#ifdef __ELF__
-+ .size __x86.get_pc_thunk.bx, . - __x86.get_pc_thunk.bx
-+#endif
-+#endif
-
- # The exception table. This tells the personality routine to execute
- # the exception handler.