llvm-project/llvm/test/tools/llvm-objdump
Rui Ueyama 827c8a2b07 Object/COFF: Support large relocation table.
NumberOfRelocations field in COFF section table is only 16-bit wide. If an
object has more than 65535 relocations, the number of relocations is stored
to VirtualAddress field in the first relocation field, and a special flag
(IMAGE_SCN_LNK_NRELOC_OVFL) is set to Characteristics field.

In test we cheated a bit. I made up a test file so that it has
IMAGE_SCN_LNK_NRELOC_OVFL flag but the number of relocations is much smaller
than 65535. This is to avoid checking in a large test file just to test a
file with many relocations.

Differential Revision: http://llvm-reviews.chandlerc.com/D3139

llvm-svn: 204418
2014-03-21 00:44:19 +00:00
..
Inputs Object/COFF: Support large relocation table. 2014-03-21 00:44:19 +00:00
coff-many-relocs.test Object/COFF: Support large relocation table. 2014-03-21 00:44:19 +00:00
coff-private-headers.test llvm-objdump/COFF: Print SEH table addresses. 2014-02-20 06:51:07 +00:00
disassembly-show-raw.test Re-submit r191472 with a fix for big endian. 2013-09-27 21:04:00 +00:00
hex-relocation-addr.test llvm-objdump output hex to match binutils' objdump 2014-03-20 22:55:15 +00:00
lit.local.cfg Resurrect lit.local.cfg to un-break hexagon buildbot. 2013-09-27 21:26:38 +00:00
out-of-section-sym.test llvm-objdump: Do not attempt to disassemble symbols outside of section 2014-02-24 22:12:11 +00:00
win64-unwind-data.test llvm-objdump: Indent unwind info contents. 2014-03-04 19:23:56 +00:00