summaryrefslogtreecommitdiff
path: root/output/outmacho.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-02-21 17:19:05 -0800
committerH. Peter Anvin <hpa@zytor.com>2009-02-21 17:19:05 -0800
commit04616f4e85d7c5c8501432f7124cf15f440aeae1 (patch)
tree0e938ef7824594b31e71c1768372478aff85ca9d /output/outmacho.c
parent719f55938e3a0403eecd1952b3ef5c03b96231e2 (diff)
downloadnasm-04616f4e85d7c5c8501432f7124cf15f440aeae1.tar.gz
nasm-04616f4e85d7c5c8501432f7124cf15f440aeae1.tar.bz2
nasm-04616f4e85d7c5c8501432f7124cf15f440aeae1.zip
BR 2611906: proper error message for start < origin
When a section other than .text has a start < origin, we would segfault; fix that. Furthermore, at bin_cleanup() we don't have usable file/line information, so pass ERR_NOFILE to the error() function. Perhaps less than ideal, but better than printing a null pointer.
Diffstat (limited to 'output/outmacho.c')
0 files changed, 0 insertions, 0 deletions