summaryrefslogtreecommitdiff
path: root/output/outform.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2019-08-10 02:28:17 -0700
committerH. Peter Anvin <hpa@zytor.com>2019-08-10 02:28:17 -0700
commit9084beb1bb7e985e3d954081e15b4d469047f1b0 (patch)
treed96adee24ac6532ad35adf1fd0914a7bec4ea013 /output/outform.h
parent355bfb879de7e42215dd3f3a3631301705420715 (diff)
downloadnasm-9084beb1bb7e985e3d954081e15b4d469047f1b0.tar.gz
Clean up backend format names
The backend format names were rather redundant and not always helpful. Do some cleanup. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'output/outform.h')
-rw-r--r--output/outform.h20
1 files changed, 4 insertions, 16 deletions
diff --git a/output/outform.h b/output/outform.h
index 9d068dbf..034dc2cf 100644
--- a/output/outform.h
+++ b/output/outform.h
@@ -345,27 +345,15 @@ static const struct ofmt * const drivers[] = {
static const struct ofmt_alias ofmt_aliases[] = {
#ifdef OF_ELF32
- {
- "elf",
- "ELF (short name for ELF32)",
- &of_elf32,
- },
+ { "elf", &of_elf32 },
#endif
#ifdef OF_MACHO32
- {
- "macho",
- "MACHO (short name for MACHO32)",
- &of_macho32,
- },
+ { "macho", &of_macho32 },
#endif
#ifdef OF_WIN32
- {
- "win",
- "WIN (short name for WIN32)",
- &of_win32,
- },
+ { "win", &of_win32 },
#endif
- { NULL, NULL, NULL }
+ { NULL, NULL }
};
#endif /* BUILD_DRIVERS_ARRAY */