mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:27:45 +00:00
ELFLoader should fail with an error message for unresolved symbols.
This commit is contained in:
parent
ec1d16b307
commit
16f318408d
14 changed files with 80 additions and 24 deletions
|
@ -1,7 +1,11 @@
|
|||
#pragma once
|
||||
|
||||
#ifdef SERENITY
|
||||
#ifdef USERLAND
|
||||
#include <LibC/stdlib.h>
|
||||
#else
|
||||
#include <Kernel/kmalloc.h>
|
||||
#endif
|
||||
#else
|
||||
#include <new>
|
||||
|
||||
|
@ -10,7 +14,7 @@
|
|||
extern "C" {
|
||||
|
||||
void* kcalloc(size_t nmemb, size_t size);
|
||||
void* kmalloc(size_t size) __attribute__ ((malloc));
|
||||
void* kmalloc(size_t size) MALLOC_ATTR;
|
||||
void kfree(void* ptr);
|
||||
void* krealloc(void* ptr, size_t size);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue