This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
libc configure check for relro
- From: Roland McGrath <roland at hack dot frob dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Sat, 2 Jul 2011 17:09:42 -0700 (PDT)
- Subject: libc configure check for relro
You made this change (54beacab):
2004-09-20 Jakub Jelinek <jakub@redhat.com>
* configure.in (libc_cv_z_relro): Only set to yes if linker script
contains DATA_SEGMENT_RELRO_END.
I want to rewrite the test based on grepping the linker script with a
proper empirical test for the necessary linker behavior. Can you tell me
what was the specific misbehavior of older linkers that grokked -z relro
but didn't use DATA_SEGMENT_RELRO_END that you needed to check for?
Thanks,
Roland