[PATCH] RISC-V: Protect .got with relro
Andreas Schwab
schwab@suse.de
Mon Sep 25 09:47:11 GMT 2023
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.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
More information about the Binutils
mailing list