mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
remove textrels with -fPIC/-fPIE (for android/ios)
This commit is contained in:
parent
4f992bf541
commit
9760505eaf
10 changed files with 298 additions and 261 deletions
|
@ -971,9 +971,8 @@ static void emith_log_imm(int op, int rd, int rs, u32 imm)
|
|||
EMIT(MIPS_ASR_IMM(d, s, cnt))
|
||||
|
||||
#if defined(__mips_isa_rev) && __mips_isa_rev >= 2
|
||||
#define emith_ror(d, s, cnt) do { \
|
||||
EMIT(MIPS_ROR_IMM(d, s, cnt)); \
|
||||
} while (0)
|
||||
#define emith_ror(d, s, cnt) \
|
||||
EMIT(MIPS_ROR_IMM(d, s, cnt))
|
||||
#else
|
||||
#define emith_ror(d, s, cnt) do { \
|
||||
EMIT(MIPS_LSL_IMM(AT, s, 32-(cnt))); \
|
||||
|
@ -985,9 +984,8 @@ static void emith_log_imm(int op, int rd, int rs, u32 imm)
|
|||
emith_ror(d, s, cnt)
|
||||
|
||||
#if defined(__mips_isa_rev) && __mips_isa_rev >= 2
|
||||
#define emith_rol(d, s, cnt) do { \
|
||||
EMIT(MIPS_ROR_IMM(d, s, 32-(cnt))); \
|
||||
} while (0)
|
||||
#define emith_rol(d, s, cnt) \
|
||||
EMIT(MIPS_ROR_IMM(d, s, 32-(cnt)))
|
||||
#else
|
||||
#define emith_rol(d, s, cnt) do { \
|
||||
EMIT(MIPS_LSR_IMM(AT, s, 32-(cnt))); \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue