mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-01-30 16:41:05 +08:00
16-bit relocations are standard in ELF64 (at my request, incidentally)
This commit is contained in:
parent
b7eea1c940
commit
90b9417613
@ -867,8 +867,6 @@ static void elf_out(int32_t segto, const void *data, uint32_t type,
|
||||
}
|
||||
p = mydata;
|
||||
if (gnu16) {
|
||||
error(ERR_WARNING | ERR_WARN_GNUELF,
|
||||
"16-bit relocations in ELF is a GNU extension");
|
||||
WRITESHORT(p, addr);
|
||||
} else {
|
||||
if (realbytes != 8 && realbytes != 4 && segment != NO_SEG) {
|
||||
|
Loading…
Reference in New Issue
Block a user