libc configure check for relro

Roland McGrath roland@hack.frob.com
Sun Jul 3 01:27:00 GMT 2011


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



More information about the Libc-alpha mailing list