diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2020-07-16 16:26:10 +0100 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2020-07-24 11:44:43 +0100 |
commit | edfb3a30a6cef8e8c25197a7534628961233d772 (patch) | |
tree | 8b43aa7560a31dfbcaf101fd7a5072b09151b1c5 /libitm | |
parent | b0e5ec934e7a7473275326e2aee58eaf252cdff1 (diff) | |
download | gcc-edfb3a30a6cef8e8c25197a7534628961233d772.zip gcc-edfb3a30a6cef8e8c25197a7534628961233d772.tar.gz gcc-edfb3a30a6cef8e8c25197a7534628961233d772.tar.bz2 |
aarch64: add PAC GNU property note to libgcc lse.S
This note is not used anywhere currently but it is supposed to mark
objects if the return address is protected with PAC on the stack.
Since lse.S only has leaf functions the return address is never
saved on the stack so we can add the note.
The note is only added if pac-ret is enabled because it can cause
problems with old linkers and we don't have checks for that. This
can be changed later to be unconditional, for now it is consistent
with how gcc generates the notes.
libgcc/ChangeLog:
* config/aarch64/lse.S: Add PAC property note.
Diffstat (limited to 'libitm')
0 files changed, 0 insertions, 0 deletions