[PATCH v3 3/3] testsuite: fix typo in bti-plt-1-b.d test

Richard Earnshaw Richard.Earnshaw@arm.com
Thu Apr 17 10:32:31 GMT 2025


On 02/04/2025 14:05, Yury Khrustalev wrote:
> This test is not supposed to use -z force-bti
> ---
>   ld/testsuite/ld-aarch64/protections/bti-plt-1-b.d | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/ld/testsuite/ld-aarch64/protections/bti-plt-1-b.d b/ld/testsuite/ld-aarch64/protections/bti-plt-1-b.d
> index 1bf956ca19f..4b0e424f77e 100644
> --- a/ld/testsuite/ld-aarch64/protections/bti-plt-1-b.d
> +++ b/ld/testsuite/ld-aarch64/protections/bti-plt-1-b.d
> @@ -2,7 +2,7 @@
>   #source: bti-plt-1.s
>   #target: [check_shared_lib_support]
>   #as: -mabi=lp64 -defsym __property_bti__=1
> -#ld: -shared -z force-bti -T bti-plt.ld -L./tmpdir -lbti-plt-so
> +#ld: -shared -T bti-plt.ld -L./tmpdir -lbti-plt-so
>   #objdump: -dr -j .plt
>   
>   [^:]*: *file format elf64-.*aarch64

OK.


More information about the Binutils mailing list