File: elf_x86_64.h

package info (click to toggle)
modutils 2.4.26-1.2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,724 kB
  • ctags: 1,708
  • sloc: ansic: 16,932; sh: 2,998; makefile: 549; lex: 490; yacc: 375
file content (11 lines) | stat: -rw-r--r-- 273 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
/* Machine-specific elf macros for x86_64.  */

#define ELFCLASSM	ELFCLASS64
#define ELFDATAM	ELFDATA2LSB

#define MATCH_MACHINE(x)  (x == EM_X86_64)

#define SHT_RELM	SHT_RELA
#define Elf64_RelM	Elf64_Rela

#define arch_module_base(m) ((ElfW(Addr)) 0xffffffff00000000ull)