From 6b0e02de3a508ec2e2ff52c09253b004457157f6 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin (Intel)" Date: Mon, 6 Apr 2026 18:13:07 -0700 Subject: [PATCH] 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) --- output/outform.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/output/outform.h b/output/outform.h index ba1a216f0..10d55183d 100644 --- a/output/outform.h +++ b/output/outform.h @@ -320,6 +320,13 @@ static const struct ofmt_alias ofmt_aliases[] = { #ifdef OF_MACHO32 { "macho", &of_macho32 }, #endif +#ifdef OF_OBJ + { "omf", &of_obj }, +#endif +#ifdef OF_OBJ2 + { "omf2", &of_obj2 }, + { "os2", &of_obj2 }, +#endif #ifdef OF_WIN32 { "win", &of_win32 }, #endif