This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH][GCC][AARCH64] Add effective-target check to b key execution tests
- From: Sam Tebbs <Sam dot Tebbs at arm dot com>
- To: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Cc: Richard Earnshaw <Richard dot Earnshaw at arm dot com>, Marcus Shawcroft <Marcus dot Shawcroft at arm dot com>, James Greenhalgh <James dot Greenhalgh at arm dot com>, nd <nd at arm dot com>
- Date: Wed, 7 Aug 2019 15:57:06 +0000
- Subject: [PATCH][GCC][AARCH64] Add effective-target check to b key execution tests
- Arc-authentication-results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=arm.com;dmarc=pass action=none header.from=arm.com;dkim=pass header.d=arm.com;arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=j9+oGJwRgEUTI6hqFWs1tsygCgeAvzJs1m0Z9BxIwdw=; b=CM+621xRqiWmcthLNPiBnRd4wDR8iQTPv9/MNABXhMdpV26QTlxRs/2cQ/y3HjSFMhu+XQwDSo1GM14JdGOYje325t+F2r496r9j20ufOaG+Q/puK5wSPdV55N1BRaebuNEtKQb86+k82yXIhYVyvuGIZfL1tDmV6sKQ/lD/oLKHiFRMPqj46hCJUoj4dZiSRbgzl2Gygil6iGmxwqvAjz56aVrGCDlgYmCjKirx+fEY+ZR0d8Qz3oJIWIqw93Rz2hH/Xf/R7XAUwePsAf71vo3fcia03nbhwwWuoaJkn3P39b6Lp0HVs86TESEAyaZ6L2KarSxLx+0gWY/teq65bA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bIr7tLZ9C/m1COvgP2ZYvOjQae6804YrEd03SxUnQ8DsF7h/gf4b5KIChUPM8TO2OrdEyMgbKUM9/BsD8lmWUExU5+j/HQ8/8XGlCUc7x4rW3kP1Kw+mEyfsNhQzE9RAOUNI/r9P/Hssh71Av1oSLWY4oZTaVOh7FzhGszNlxaR8L0z4okglSqIPGwmQegtujc/YcWwp/LPp3c4iqY6bVmyMIGnk2wE2aR6fPJYH5g8yqS9QxuL/gAs0QFKW4XyAECT4gJar0nXH9C7tdxQyE3yfbH7/2K35MwZeVh6wYs9vsmeQHEp7VMK/bSVQkyHWpv6DrD+C8+iTjCmVvOHSXg==
- Original-authentication-results: spf=none (sender IP is ) smtp.mailfrom=Sam dot Tebbs at arm dot com;
Hi all,
This patch adds an effective target check to the pointer authentication B key execution tests. These were failing with an assembler error when run with a non-recent version of binutils, and this change will instead make them unsupported in such cases.
Tested with a recent version of binutils where it passes, and with a non-recent version where it is unsupported.
OK for trunk?
Sam
gcc/testsuite
2019-08-02 Sam Tebbs<sam.tebbs@arm.com>
* lib/target-supports.exp
(check_effective_target_arm_v8_4a_bkey_directive): New proc.
* g++.target/aarch64/return_address_sign_b_exception.C,
return_address_sign_ab_exception.C: Add dg-require-effective-target
checks.
Attachment:
diff
Description: diff