[PATCH] debug: Link tst-sprintf-fortify-rdonly-static with -Wl,-z,relro [BZ 33183]

Florian Weimer fweimer@redhat.com
Wed Jul 23 21:36:54 GMT 2025


* John David Anglin:

>> Therefore, I would prefer a different fix:
>> 
>> For !SHARED builds, _dl_readonly_area should not treat the RELRO area of
>> the main link map as read-only.
>> 
>> And then we build tst-sprintf-fortify-rdonly-static slightly
>> differently, adjusting the test expecation.

> Will you implement this fix?

I sent a patch.  It would be great if you could test it.

Thanks,
Florian



More information about the Libc-alpha mailing list