]>
Commit | Line | Data |
---|---|---|
5e993f12 | 1 | --- libc-string-x86_64-head.diff |
2 | +++ libc-string-x86_64-head.diff | |
3 | @@ -244,7 +244,7 @@ | |
4 | +# include <rtld-global-offsets.h> | |
5 | +#endif | |
6 | + | |
7 | -+#ifdef PIC | |
8 | ++#if defined PIC && defined SHARED | |
9 | + .globl _rtld_local_ro | |
10 | + .hidden _rtld_local_ro | |
11 | + .set _rtld_local_ro,_rtld_global_ro | |
12 | @@ -715,7 +715,7 @@ | |
13 | - and the return value is the byte after the last one copied in | |
14 | - the destination. */ | |
15 | -#define MEMPCPY_P (defined memcpy) | |
16 | -+#ifdef PIC | |
17 | ++#if defined PIC && defined SHARED | |
18 | + .globl _rtld_local_ro | |
19 | + .hidden _rtld_local_ro | |
20 | + .set _rtld_local_ro,_rtld_global_ro | |
21 | @@ -1298,7 +1298,7 @@ | |
22 | -/* This is somehow experimental and could made dependend on the cache | |
23 | - size. */ | |
24 | -#define LARGE $120000 | |
25 | -+#ifdef PIC | |
26 | ++#if defined PIC && defined SHARED | |
27 | + .globl _rtld_local_ro | |
28 | + .hidden _rtld_local_ro | |
29 | + .set _rtld_local_ro,_rtld_global_ro | |
30 | @@ -2255,7 +2255,7 @@ | |
31 | ||
32 | -#ifndef USE_AS_STPCPY | |
33 | -# define STRCPY strcpy | |
34 | -+#ifdef PIC | |
35 | ++#if defined PIC && defined SHARED | |
36 | + .globl _rtld_local_ro | |
37 | + .hidden _rtld_local_ro | |
38 | + .set _rtld_local_ro,_rtld_global_ro | |
39 | @@ -3543,7 +3543,7 @@ | |
40 | +# include <rtld-global-offsets.h> | |
41 | +#endif | |
42 | + | |
43 | -+#ifdef PIC | |
44 | ++#if defined PIC && defined SHARED | |
45 | + .globl _rtld_local_ro | |
46 | + .hidden _rtld_local_ro | |
47 | + .set _rtld_local_ro,_rtld_global_ro |