| commit | 6f4a117fe1ea8f5722ff9fd4db9a1ecc8bd26b84 | [log] [tgz] |
|---|---|---|
| author | Mark Harmstone <mark@harmstone.com> | Mon Jan 23 00:26:07 2023 +0000 |
| committer | Mark Harmstone <mark@harmstone.com> | Mon Jan 23 20:07:30 2023 +0000 |
| tree | 78fcfec080ae889c1550dc039b372c2ae568b7b7 | |
| parent | 29e09a42f1d1af3d97652e54b6b3cac68cf61d15 [diff] |
Add support for secidx relocations to aarch64-w64-mingw32 This patch adds support for the .secidx directive and its corresponding relocation to aarch64-w64-mingw32. As with x86, this is a two-byte LE integer which gets filled in with the 1-based index of the output section that a symbol ends up in. This is needed for PDBs, which represent addresses as a .secrel32, .secidx pair. The test is substantially the same as for amd64, but with changes made for padding and alignment.