summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2016-02-12 13:36:37 -0800
committerH. Peter Anvin <hpa@linux.intel.com>2016-02-12 13:36:37 -0800
commitfc1a7ad66296e13652ea6faca009bbd9ce5c26f6 (patch)
tree0fc920156abc59465753324cd95ae3f15314d6b1
parentf8d52b655eee94fd6620010a25cba068245bd689 (diff)
downloadnasm-fc1a7ad66296e13652ea6faca009bbd9ce5c26f6.tar.gz
outmac: correct the format name for macho32
The name for the macho32 output format was incorrectly set to macho64, which means neither macho32 nor macho64 worked correctly. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
-rw-r--r--output/outmac.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/output/outmac.c b/output/outmac.c
index 18bbf498..dc1111d4 100644
--- a/output/outmac.c
+++ b/output/outmac.c
@@ -32,8 +32,8 @@
* ----------------------------------------------------------------------- */
/*
- * outmac64.c output routines for the Netwide Assembler to produce
- * NeXTstep/OpenStep/Rhapsody/Darwin/MacOS X (x86_64) object files
+ * outmac.c output routines for the Netwide Assembler to produce
+ * NeXTstep/OpenStep/Rhapsody/Darwin/MacOS X object files
*/
/* Most of this file is, like Mach-O itself, based on a.out. For more
@@ -1499,7 +1499,7 @@ static void macho32_init(void)
struct ofmt of_macho32 = {
"NeXTstep/OpenStep/Rhapsody/Darwin/MacOS X (i386) object files",
- "macho64",
+ "macho32",
0,
32,
null_debug_arr,