mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:37:35 +00:00
LibELF: Move AK/ELF/ into Libraries/LibELF/
Let's arrange things like this instead. It didn't feel right for all of the ELF handling code to live in AK.
This commit is contained in:
parent
31beff8afb
commit
49635e62fa
9 changed files with 11 additions and 11 deletions
|
@ -1,9 +1,9 @@
|
||||||
#include "KSyms.h"
|
|
||||||
#include "Process.h"
|
|
||||||
#include "Scheduler.h"
|
|
||||||
#include <AK/ELF/ELFLoader.h>
|
|
||||||
#include <AK/TemporaryChange.h>
|
#include <AK/TemporaryChange.h>
|
||||||
#include <Kernel/FileSystem/FileDescription.h>
|
#include <Kernel/FileSystem/FileDescription.h>
|
||||||
|
#include <Kernel/KSyms.h>
|
||||||
|
#include <Kernel/Process.h>
|
||||||
|
#include <Kernel/Scheduler.h>
|
||||||
|
#include <LibELF/ELFLoader.h>
|
||||||
|
|
||||||
static KSym* s_ksyms;
|
static KSym* s_ksyms;
|
||||||
u32 ksym_lowest_address = 0xffffffff;
|
u32 ksym_lowest_address = 0xffffffff;
|
||||||
|
|
|
@ -100,8 +100,8 @@ AK_OBJS = \
|
||||||
../AK/JsonValue.o \
|
../AK/JsonValue.o \
|
||||||
../AK/JsonParser.o \
|
../AK/JsonParser.o \
|
||||||
../AK/LogStream.o \
|
../AK/LogStream.o \
|
||||||
../AK/ELF/ELFImage.o \
|
../Libraries/LibELF/ELFImage.o \
|
||||||
../AK/ELF/ELFLoader.o
|
../Libraries/LibELF/ELFLoader.o
|
||||||
|
|
||||||
CXX_OBJS = $(KERNEL_OBJS) $(VFS_OBJS) $(AK_OBJS)
|
CXX_OBJS = $(KERNEL_OBJS) $(VFS_OBJS) $(AK_OBJS)
|
||||||
OBJS = $(CXX_OBJS) Arch/i386/Boot/boot.ao
|
OBJS = $(CXX_OBJS) Arch/i386/Boot/boot.ao
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#include <AK/ELF/ELFLoader.h>
|
|
||||||
#include <AK/ELF/exec_elf.h>
|
|
||||||
#include <AK/FileSystemPath.h>
|
#include <AK/FileSystemPath.h>
|
||||||
#include <AK/StdLibExtras.h>
|
#include <AK/StdLibExtras.h>
|
||||||
#include <AK/StringBuilder.h>
|
#include <AK/StringBuilder.h>
|
||||||
|
@ -37,6 +35,8 @@
|
||||||
#include <Kernel/VM/InodeVMObject.h>
|
#include <Kernel/VM/InodeVMObject.h>
|
||||||
#include <LibC/errno_numbers.h>
|
#include <LibC/errno_numbers.h>
|
||||||
#include <LibC/signal_numbers.h>
|
#include <LibC/signal_numbers.h>
|
||||||
|
#include <LibELF/ELFLoader.h>
|
||||||
|
#include <LibELF/exec_elf.h>
|
||||||
|
|
||||||
//#define DEBUG_POLL_SELECT
|
//#define DEBUG_POLL_SELECT
|
||||||
//#define DEBUG_IO
|
//#define DEBUG_IO
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
#include <AK/ELF/ELFLoader.h>
|
|
||||||
#include <AK/StringBuilder.h>
|
#include <AK/StringBuilder.h>
|
||||||
#include <Kernel/FileSystem/FileDescription.h>
|
#include <Kernel/FileSystem/FileDescription.h>
|
||||||
#include <Kernel/Process.h>
|
#include <Kernel/Process.h>
|
||||||
|
@ -6,6 +5,7 @@
|
||||||
#include <Kernel/Thread.h>
|
#include <Kernel/Thread.h>
|
||||||
#include <Kernel/VM/MemoryManager.h>
|
#include <Kernel/VM/MemoryManager.h>
|
||||||
#include <LibC/signal_numbers.h>
|
#include <LibC/signal_numbers.h>
|
||||||
|
#include <LibELF/ELFLoader.h>
|
||||||
|
|
||||||
//#define SIGNAL_DEBUG
|
//#define SIGNAL_DEBUG
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <AK/String.h>
|
#include <AK/String.h>
|
||||||
#include <AK/ELF/exec_elf.h>
|
|
||||||
#include <AK/HashMap.h>
|
#include <AK/HashMap.h>
|
||||||
#include <AK/OwnPtr.h>
|
#include <AK/OwnPtr.h>
|
||||||
#include <Kernel/VM/VirtualAddress.h>
|
#include <Kernel/VM/VirtualAddress.h>
|
||||||
|
#include <LibELF/exec_elf.h>
|
||||||
|
|
||||||
class ELFImage {
|
class ELFImage {
|
||||||
public:
|
public:
|
|
@ -4,7 +4,7 @@
|
||||||
#include <AK/HashMap.h>
|
#include <AK/HashMap.h>
|
||||||
#include <AK/OwnPtr.h>
|
#include <AK/OwnPtr.h>
|
||||||
#include <AK/Vector.h>
|
#include <AK/Vector.h>
|
||||||
#include <AK/ELF/ELFImage.h>
|
#include <LibELF/ELFImage.h>
|
||||||
|
|
||||||
#ifdef KERNEL
|
#ifdef KERNEL
|
||||||
#include <Kernel/VM/VirtualAddress.h>
|
#include <Kernel/VM/VirtualAddress.h>
|
Loading…
Add table
Add a link
Reference in a new issue