From 8483ec6db9ed09ba67fff8d55e4120da85b36c03 Mon Sep 17 00:00:00 2001 From: Norman Feske Date: Mon, 8 Jul 2019 16:01:47 +0200 Subject: [PATCH] libsdl: add missing undefined ref of "main" to ABI This symbol is needed to inform the (static) linker about the dependency of the component-startup code from the program's main function. Without the symbol, the use of gc-sections during linking may discard the actual application code. --- lib/symbols/sdl | 1 + recipes/api/sdl/hash | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/symbols/sdl b/lib/symbols/sdl index 041c065..a581eda 100644 --- a/lib/symbols/sdl +++ b/lib/symbols/sdl @@ -348,3 +348,4 @@ SDL_timer_running B 4 SDL_timer_started B 4 SDL_ultoa T _Z15sdl_init_genodeRN6Genode3EnvE T +main U diff --git a/recipes/api/sdl/hash b/recipes/api/sdl/hash index bfa7d0b..1a93157 100644 --- a/recipes/api/sdl/hash +++ b/recipes/api/sdl/hash @@ -1 +1 @@ -2019-05-14 cb3175a6545ea045864baa9783f4ac54a3206826 +2019-07-06 e1fc0a057c826cbfd8a8d75c4aadc9a92722604b