Removed the arch-dependent relocation definitions (they can now be included
via arch/elf.h). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3151 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
8b8fd1c31c
commit
32439967b9
@ -6,6 +6,7 @@
|
||||
#define _ELF32_H
|
||||
|
||||
#include <ktypes.h>
|
||||
#include <arch/elf.h>
|
||||
|
||||
typedef uint32 Elf32_Addr;
|
||||
typedef uint16 Elf32_Half;
|
||||
@ -157,28 +158,6 @@ struct Elf32_Rela {
|
||||
#define ELF32_R_TYPE(i) ((unsigned char)(i))
|
||||
#define ELF32_R_INFO(s, t) (((s) << 8) + (unsigned char)(t))
|
||||
|
||||
/*
|
||||
* i386 relocation types
|
||||
*/
|
||||
#define R_386_NONE 0
|
||||
#define R_386_32 1
|
||||
#define R_386_PC32 2
|
||||
#define R_386_GOT32 3
|
||||
#define R_386_PLT32 4
|
||||
#define R_386_COPY 5
|
||||
#define R_386_GLOB_DAT 6
|
||||
#define R_386_JMP_SLOT 7
|
||||
#define R_386_RELATIVE 8
|
||||
#define R_386_GOTOFF 9
|
||||
#define R_386_GOTPC 10
|
||||
|
||||
/*
|
||||
* sh4 relocation types
|
||||
*/
|
||||
#define R_SH_NONE 0
|
||||
#define R_SH_DIR32 1
|
||||
#define R_SH_RELATIVE 0xa5
|
||||
|
||||
struct Elf32_Dyn {
|
||||
Elf32_Sword d_tag;
|
||||
union {
|
||||
|
Loading…
Reference in New Issue
Block a user