outform.h: add "omf", "omf2" and "os2" as aliases for obj[2]

Add aliases for the OMF object code formats.

Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
This commit is contained in:
H. Peter Anvin (Intel) 2026-04-06 18:13:07 -07:00
parent 447bb02e1d
commit 6b0e02de3a

View file

@ -320,6 +320,13 @@ static const struct ofmt_alias ofmt_aliases[] = {
#ifdef OF_MACHO32 #ifdef OF_MACHO32
{ "macho", &of_macho32 }, { "macho", &of_macho32 },
#endif #endif
#ifdef OF_OBJ
{ "omf", &of_obj },
#endif
#ifdef OF_OBJ2
{ "omf2", &of_obj2 },
{ "os2", &of_obj2 },
#endif
#ifdef OF_WIN32 #ifdef OF_WIN32
{ "win", &of_win32 }, { "win", &of_win32 },
#endif #endif