mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 17:53:37 +08:00
Fix a braino in new relro configure test.
This commit is contained in:
parent
319b9ad4bc
commit
defe906180
@ -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>
|
||||
|
||||
* nscd/nscd.h (struct traced_file): Define.
|
||||
|
2
configure
vendored
2
configure
vendored
@ -6404,7 +6404,7 @@ else
|
||||
|
||||
int _start (void) { return 42; }
|
||||
extern void _exit (int);
|
||||
const void *relro[] = { &_start, &_exit, 0 };
|
||||
const void *const relro[] = { &_start, &_exit, 0 };
|
||||
|
||||
_ACEOF
|
||||
cat > conftest.awk <<\EOF
|
||||
|
@ -1607,7 +1607,7 @@ EOF
|
||||
AC_LANG_CONFTEST([AC_LANG_SOURCE([[
|
||||
int _start (void) { return 42; }
|
||||
extern void _exit (int);
|
||||
const void *relro[] = { &_start, &_exit, 0 };
|
||||
const void *const relro[] = { &_start, &_exit, 0 };
|
||||
]])])
|
||||
cat > conftest.awk <<\EOF
|
||||
BEGIN {
|
||||
|
Loading…
Reference in New Issue
Block a user