From 4d3c8a89531d73d294d0ce50ff1fde3519d9674e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milo=C5=A1=20Prchl=C3=ADk?= Date: Tue, 2 Jul 2024 16:32:50 +0200 Subject: [PATCH] Add coverage for RHEL-42765 Aarch64: Fix DT_RELR with discarded sections --- tests/testsuite/interesting-cases.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/testsuite/interesting-cases.sh b/tests/testsuite/interesting-cases.sh index cda90e4..ca792ac 100644 --- a/tests/testsuite/interesting-cases.sh +++ b/tests/testsuite/interesting-cases.sh @@ -69,6 +69,16 @@ function verify_interesting_cases () { "Please support DT_RELR/pack-relative-relocs in RHEL10 on aarch64" \ "https://issues.redhat.com/browse/RHEL-31846" + [ "$arch" == "aarch64" ] && verify_test "ld-aarch64/relr-discard-pie" \ + "$tool_log" \ + "Aarch64: Fix DT_RELR with discarded sections" \ + "https://issues.redhat.com/browse/RHEL-42765" + + [ "$arch" == "aarch64" ] && verify_test "ld-aarch64/relr-discard-shared" \ + "$tool_log" \ + "Aarch64: Fix DT_RELR with discarded sections" \ + "https://issues.redhat.com/browse/RHEL-42765" + verify_test "ld/section-order-1a" \ "$tool_log" \ "Implement --section-ordering-file in the BFD linker" \