Commit e906a43
committed
ELF: Do not rewrite IFUNC relocations to point to PLT if no GOT/PLT needed.
This enables the use of IFUNC to implement custom relocation types,
such as the PAuth relocation types that will be introduced in a
subsequent pull request.
TODO:
- Add tests.
- Fix broken tests.
Pull Request: llvm#1335311 parent 86933af commit e906a43
3 files changed
+12
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
869 | 869 | | |
870 | 870 | | |
871 | 871 | | |
872 | | - | |
| 872 | + | |
| 873 | + | |
873 | 874 | | |
874 | 875 | | |
875 | 876 | | |
| |||
1107 | 1108 | | |
1108 | 1109 | | |
1109 | 1110 | | |
1110 | | - | |
1111 | | - | |
1112 | 1111 | | |
1113 | 1112 | | |
1114 | 1113 | | |
| |||
1194 | 1193 | | |
1195 | 1194 | | |
1196 | 1195 | | |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
1197 | 1199 | | |
1198 | 1200 | | |
1199 | 1201 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
45 | 47 | | |
46 | 48 | | |
47 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1707 | 1707 | | |
1708 | 1708 | | |
1709 | 1709 | | |
| 1710 | + | |
| 1711 | + | |
| 1712 | + | |
| 1713 | + | |
| 1714 | + | |
1710 | 1715 | | |
1711 | 1716 | | |
1712 | | - | |
1713 | 1717 | | |
1714 | 1718 | | |
1715 | 1719 | | |
| |||
0 commit comments