mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-05 19:35:52 +03:00
Fix a braino in new relro configure test.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2011-07-11 Roland McGrath <roland@hack.frob.com>
|
||||||
|
|
||||||
|
* configure.in (-z relro check): Fix test code to make the variable
|
||||||
|
truly const.
|
||||||
|
* configure: Regenerated.
|
||||||
|
|
||||||
2011-07-11 Ulrich Drepper <drepper@gmail.com>
|
2011-07-11 Ulrich Drepper <drepper@gmail.com>
|
||||||
|
|
||||||
* nscd/nscd.h (struct traced_file): Define.
|
* nscd/nscd.h (struct traced_file): Define.
|
||||||
|
2
configure
vendored
2
configure
vendored
@@ -6404,7 +6404,7 @@ else
|
|||||||
|
|
||||||
int _start (void) { return 42; }
|
int _start (void) { return 42; }
|
||||||
extern void _exit (int);
|
extern void _exit (int);
|
||||||
const void *relro[] = { &_start, &_exit, 0 };
|
const void *const relro[] = { &_start, &_exit, 0 };
|
||||||
|
|
||||||
_ACEOF
|
_ACEOF
|
||||||
cat > conftest.awk <<\EOF
|
cat > conftest.awk <<\EOF
|
||||||
|
@@ -1607,7 +1607,7 @@ EOF
|
|||||||
AC_LANG_CONFTEST([AC_LANG_SOURCE([[
|
AC_LANG_CONFTEST([AC_LANG_SOURCE([[
|
||||||
int _start (void) { return 42; }
|
int _start (void) { return 42; }
|
||||||
extern void _exit (int);
|
extern void _exit (int);
|
||||||
const void *relro[] = { &_start, &_exit, 0 };
|
const void *const relro[] = { &_start, &_exit, 0 };
|
||||||
]])])
|
]])])
|
||||||
cat > conftest.awk <<\EOF
|
cat > conftest.awk <<\EOF
|
||||||
BEGIN {
|
BEGIN {
|
||||||
|
Reference in New Issue
Block a user