mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-21 03:14:19 +08:00
Revert "output: macho -- Check the actual size of 64-bit absolute address"
This reverts commit 69ed82447a
.
This commit is contained in:
parent
6d36d8684c
commit
1ce81e10ef
@ -670,8 +670,7 @@ static void macho_output(int32_t secto, const void *data,
|
||||
nasm_error(ERR_NONFATAL, "Mach-O format does not support"
|
||||
" section base references");
|
||||
} else if (wrt == NO_SEG) {
|
||||
if (fmt.ptrsize == 8 &&
|
||||
(asize != 8 || addr <= UINT32_MAX)) {
|
||||
if (fmt.ptrsize == 8 && asize != 8) {
|
||||
nasm_error(ERR_NONFATAL,
|
||||
"Mach-O 64-bit format does not support"
|
||||
" 32-bit absolute addresses");
|
||||
|
Loading…
Reference in New Issue
Block a user