Fix a braino in new relro configure test.

This commit is contained in:
Roland McGrath 2011-07-11 18:38:13 -07:00
parent 319b9ad4bc
commit defe906180
3 changed files with 8 additions and 2 deletions

View File

@ -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
View File

@ -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

View File

@ -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 {