nasm/output
Cyrill Gorcunov 01102ee8e6 coff: Handle massive relocations
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>
2010-11-06 18:38:00 +03:00
..
dwarf.h
elf.h
nulldbg.c
nullout.c
outaout.c
outaout.mac
outas86.c
outas86.mac
outbin.c outbin: Cleanup bin_cleanup 2010-07-06 19:40:02 +04:00
outbin.mac
outcoff.c coff: Handle massive relocations 2010-11-06 18:38:00 +03:00
outcoff.mac
outdbg.c
outelf32.c elf: Move stabs symbol table format into outelf.h 2010-07-30 00:51:44 +04:00
outelf64.c elf: Move stabs symbol table format into outelf.h 2010-07-30 00:51:44 +04:00
outelf.c
outelf.h elf: Move stabs symbol table format into outelf.h 2010-07-30 00:51:44 +04:00
outelf.mac
outform.c
outform.h
outieee.c BR3079550: NASM crash on run-time for OMF output format 2010-10-02 01:21:00 +04:00
outlib.c
outlib.h
outmac32.c
outmac64.c
outmacho.mac
outobj.c BR3079550: NASM crash on run-time for OMF output format 2010-10-02 01:21:00 +04:00
outobj.mac
outrdf2.c
outrdf2.mac
outrdf.mac
pecoff.h coff: Add IMAGE_SCN_MAX_RELOC constant 2010-11-05 13:50:04 +03:00
stabs.h