mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
Quash a warning in strstr-c.c built for static.
This commit is contained in:
parent
4b3d3e282a
commit
661607b3dd
@ -1,5 +1,8 @@
|
|||||||
2011-07-14 Roland McGrath <roland@hack.frob.com>
|
2011-07-14 Roland McGrath <roland@hack.frob.com>
|
||||||
|
|
||||||
|
* sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
|
||||||
|
Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
|
||||||
|
|
||||||
* configure.in (-z relro check): Adjust test code to add a large
|
* configure.in (-z relro check): Adjust test code to add a large
|
||||||
writable data section after it.
|
writable data section after it.
|
||||||
* configure: Regenerated.
|
* configure: Regenerated.
|
||||||
|
@ -1,9 +1,11 @@
|
|||||||
#include "init-arch.h"
|
#include "init-arch.h"
|
||||||
|
|
||||||
#define STRSTR __strstr_ia32
|
#define STRSTR __strstr_ia32
|
||||||
|
#if defined SHARED && defined DO_VERSIONING && !defined NO_HIDDEN
|
||||||
#undef libc_hidden_builtin_def
|
#undef libc_hidden_builtin_def
|
||||||
#define libc_hidden_builtin_def(name) \
|
#define libc_hidden_builtin_def(name) \
|
||||||
__hidden_ver1 (__strstr_ia32, __GI_strstr, __strstr_ia32);
|
__hidden_ver1 (__strstr_ia32, __GI_strstr, __strstr_ia32);
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "string/strstr.c"
|
#include "string/strstr.c"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user