mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-21 01:12:32 +08:00
6f4a117fe1
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.
28 lines
1.1 KiB
Makefile
28 lines
1.1 KiB
Makefile
|
|
tmpdir/secidx\.x: +file format pei-.*
|
|
|
|
Contents of section \.text:
|
|
.*1000 3e3e3e3e 3c3c3c3c 3e3e3e3e 3e3c3c3c .*
|
|
.*1010 3e3e3e3e 3e3e3c3c 3e3e3e3e 3e3e3e3c .*
|
|
.*1020 3c3c3c3c 3e3e3e3e 3e000000 00000000 .*
|
|
.*1030 ffffffff ffffffff 00000000 00000000 .*
|
|
.*1040 ffffffff ffffffff 00000000 00000000 .*
|
|
Contents of section \.data:
|
|
.*2000 3e3e3e3e 3c3c3c3c 3e3e3e3e 3e3c3c3c .*
|
|
.*2010 3e3e3e3e 3e3e3c3c 3e3e3e3e 3e3e3e3c .*
|
|
.*2020 3e3e3e3e 01001101 00110100 11010011 .*
|
|
.*2030 3c3c3c3c 3c3c3c3c 3e3e3e3e 02001102 .*
|
|
.*2040 00110200 11020011 3c3c3c3c 3c3c3c3c .*
|
|
.*2050 3e3e3e3e 03001103 00110300 11030011 .*
|
|
.*2060 3c3c3c3c 3c3c3c3c 3e3e3e3e 01001102 .*
|
|
.*2070 00110300 113c3c3c 3c3c3c3c 3c000000 .*
|
|
.*2080 3c3c3c3e 3e3e3e3e 3e000000 .*
|
|
Contents of section \.rdata:
|
|
.*3000 3e3e3e3e 3c3c3c3c 3e3e3e3e 3e3c3c3c .*
|
|
.*3010 3e3e3e3e 3e3e3c3c 3e3e3e3e 3e3e3e3c .*
|
|
.*3020 3e3e3e3e 00000000 00000000 00000000 .*
|
|
.*3030 3c3c3c3e 3e3e3e3e 3e000000 .*
|
|
Contents of section \.idata:
|
|
.*4000 00000000 00000000 00000000 00000000 .*
|
|
.*4010 00000000 00000000 .*
|