1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 08:54:58 +00:00

ELFLoader should fail with an error message for unresolved symbols.

This commit is contained in:
Andreas Kling 2018-10-25 10:00:37 +02:00
parent ec1d16b307
commit 16f318408d
14 changed files with 80 additions and 24 deletions

View file

@ -1,10 +1,20 @@
#include <cstdio>
#include "SimpleMalloc.h"
#include "kmalloc.h"
#ifndef SERENITY
#include <cstdio>
#include <cstdlib>
#endif
#if defined(SERENITY) && defined(USERLAND)
#define USE_SYSTEM_MALLOC
#endif
#define USE_SYSTEM_MALLOC
#ifndef USE_SYSTEM_MALLOC
#include "SimpleMalloc.h"
#endif
#ifdef USE_SYSTEM_MALLOC
extern "C" {