git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Usermode/libc++ - Implement map::insert and map::erase
[tpg/acess2.git]
/
Usermode
/
Libraries
/
ld-acess.so_src
/
elf64.h
diff --git
a/Usermode/Libraries/ld-acess.so_src/elf64.h
b/Usermode/Libraries/ld-acess.so_src/elf64.h
index
4fe99ae
..
9d04e8a
100644
(file)
--- a/
Usermode/Libraries/ld-acess.so_src/elf64.h
+++ b/
Usermode/Libraries/ld-acess.so_src/elf64.h
@@
-9,6
+9,8
@@
#define ELFCLASS64 2
#define ELFCLASS64 2
+#define EM_X86_64 62
+
typedef uint16_t Elf64_Half;
typedef uint32_t Elf64_Word;
typedef uint16_t Elf64_Half;
typedef uint32_t Elf64_Word;
@@
-67,7
+69,7
@@
typedef struct
union {
Elf64_Xword d_val;
Elf64_Addr d_ptr;
union {
Elf64_Xword d_val;
Elf64_Addr d_ptr;
- } d_un;
+ }
;//
d_un;
} Elf64_Dyn;
typedef struct
} Elf64_Dyn;
typedef struct
@@
-95,6
+97,8
@@
typedef struct
#define ELF64_R_SYM(info) ((info) >> 32)
#define ELF64_R_TYPE(info) ((info) & 0xFFFFFFFF)
#define ELF64_R_SYM(info) ((info) >> 32)
#define ELF64_R_TYPE(info) ((info) & 0xFFFFFFFF)
+#define ELF64_ST_BIND(i) ((i)>>4)
+#define ELF64_ST_TYPE(i) ((i)&0xF)
enum eElf64_RelocTypes_x86_64
{
enum eElf64_RelocTypes_x86_64
{
UCC
git Repository :: git.ucc.asn.au