Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/dietlibc/dietlib-i386-socketcall-also-with-pic.patch
blob: 5714fab9577bcab40753675ae1983fe360be164c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff --git a/i386/syscalls.h b/i386/syscalls.h
index c4c98629..94f9be53 100644
--- a/i386/syscalls.h
+++ b/i386/syscalls.h
@@ -368,7 +368,6 @@ sym: \
 .Lend##sym: ; \
 .size sym,.Lend##sym-sym
 
-#ifndef __PIC__
 #define __socketcall(name,NAME) \
 .text; \
 .type name,@function; \
@@ -381,6 +380,3 @@ __libc_##name: ; \
 	jmp socketcall; \
 .Lend##name:; \
 .size name,.Lend##name-name
-#else
-#define __socketcall(name,NAME)
-#endif