Commit 955b180
Relax BTI PLT requirement in aaelf64
The ABI states that all PLT entries must start with BTI when
the DT_AARCH64_BTI_PLT dynamic tag is present. This is too
strict as the static linker can prove that some PLT entries
are never indirectly called so do not need to start with a
BTI. Both LLD and GNU ld do this.
Relax the wording to bring the specification in line with
implementations.
#1971 parent 03da0db commit 955b180
1 file changed
+6
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1881 | 1881 | | |
1882 | 1882 | | |
1883 | 1883 | | |
1884 | | - | |
1885 | | - | |
1886 | | - | |
1887 | | - | |
1888 | | - | |
| 1884 | + | |
| 1885 | + | |
| 1886 | + | |
| 1887 | + | |
| 1888 | + | |
| 1889 | + | |
1889 | 1890 | | |
1890 | 1891 | | |
1891 | 1892 | | |
| |||
0 commit comments