reloc.h 438 B

12345678910111213
  1. #define LDSO_ARCH "s390x"
  2. #define REL_SYMBOLIC R_390_64
  3. #define REL_GOT R_390_GLOB_DAT
  4. #define REL_PLT R_390_JMP_SLOT
  5. #define REL_RELATIVE R_390_RELATIVE
  6. #define REL_COPY R_390_COPY
  7. #define REL_DTPMOD R_390_TLS_DTPMOD
  8. #define REL_DTPOFF R_390_TLS_DTPOFF
  9. #define REL_TPOFF R_390_TLS_TPOFF
  10. #define CRTJMP(pc,sp) __asm__ __volatile__( \
  11. "lgr %%r15,%1; br %0" : : "a"(pc), "r"(sp) : "memory" )