From 4cd4358388c02ca25f626b3e66a02df79a8ce968 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 20 Nov 2014 13:29:41 -0800 Subject: [PATCH] Update plt-main tests for x32 * ld-x86-64/plt-main1.rd: Updated for x32. * ld-x86-64/plt-main2.rd: Likewise. * ld-x86-64/plt-main3.rd: Likewise. * ld-x86-64/plt-main4.rd: Likewise. --- ld/testsuite/ChangeLog | 7 +++++++ ld/testsuite/ld-x86-64/plt-main1.rd | 2 +- ld/testsuite/ld-x86-64/plt-main2.rd | 2 +- ld/testsuite/ld-x86-64/plt-main3.rd | 4 ++-- ld/testsuite/ld-x86-64/plt-main4.rd | 4 ++-- 5 files changed, 13 insertions(+), 6 deletions(-) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 5c5fe884e52..f959d555f66 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2014-11-20 H.J. Lu + + * ld-x86-64/plt-main1.rd: Updated for x32. + * ld-x86-64/plt-main2.rd: Likewise. + * ld-x86-64/plt-main3.rd: Likewise. + * ld-x86-64/plt-main4.rd: Likewise. + 2014-11-20 H.J. Lu * ld-x86-64/plt-lib.c: New file. diff --git a/ld/testsuite/ld-x86-64/plt-main1.rd b/ld/testsuite/ld-x86-64/plt-main1.rd index 9ce38148e76..421d9110030 100644 --- a/ld/testsuite/ld-x86-64/plt-main1.rd +++ b/ld/testsuite/ld-x86-64/plt-main1.rd @@ -1,3 +1,3 @@ #... -[0-9a-f ]+R_X86_64_GOTPCREL +0+ bar - 4 +[0-9a-f ]+R_X86_64_GOTPCREL +0+ +bar - 4 #pass diff --git a/ld/testsuite/ld-x86-64/plt-main2.rd b/ld/testsuite/ld-x86-64/plt-main2.rd index 5cc55cac3e9..f074ede3a91 100644 --- a/ld/testsuite/ld-x86-64/plt-main2.rd +++ b/ld/testsuite/ld-x86-64/plt-main2.rd @@ -1,3 +1,3 @@ #... -[0-9a-f ]+R_X86_64_64 +0+ foo \+ 0 +[0-9a-f ]+R_X86_64_(64|32) +0+ +foo \+ 0 #pass diff --git a/ld/testsuite/ld-x86-64/plt-main3.rd b/ld/testsuite/ld-x86-64/plt-main3.rd index 46d7cc969b3..f3d294e2436 100644 --- a/ld/testsuite/ld-x86-64/plt-main3.rd +++ b/ld/testsuite/ld-x86-64/plt-main3.rd @@ -1,5 +1,5 @@ #... -[0-9a-f ]+R_X86_64_GOTPCREL +0+ bar - 4 +[0-9a-f ]+R_X86_64_GOTPCREL +0+ +bar - 4 #... -[0-9a-f ]+R_X86_64_PLT32 +0+ bar - 4 +[0-9a-f ]+R_X86_64_PLT32 +0+ +bar - 4 #pass diff --git a/ld/testsuite/ld-x86-64/plt-main4.rd b/ld/testsuite/ld-x86-64/plt-main4.rd index 8be3f86ff7b..7f33f3a95f5 100644 --- a/ld/testsuite/ld-x86-64/plt-main4.rd +++ b/ld/testsuite/ld-x86-64/plt-main4.rd @@ -1,5 +1,5 @@ #... -[0-9a-f ]+R_X86_64_GOTPCREL +0+ foo - 4 +[0-9a-f ]+R_X86_64_GOTPCREL +0+ +foo - 4 #... -[0-9a-f ]+R_X86_64_PLT32 +0+ foo - 4 +[0-9a-f ]+R_X86_64_PLT32 +0+ +foo - 4 #pass -- 2.30.2