output: macho -- Check the actual size of 64-bit absolute address
commit69ed82447a13a22e52a86a51a5657c7955a6767b
authorChang S. Bae <chang.seok.bae@intel.com>
Wed, 2 May 2018 15:07:51 +0000 (2 08:07 -0700)
committerCyrill Gorcunov <gorcunov@gmail.com>
Sat, 5 May 2018 20:43:57 +0000 (5 23:43 +0300)
tree21a254e5eff11164eb7ce053054ead7810938945
parent713fd1ffc82344f58a4ef94506a62c8e32704a2f
output: macho -- Check the actual size of 64-bit absolute address

Even though the size is set to 64-bit, actual value can be
in 32-bit range. In that case, the use of such absolute
address is prevented.

The side effect of 58d2ab17 is resolved.

https://bugzilla.nasm.us/show_bug.cgi?id=3392468

Reported-by: Richard Russell <rtrussell@gmail.com>
Reported-by: Michael Petch <mpetch@capp-sysware.com>
Signed-off-by: Chang S. Bae <chang.seok.bae@intel.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
output/outmacho.c