mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-02-23 17:29:23 +08:00
In case if relocations number exceed 16bit values we have to hande such case by a special way, as described in COFF specification. "IMAGE_SCN_LNK_NRELOC_OVFL indicates that the count of relocations for the section exceeds the 16 bits that are reserved for it in the section header. If the bit is set and the NumberOfRelocations field in the section header is 0xffff, the actual relocation count is stored in the 32-bit VirtualAddress field of the first relocation. It is an error if IMAGE_SCN_LNK_NRELOC_OVFL is set and there are fewer than 0xffff relocations in the section." [ BR3092924 ] Reported-by: Robert Yates Investigated-by: nasm64developer Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> |
||
---|---|---|
.. | ||
dwarf.h | ||
elf.h | ||
nulldbg.c | ||
nullout.c | ||
outaout.c | ||
outaout.mac | ||
outas86.c | ||
outas86.mac | ||
outbin.c | ||
outbin.mac | ||
outcoff.c | ||
outcoff.mac | ||
outdbg.c | ||
outelf32.c | ||
outelf64.c | ||
outelf.c | ||
outelf.h | ||
outelf.mac | ||
outform.c | ||
outform.h | ||
outieee.c | ||
outlib.c | ||
outlib.h | ||
outmac32.c | ||
outmac64.c | ||
outmacho.mac | ||
outobj.c | ||
outobj.mac | ||
outrdf2.c | ||
outrdf2.mac | ||
outrdf.mac | ||
pecoff.h | ||
stabs.h |