aarch64: Add missing ACLE support for PAC-RET
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Thu, 2 Jul 2020 15:11:04 +0000 (16:11 +0100)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Mon, 13 Jul 2020 12:49:21 +0000 (13:49 +0100)
commita1faa8e2470b33e92f6274804bf7941fbb6e2d38
treef6c48e6e55c15011a26fed2cb76646a6eef7f096
parent6a391e06f953c3390b14020d8cacb6d55f81b2b9
aarch64: Add missing ACLE support for PAC-RET

Define the __ARM_FEATURE_PAC_DEFAULT feature test
macro when PAC-RET branch protection is enabled.

2020-07-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>

gcc/ChangeLog:

* config/aarch64/aarch64-c.c (aarch64_update_cpp_builtins): Add
__ARM_FEATURE_PAC_DEFAULT support.
gcc/config/aarch64/aarch64-c.c