forked from OSchip/llvm-project
776f1d50c8
Non-loaded sections (whose unused load-address defaults to zero) should not be taken into account when calculating ImageBase, or ImageBase will be incorrectly set to 0. Patch by Andrew Scheidecker. Thanks Andrew! https://reviews.llvm.org/D51343 + // The Sections list may contain sections that weren't loaded for + // whatever reason: they may be debug sections, and ProcessAllSections + // is false, or they may be sections that contain 0 bytes. If the + // section isn't loaded, the load address will be 0, and it should not + // be included in the ImageBase calculation. llvm-svn: 344995 |
||
---|---|---|
.. | ||
Inputs | ||
COFF_i386.s | ||
COFF_x86_64.s | ||
COFF_x86_64_IMGREL.s | ||
CommonSymbols_allocation.s | ||
ELF-large-pic-relocations.s | ||
ELF-relaxed.s | ||
ELF_STT_FILE.s | ||
ELF_x64-64_PC8_relocations.s | ||
ELF_x64-64_PIC_relocations.s | ||
ELF_x86-64_PIC-small-relocations.s | ||
ELF_x86-64_debug_frame.s | ||
ELF_x86-64_none.yaml | ||
ELF_x86_64_StubBuf.s | ||
MachO_empty_ehframe.s | ||
MachO_i386_DynNoPIC_relocations.s | ||
MachO_i386_eh_frame.s | ||
MachO_x86-64_PIC_relocations.s | ||
coff-alignment.ll | ||
lit.local.cfg |