diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2018-05-08 12:46:55 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2018-05-08 12:46:55 -0700 |
commit | 1ce81e10effa327362e8cdd316f6ea57c8324ce0 (patch) | |
tree | 4812e768a11af79eba8a98f739e55f390e52aeb4 | |
parent | 6d36d8684cea66143ae7b415dbe9cff88b0bff81 (diff) | |
download | nasm-1ce81e10effa327362e8cdd316f6ea57c8324ce0.tar.gz |
Revert "output: macho -- Check the actual size of 64-bit absolute address"
This reverts commit 69ed82447a13a22e52a86a51a5657c7955a6767b.
-rw-r--r-- | output/outmacho.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/output/outmacho.c b/output/outmacho.c index 3eeb057c..83a76e98 100644 --- a/output/outmacho.c +++ b/output/outmacho.c @@ -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"); |