Commit 93ff9197 authored by Ben Gamari's avatar Ben Gamari 🐢 Committed by Marge Bot

rts: More aarch64 header fixes

parent 01ef3e1f
#include "elf_got.h"
#include <string.h>
#if defined(OBJFORMAT_ELF)
/*
* Check if we need a global offset table slot for a
......
#include <stdlib.h>
#include "elf_compat.h"
#include "ghcplatform.h"
#include "elf_plt_aarch64.h"
#if defined(aarch64_HOST_ARCH)
#include "elf_plt_aarch64.h"
#if defined(OBJFORMAT_ELF)
/* five 4 byte instructions */
......
......@@ -3,6 +3,7 @@
#include <stdlib.h>
#include "elf_compat.h"
#include "ghcplatform.h"
#if defined(arm_HOST_ARCH)
#include "Elf.h"
......
......@@ -2,11 +2,14 @@
#include "elf_plt.h"
#if defined(OBJFORMAT_ELF)
/* we currently only use this abstraction for elf/arm64 */
#if defined(aarch64_HOST_ARCH)
bool
relocateObjectCode(ObjectCode * oc) {
return ADD_SUFFIX(relocateObjectCode)(oc);
}
#endif
#endif
#if defined(aarch64_HOST_ARCH)
#if defined(OBJFORMAT_ELF)
#include <stdlib.h>
#include <assert.h>
#include "elf_compat.h"
......@@ -10,6 +6,10 @@
#include "elf_util.h"
#include "elf_plt.h"
#if defined(aarch64_HOST_ARCH)
#if defined(OBJFORMAT_ELF)
#define Page(x) ((x) & ~0xFFF)
typedef uint64_t addr_t;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment