diff options
author | ScrumpyJack <scrumpyjack@st.ilet.to> | 2016-08-18 12:58:33 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-18 21:11:39 +0000 |
commit | fad19051951129081c94d9ca641af6bbb1389e20 (patch) | |
tree | 4f6fac56923653086b9db2df0052a834b70b6966 /testing/rng-tools/fix-textrels-on-PIC-x86.patch | |
parent | 5df6fbc76284929c44d2db7db6d12f675a91958c (diff) | |
download | aports-fad19051951129081c94d9ca641af6bbb1389e20.tar.bz2 aports-fad19051951129081c94d9ca641af6bbb1389e20.tar.xz |
testing/[various]: move to community
Moves the following packages to community after successful build and testing.
bogofilter
corebird
fbpanel
hermes
libdbi-drivers
luufs
netsurf
opencpn
py-sensehat
rng-tools
volumeicon
Diffstat (limited to 'testing/rng-tools/fix-textrels-on-PIC-x86.patch')
-rw-r--r-- | testing/rng-tools/fix-textrels-on-PIC-x86.patch | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/testing/rng-tools/fix-textrels-on-PIC-x86.patch b/testing/rng-tools/fix-textrels-on-PIC-x86.patch deleted file mode 100644 index 88d0a7f905..0000000000 --- a/testing/rng-tools/fix-textrels-on-PIC-x86.patch +++ /dev/null @@ -1,50 +0,0 @@ ---- rng-tools/rdrand_asm.S -+++ rng-tools/rdrand_asm.S -@@ -49,6 +49,7 @@ - ret - ENDPROC(x86_rdrand_nlong) - -+#define INIT_PIC() - #define SETPTR(var,ptr) leaq var(%rip),ptr - #define PTR0 %rdi - #define PTR1 %rsi -@@ -84,7 +85,16 @@ - ret - ENDPROC(x86_rdrand_nlong) - -+#if defined(__PIC__) -+#undef __i686 /* gcc builtin define gets in our way */ -+#define INIT_PIC() \ -+ call __i686.get_pc_thunk.bx ; \ -+ addl $_GLOBAL_OFFSET_TABLE_, %ebx -+#define SETPTR(var,ptr) leal (var)@GOTOFF(%ebx),ptr -+#else -+#define INIT_PIC() - #define SETPTR(var,ptr) movl $(var),ptr -+#endif - #define PTR0 %eax - #define PTR1 %edx - #define PTR2 %ecx -@@ -101,6 +111,7 @@ - movl 8(%ebp), %eax - movl 12(%ebp), %edx - #endif -+ INIT_PIC() - - SETPTR(aes_round_keys, PTR2) - -@@ -166,6 +177,17 @@ - #endif - ret - ENDPROC(x86_aes_mangle) -+ -+#if defined(__i386__) && defined(__PIC__) -+ .section .gnu.linkonce.t.__i686.get_pc_thunk.bx,"ax",@progbits -+.globl __i686.get_pc_thunk.bx -+ .hidden __i686.get_pc_thunk.bx -+ .type __i686.get_pc_thunk.bx,@function -+__i686.get_pc_thunk.bx: -+ movl (%esp), %ebx -+ ret -+#endif -+ |