[PATCH] RISC-V: Protect .got with relro
Jeff Law
jeffreyalaw@gmail.com
Wed Sep 27 21:55:49 GMT 2023
On 9/25/23 03:47, Andreas Schwab via Binutils wrote:
> On Sep 25 2023, Palmer Dabbelt wrote:
>
>> I think we also want something like this
>>
>> diff --git a/ld/testsuite/ld-elf/binutils.exp b/ld/testsuite/ld-elf/binutils.exp
>> index 674e8e9a575..b38e29ed6fb 100644
>> --- a/ld/testsuite/ld-elf/binutils.exp
>> +++ b/ld/testsuite/ld-elf/binutils.exp
>> @@ -95,7 +95,6 @@ proc binutils_test { prog_name ld_options test {test_name ""} {readelf_options "
>> || [istarget "mips*-*-*"] \
>> || [istarget "nios2*-*-*"] \
>> || [istarget "or1k-*-*"] \
>> - || [istarget "riscv*-*-*"] \
>> || [istarget "sh*-*-*"] \
>> || [istarget "x86_64-*-rdos*"])]
>> # Check if GNU_RELRO segment is generated.
>
> Thanks, I will squash that in.
Thanks for taking care of the RELRO stuff. One of the many items that
could have easily slipped through the cracks.
jeff
More information about the Binutils
mailing list