1570af302Sopenharmony_ci#define LDSO_ARCH "s390x"
2570af302Sopenharmony_ci
3570af302Sopenharmony_ci#define REL_SYMBOLIC    R_390_64
4570af302Sopenharmony_ci#define REL_GOT         R_390_GLOB_DAT
5570af302Sopenharmony_ci#define REL_PLT         R_390_JMP_SLOT
6570af302Sopenharmony_ci#define REL_RELATIVE    R_390_RELATIVE
7570af302Sopenharmony_ci#define REL_COPY        R_390_COPY
8570af302Sopenharmony_ci#define REL_DTPMOD      R_390_TLS_DTPMOD
9570af302Sopenharmony_ci#define REL_DTPOFF      R_390_TLS_DTPOFF
10570af302Sopenharmony_ci#define REL_TPOFF       R_390_TLS_TPOFF
11570af302Sopenharmony_ci
12570af302Sopenharmony_ci#define CRTJMP(pc,sp) __asm__ __volatile__( \
13570af302Sopenharmony_ci	"lgr %%r15,%1; br %0" : : "r"(pc), "r"(sp) : "memory" )
14