summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2018-06-01 18:14:16 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2018-06-01 18:14:16 -0700
commit69f0551f6f62f62e53dcbb0e7b6f3daaaa34159d (patch)
treea043db73a42ee2f8dbe6b746f348804a2196aa14
parent98578071b9d71ecaa2344dd9c185237c1765041e (diff)
downloadnasm-69f0551f6f62f62e53dcbb0e7b6f3daaaa34159d.tar.gz
macho: Turn off OFMT_KEEP_ADDR
OFMT_KEEP_ADDR seems to not work properly. Now when we have proper subsections, there is no need for that anymore. This reverts commit 69ed82447a13a22e52a86a51a5657c7955a6767b. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
-rw-r--r--output/outmacho.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/output/outmacho.c b/output/outmacho.c
index e2c3e5eb..ed1366b3 100644
--- a/output/outmacho.c
+++ b/output/outmacho.c
@@ -2356,7 +2356,7 @@ const struct ofmt of_macho32 = {
"NeXTstep/OpenStep/Rhapsody/Darwin/MacOS X (i386) object files",
"macho32",
".o",
- OFMT_KEEP_ADDR,
+ 0,
32,
macho32_df_arr,
&macho32_df_dwarf,
@@ -2423,7 +2423,7 @@ const struct ofmt of_macho64 = {
"NeXTstep/OpenStep/Rhapsody/Darwin/MacOS X (x86_64) object files",
"macho64",
".o",
- OFMT_KEEP_ADDR,
+ 0,
64,
macho64_df_arr,
&macho64_df_dwarf,