mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-27 08:10:07 +08:00
04445364fc
If we can't mmap a file and instead have to fread(), if the data is small enough that we can reasonably accomodate it in a memory buffer, then just read it once. It seems rather unlikely that very large files would be used with TIMES anyway. Also note: the previous comment about nasm_file_size[_by_path]() being invoked twice was spurious; it does not actually happen. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
7 lines
140 B
NASM
7 lines
140 B
NASM
db '*** ONCE ***', 0Ah
|
|
incbin "incbin.data",32
|
|
|
|
section more start=0x1000000
|
|
db '*** TWELVE ***', 0Ah
|
|
times 12 incbin "incbin.data",32
|