[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/30076] New: aarch64: stubs can add indirect branch that breaks B
From: |
nsz at gcc dot gnu.org |
Subject: |
[Bug ld/30076] New: aarch64: stubs can add indirect branch that breaks BTI |
Date: |
Fri, 03 Feb 2023 16:24:23 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=30076
Bug ID: 30076
Summary: aarch64: stubs can add indirect branch that breaks BTI
Product: binutils
Version: 2.35
Status: NEW
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: nsz at gcc dot gnu.org
Target Milestone: ---
ld may insert stubs with indirect branch if the call target is out of reach for
the direct call/branch instruction.
In BTI enaled code two stubs should be inserted with the second one having a
BTI and then direct branching to the original target.
alternatively BTI-safe code could be required to have BTI at the start of each
function that may be linker stub targets, but this would increase the generated
BTIs.
originally reported for gcc at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106671
--
You are receiving this mail because:
You are on the CC list for the bug.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug ld/30076] New: aarch64: stubs can add indirect branch that breaks BTI,
nsz at gcc dot gnu.org <=