From 5e817662b284681cdfa35cce55c3054a0416c541 Mon Sep 17 00:00:00 2001 From: Robert Pengelly Date: Sat, 20 Jun 2026 19:31:55 +0100 Subject: [PATCH] Don't forget I386 ELF --- link.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/link.c b/link.c index a453b5b..6250ccc 100644 --- a/link.c +++ b/link.c @@ -959,7 +959,7 @@ static void calculate_entry_point (void) { if (!state->entry_symbol_name) { - if (state->format == LD_FORMAT_IA16_ELKS || state->format == LD_FORMAT_I386_AOUT || state->format == LD_FORMAT_I386_AXE || state->format == LD_FORMAT_I386_ELKS) { + if (state->format == LD_FORMAT_IA16_ELKS || state->format == LD_FORMAT_I386_AOUT || state->format == LD_FORMAT_I386_AXE || state->format == LD_FORMAT_I386_ELF || state->format == LD_FORMAT_I386_ELKS) { state->entry_symbol_name = xstrdup ("_start"); -- 2.34.1