2019-06-22 12:13:10 +08:00
|
|
|
#ifdef TARGET_DEFS_ONLY
|
|
|
|
|
|
|
|
#define EM_TCC_TARGET EM_RISCV
|
|
|
|
|
|
|
|
#define R_DATA_32 R_RISCV_32
|
|
|
|
#define R_DATA_PTR R_RISCV_64
|
|
|
|
#define R_JMP_SLOT R_RISCV_JUMP_SLOT
|
|
|
|
#define R_GLOB_DAT R_RISCV_64
|
|
|
|
#define R_COPY R_RISCV_COPY
|
|
|
|
#define R_RELATIVE R_RISCV_RELATIVE
|
|
|
|
|
|
|
|
#define R_NUM R_RISCV_NUM
|
|
|
|
|
|
|
|
#define ELF_START_ADDR 0x00010000
|
|
|
|
#define ELF_PAGE_SIZE 0x1000
|
|
|
|
|
|
|
|
#define PCRELATIVE_DLLPLT 1
|
|
|
|
#define RELOCATE_DLLPLT 1
|
|
|
|
|
|
|
|
#else /* !TARGET_DEFS_ONLY */
|
|
|
|
|
2019-07-16 05:15:51 +08:00
|
|
|
//#define DEBUG_RELOC
|
2019-06-22 12:13:10 +08:00
|
|
|
#include "tcc.h"
|
|
|
|
|
|
|
|
/* Returns 1 for a code relocation, 0 for a data relocation. For unknown
|
|
|
|
relocations, returns -1. */
|
|
|
|
int code_reloc (int reloc_type)
|
|
|
|
{
|
|
|
|
switch (reloc_type) {
|
2019-06-23 08:10:10 +08:00
|
|
|
|
|
|
|
case R_RISCV_BRANCH:
|
|
|
|
case R_RISCV_CALL:
|
|
|
|
case R_RISCV_JAL:
|
|
|
|
return 1;
|
|
|
|
|
|
|
|
case R_RISCV_GOT_HI20:
|
|
|
|
case R_RISCV_PCREL_HI20:
|
|
|
|
case R_RISCV_PCREL_LO12_I:
|
|
|
|
case R_RISCV_PCREL_LO12_S:
|
|
|
|
case R_RISCV_32_PCREL:
|
2019-07-16 00:39:02 +08:00
|
|
|
case R_RISCV_SET6:
|
|
|
|
case R_RISCV_SUB6:
|
|
|
|
case R_RISCV_ADD16:
|
2019-06-23 08:10:10 +08:00
|
|
|
case R_RISCV_ADD32:
|
2019-07-16 00:39:02 +08:00
|
|
|
case R_RISCV_ADD64:
|
|
|
|
case R_RISCV_SUB16:
|
2019-06-23 08:10:10 +08:00
|
|
|
case R_RISCV_SUB32:
|
2019-07-16 00:39:02 +08:00
|
|
|
case R_RISCV_SUB64:
|
2019-06-23 08:10:10 +08:00
|
|
|
case R_RISCV_32:
|
|
|
|
case R_RISCV_64:
|
|
|
|
return 0;
|
|
|
|
|
|
|
|
case R_RISCV_CALL_PLT:
|
|
|
|
return 1;
|
2019-06-22 12:13:10 +08:00
|
|
|
}
|
|
|
|
return -1;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Returns an enumerator to describe whether and when the relocation needs a
|
|
|
|
GOT and/or PLT entry to be created. See tcc.h for a description of the
|
|
|
|
different values. */
|
|
|
|
int gotplt_entry_type (int reloc_type)
|
|
|
|
{
|
|
|
|
switch (reloc_type) {
|
2019-06-23 08:10:10 +08:00
|
|
|
case R_RISCV_ALIGN:
|
|
|
|
case R_RISCV_RELAX:
|
|
|
|
case R_RISCV_RVC_BRANCH:
|
|
|
|
case R_RISCV_RVC_JUMP:
|
2019-06-23 14:21:52 +08:00
|
|
|
case R_RISCV_JUMP_SLOT:
|
2019-07-16 00:39:02 +08:00
|
|
|
case R_RISCV_SET6:
|
|
|
|
case R_RISCV_SUB6:
|
|
|
|
case R_RISCV_ADD16:
|
|
|
|
case R_RISCV_SUB16:
|
2019-06-23 08:10:10 +08:00
|
|
|
return NO_GOTPLT_ENTRY;
|
|
|
|
|
|
|
|
case R_RISCV_BRANCH:
|
|
|
|
case R_RISCV_CALL:
|
|
|
|
case R_RISCV_PCREL_HI20:
|
|
|
|
case R_RISCV_PCREL_LO12_I:
|
|
|
|
case R_RISCV_PCREL_LO12_S:
|
|
|
|
case R_RISCV_32_PCREL:
|
|
|
|
case R_RISCV_ADD32:
|
2019-07-16 00:39:02 +08:00
|
|
|
case R_RISCV_ADD64:
|
2019-06-23 08:10:10 +08:00
|
|
|
case R_RISCV_SUB32:
|
2019-07-16 00:39:02 +08:00
|
|
|
case R_RISCV_SUB64:
|
2019-06-23 08:10:10 +08:00
|
|
|
case R_RISCV_32:
|
|
|
|
case R_RISCV_64:
|
|
|
|
case R_RISCV_JAL:
|
2019-07-30 03:50:47 +08:00
|
|
|
case R_RISCV_CALL_PLT:
|
2019-06-23 08:10:10 +08:00
|
|
|
return AUTO_GOTPLT_ENTRY;
|
|
|
|
|
|
|
|
case R_RISCV_GOT_HI20:
|
|
|
|
return ALWAYS_GOTPLT_ENTRY;
|
2019-06-22 12:13:10 +08:00
|
|
|
}
|
|
|
|
return -1;
|
|
|
|
}
|
|
|
|
|
2021-10-22 02:09:42 +08:00
|
|
|
ST_FUNC unsigned create_plt_entry(TCCState *S, unsigned got_offset, struct sym_attr *attr)
|
2019-06-22 12:13:10 +08:00
|
|
|
{
|
2021-10-22 02:09:42 +08:00
|
|
|
Section *plt = S->plt;
|
2019-06-22 12:13:10 +08:00
|
|
|
uint8_t *p;
|
|
|
|
unsigned plt_offset;
|
|
|
|
|
|
|
|
if (plt->data_offset == 0)
|
2021-10-22 02:09:42 +08:00
|
|
|
section_ptr_add(S, plt, 32);
|
2019-06-22 12:13:10 +08:00
|
|
|
plt_offset = plt->data_offset;
|
|
|
|
|
2021-10-22 02:09:42 +08:00
|
|
|
p = section_ptr_add(S, plt, 16);
|
2019-06-22 12:13:10 +08:00
|
|
|
write64le(p, got_offset);
|
|
|
|
return plt_offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* relocate the PLT: compute addresses and offsets in the PLT now that final
|
|
|
|
address for PLT and GOT are known (see fill_program_header) */
|
2021-10-22 02:09:42 +08:00
|
|
|
ST_FUNC void relocate_plt(TCCState *S)
|
2019-06-22 12:13:10 +08:00
|
|
|
{
|
|
|
|
uint8_t *p, *p_end;
|
|
|
|
|
2021-10-22 02:09:42 +08:00
|
|
|
if (!S->plt)
|
2019-06-22 12:13:10 +08:00
|
|
|
return;
|
|
|
|
|
2021-10-22 02:09:42 +08:00
|
|
|
p = S->plt->data;
|
|
|
|
p_end = p + S->plt->data_offset;
|
2019-06-22 12:13:10 +08:00
|
|
|
|
|
|
|
if (p < p_end) {
|
2021-10-22 02:09:42 +08:00
|
|
|
uint64_t plt = S->plt->sh_addr;
|
|
|
|
uint64_t got = S->got->sh_addr;
|
2019-06-23 08:10:10 +08:00
|
|
|
uint64_t off = (got - plt + 0x800) >> 12;
|
2019-06-22 12:13:10 +08:00
|
|
|
if ((off + ((uint32_t)1 << 20)) >> 21)
|
2021-10-22 02:09:42 +08:00
|
|
|
tcc_error(S, "Failed relocating PLT (off=0x%lx, got=0x%lx, plt=0x%lx)", (long)off, (long)got, (long)plt);
|
2019-06-23 08:10:10 +08:00
|
|
|
write32le(p, 0x397 | (off << 12)); // auipc t2, %pcrel_hi(got)
|
|
|
|
write32le(p + 4, 0x41c30333); // sub t1, t1, t3
|
|
|
|
write32le(p + 8, 0x0003be03 // ld t3, %pcrel_lo(got)(t2)
|
|
|
|
| (((got - plt) & 0xfff) << 20));
|
|
|
|
write32le(p + 12, 0xfd430313); // addi t1, t1, -(32+12)
|
|
|
|
write32le(p + 16, 0x00038293 // addi t0, t2, %pcrel_lo(got)
|
|
|
|
| (((got - plt) & 0xfff) << 20));
|
|
|
|
write32le(p + 20, 0x00135313); // srli t1, t1, log2(16/PTRSIZE)
|
|
|
|
write32le(p + 24, 0x0082b283); // ld t0, PTRSIZE(t0)
|
|
|
|
write32le(p + 28, 0x000e0067); // jr t3
|
2019-06-22 12:13:10 +08:00
|
|
|
p += 32;
|
|
|
|
while (p < p_end) {
|
2021-10-22 02:09:42 +08:00
|
|
|
uint64_t pc = plt + (p - S->plt->data);
|
2019-06-22 12:13:10 +08:00
|
|
|
uint64_t addr = got + read64le(p);
|
2019-06-23 08:10:10 +08:00
|
|
|
uint64_t off = (addr - pc + 0x800) >> 12;
|
2019-06-22 12:13:10 +08:00
|
|
|
if ((off + ((uint32_t)1 << 20)) >> 21)
|
2021-10-22 02:09:42 +08:00
|
|
|
tcc_error(S, "Failed relocating PLT (off=0x%lx, addr=0x%lx, pc=0x%lx)", (long)off, (long)addr, (long)pc);
|
2019-06-23 08:10:10 +08:00
|
|
|
write32le(p, 0xe17 | (off << 12)); // auipc t3, %pcrel_hi(func@got)
|
|
|
|
write32le(p + 4, 0x000e3e03 // ld t3, %pcrel_lo(func@got)(t3)
|
|
|
|
| (((addr - pc) & 0xfff) << 20));
|
|
|
|
write32le(p + 8, 0x000e0367); // jalr t1, t3
|
|
|
|
write32le(p + 12, 0x00000013); // nop
|
2019-06-22 12:13:10 +08:00
|
|
|
p += 16;
|
|
|
|
}
|
|
|
|
}
|
2020-12-18 22:24:32 +08:00
|
|
|
|
2021-10-22 02:09:42 +08:00
|
|
|
if (S->plt->reloc) {
|
2020-12-18 22:24:32 +08:00
|
|
|
ElfW_Rel *rel;
|
2021-10-22 02:09:42 +08:00
|
|
|
p = S->got->data;
|
|
|
|
for_each_elem(S->plt->reloc, 0, rel, ElfW_Rel) {
|
|
|
|
write64le(p + rel->r_offset, S->plt->sh_addr);
|
2020-12-18 22:24:32 +08:00
|
|
|
}
|
|
|
|
}
|
2019-06-22 12:13:10 +08:00
|
|
|
}
|
|
|
|
|
2021-10-22 02:09:42 +08:00
|
|
|
void relocate(TCCState *S, ElfW_Rel *rel, int type, unsigned char *ptr,
|
2019-06-23 08:10:10 +08:00
|
|
|
addr_t addr, addr_t val)
|
|
|
|
{
|
|
|
|
uint64_t off64;
|
|
|
|
uint32_t off32;
|
2020-08-04 16:36:47 +08:00
|
|
|
int sym_index = ELFW(R_SYM)(rel->r_info), esym_index;
|
2019-06-22 12:13:10 +08:00
|
|
|
ElfW(Sym) *sym = &((ElfW(Sym) *)symtab_section->data)[sym_index];
|
|
|
|
|
|
|
|
switch(type) {
|
2019-06-23 08:10:10 +08:00
|
|
|
case R_RISCV_ALIGN:
|
|
|
|
case R_RISCV_RELAX:
|
|
|
|
return;
|
|
|
|
|
|
|
|
case R_RISCV_BRANCH:
|
|
|
|
off64 = val - addr;
|
|
|
|
if ((off64 + (1 << 12)) & ~(uint64_t)0x1ffe)
|
2021-10-22 02:09:42 +08:00
|
|
|
tcc_error(S, "R_RISCV_BRANCH relocation failed"
|
2020-11-25 18:23:01 +08:00
|
|
|
" (val=%lx, addr=%lx)", (long)val, (long)addr);
|
2019-06-23 08:10:10 +08:00
|
|
|
off32 = off64 >> 1;
|
|
|
|
write32le(ptr, (read32le(ptr) & ~0xfe000f80)
|
|
|
|
| ((off32 & 0x800) << 20)
|
|
|
|
| ((off32 & 0x3f0) << 21)
|
|
|
|
| ((off32 & 0x00f) << 8)
|
|
|
|
| ((off32 & 0x400) >> 3));
|
|
|
|
return;
|
|
|
|
case R_RISCV_JAL:
|
|
|
|
off64 = val - addr;
|
|
|
|
if ((off64 + (1 << 21)) & ~(((uint64_t)1 << 22) - 2))
|
2021-10-22 02:09:42 +08:00
|
|
|
tcc_error(S, "R_RISCV_JAL relocation failed"
|
2020-11-25 18:23:01 +08:00
|
|
|
" (val=%lx, addr=%lx)", (long)val, (long)addr);
|
2019-06-23 08:10:10 +08:00
|
|
|
off32 = off64;
|
|
|
|
write32le(ptr, (read32le(ptr) & 0xfff)
|
|
|
|
| (((off32 >> 12) & 0xff) << 12)
|
|
|
|
| (((off32 >> 11) & 1) << 20)
|
|
|
|
| (((off32 >> 1) & 0x3ff) << 21)
|
|
|
|
| (((off32 >> 20) & 1) << 31));
|
|
|
|
return;
|
|
|
|
case R_RISCV_CALL:
|
|
|
|
case R_RISCV_CALL_PLT:
|
|
|
|
write32le(ptr, (read32le(ptr) & 0xfff)
|
|
|
|
| ((val - addr + 0x800) & ~0xfff));
|
|
|
|
write32le(ptr + 4, (read32le(ptr + 4) & 0xfffff)
|
|
|
|
| (((val - addr) & 0xfff) << 20));
|
|
|
|
return;
|
|
|
|
case R_RISCV_PCREL_HI20:
|
2019-06-23 11:19:37 +08:00
|
|
|
#ifdef DEBUG_RELOC
|
2020-11-25 18:23:01 +08:00
|
|
|
printf("PCREL_HI20: val=%lx addr=%lx\n", (long)val, (long)addr);
|
2019-06-23 11:19:37 +08:00
|
|
|
#endif
|
2019-06-23 08:10:10 +08:00
|
|
|
off64 = (int64_t)(val - addr + 0x800) >> 12;
|
|
|
|
if ((off64 + ((uint64_t)1 << 20)) >> 21)
|
2021-10-22 02:09:42 +08:00
|
|
|
tcc_error(S, "R_RISCV_PCREL_HI20 relocation failed: off=%lx cond=%lx sym=%s",
|
2020-11-25 18:23:01 +08:00
|
|
|
(long)off64, (long)((int64_t)(off64 + ((uint64_t)1 << 20)) >> 21),
|
2019-07-16 05:15:51 +08:00
|
|
|
symtab_section->link->data + sym->st_name);
|
2019-06-23 08:10:10 +08:00
|
|
|
write32le(ptr, (read32le(ptr) & 0xfff)
|
|
|
|
| ((off64 & 0xfffff) << 12));
|
|
|
|
last_hi.addr = addr;
|
|
|
|
last_hi.val = val;
|
|
|
|
return;
|
|
|
|
case R_RISCV_GOT_HI20:
|
2021-10-22 02:09:42 +08:00
|
|
|
val = S->got->sh_addr + get_sym_attr(S, sym_index, 0)->got_offset;
|
2019-06-23 08:10:10 +08:00
|
|
|
off64 = (int64_t)(val - addr + 0x800) >> 12;
|
|
|
|
if ((off64 + ((uint64_t)1 << 20)) >> 21)
|
2021-10-22 02:09:42 +08:00
|
|
|
tcc_error(S, "R_RISCV_GOT_HI20 relocation failed");
|
2019-06-23 08:10:10 +08:00
|
|
|
last_hi.addr = addr;
|
|
|
|
last_hi.val = val;
|
|
|
|
write32le(ptr, (read32le(ptr) & 0xfff)
|
|
|
|
| ((off64 & 0xfffff) << 12));
|
|
|
|
return;
|
|
|
|
case R_RISCV_PCREL_LO12_I:
|
2019-06-23 11:19:37 +08:00
|
|
|
#ifdef DEBUG_RELOC
|
2020-11-25 18:23:01 +08:00
|
|
|
printf("PCREL_LO12_I: val=%lx addr=%lx\n", (long)val, (long)addr);
|
2019-06-23 11:19:37 +08:00
|
|
|
#endif
|
2019-06-23 08:10:10 +08:00
|
|
|
if (val != last_hi.addr)
|
2021-10-22 02:09:42 +08:00
|
|
|
tcc_error(S, "unsupported hi/lo pcrel reloc scheme");
|
2019-06-23 08:10:10 +08:00
|
|
|
val = last_hi.val;
|
|
|
|
addr = last_hi.addr;
|
|
|
|
write32le(ptr, (read32le(ptr) & 0xfffff)
|
|
|
|
| (((val - addr) & 0xfff) << 20));
|
|
|
|
return;
|
|
|
|
case R_RISCV_PCREL_LO12_S:
|
|
|
|
if (val != last_hi.addr)
|
2021-10-22 02:09:42 +08:00
|
|
|
tcc_error(S, "unsupported hi/lo pcrel reloc scheme");
|
2019-06-23 08:10:10 +08:00
|
|
|
val = last_hi.val;
|
|
|
|
addr = last_hi.addr;
|
|
|
|
off32 = val - addr;
|
|
|
|
write32le(ptr, (read32le(ptr) & ~0xfe000f80)
|
|
|
|
| ((off32 & 0xfe0) << 20)
|
|
|
|
| ((off32 & 0x01f) << 7));
|
|
|
|
return;
|
|
|
|
|
|
|
|
case R_RISCV_RVC_BRANCH:
|
|
|
|
off64 = (val - addr);
|
|
|
|
if ((off64 + (1 << 8)) & ~(uint64_t)0x1fe)
|
2021-10-22 02:09:42 +08:00
|
|
|
tcc_error(S, "R_RISCV_RVC_BRANCH relocation failed"
|
2020-11-25 18:23:01 +08:00
|
|
|
" (val=%lx, addr=%lx)", (long)val, (long)addr);
|
2019-06-23 08:10:10 +08:00
|
|
|
off32 = off64;
|
|
|
|
write16le(ptr, (read16le(ptr) & 0xe383)
|
|
|
|
| (((off32 >> 5) & 1) << 2)
|
|
|
|
| (((off32 >> 1) & 3) << 3)
|
|
|
|
| (((off32 >> 6) & 3) << 5)
|
|
|
|
| (((off32 >> 3) & 3) << 10)
|
|
|
|
| (((off32 >> 8) & 1) << 12));
|
|
|
|
return;
|
|
|
|
case R_RISCV_RVC_JUMP:
|
|
|
|
off64 = (val - addr);
|
|
|
|
if ((off64 + (1 << 11)) & ~(uint64_t)0xffe)
|
2021-10-22 02:09:42 +08:00
|
|
|
tcc_error(S, "R_RISCV_RVC_BRANCH relocation failed"
|
2020-11-25 18:23:01 +08:00
|
|
|
" (val=%lx, addr=%lx)", (long)val, (long)addr);
|
2019-06-23 08:10:10 +08:00
|
|
|
off32 = off64;
|
|
|
|
write16le(ptr, (read16le(ptr) & 0xe003)
|
|
|
|
| (((off32 >> 5) & 1) << 2)
|
|
|
|
| (((off32 >> 1) & 7) << 3)
|
|
|
|
| (((off32 >> 7) & 1) << 6)
|
|
|
|
| (((off32 >> 6) & 1) << 7)
|
|
|
|
| (((off32 >> 10) & 1) << 8)
|
|
|
|
| (((off32 >> 8) & 3) << 9)
|
|
|
|
| (((off32 >> 4) & 1) << 11)
|
|
|
|
| (((off32 >> 11) & 1) << 12));
|
|
|
|
return;
|
|
|
|
|
|
|
|
case R_RISCV_32:
|
2021-10-22 02:09:42 +08:00
|
|
|
if (S->output_type == TCC_OUTPUT_DLL) {
|
2020-08-04 16:36:47 +08:00
|
|
|
/* XXX: this logic may depend on TCC's codegen
|
|
|
|
now TCC uses R_RISCV_RELATIVE even for a 64bit pointer */
|
|
|
|
qrel->r_offset = rel->r_offset;
|
|
|
|
qrel->r_info = ELFW(R_INFO)(0, R_RISCV_RELATIVE);
|
|
|
|
/* Use sign extension! */
|
|
|
|
qrel->r_addend = (int)read32le(ptr) + val;
|
|
|
|
qrel++;
|
|
|
|
}
|
2020-06-16 13:39:48 +08:00
|
|
|
add32le(ptr, val);
|
2019-06-23 08:10:10 +08:00
|
|
|
return;
|
|
|
|
case R_RISCV_64:
|
2021-10-22 02:09:42 +08:00
|
|
|
if (S->output_type == TCC_OUTPUT_DLL) {
|
|
|
|
esym_index = get_sym_attr(S, sym_index, 0)->dyn_index;
|
2020-08-04 16:36:47 +08:00
|
|
|
qrel->r_offset = rel->r_offset;
|
|
|
|
if (esym_index) {
|
|
|
|
qrel->r_info = ELFW(R_INFO)(esym_index, R_RISCV_64);
|
|
|
|
qrel->r_addend = rel->r_addend;
|
|
|
|
qrel++;
|
|
|
|
break;
|
|
|
|
} else {
|
|
|
|
qrel->r_info = ELFW(R_INFO)(0, R_RISCV_RELATIVE);
|
|
|
|
qrel->r_addend = read64le(ptr) + val;
|
|
|
|
qrel++;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
case R_RISCV_JUMP_SLOT:
|
2020-06-16 13:39:48 +08:00
|
|
|
add64le(ptr, val);
|
2019-06-23 08:10:10 +08:00
|
|
|
return;
|
2019-07-16 00:39:02 +08:00
|
|
|
case R_RISCV_ADD64:
|
|
|
|
write64le(ptr, read64le(ptr) + val);
|
|
|
|
return;
|
2019-06-23 08:10:10 +08:00
|
|
|
case R_RISCV_ADD32:
|
|
|
|
write32le(ptr, read32le(ptr) + val);
|
|
|
|
return;
|
2019-07-16 00:39:02 +08:00
|
|
|
case R_RISCV_SUB64:
|
|
|
|
write64le(ptr, read64le(ptr) - val);
|
|
|
|
return;
|
2019-06-23 08:10:10 +08:00
|
|
|
case R_RISCV_SUB32:
|
|
|
|
write32le(ptr, read32le(ptr) - val);
|
|
|
|
return;
|
2019-07-16 00:39:02 +08:00
|
|
|
case R_RISCV_ADD16:
|
|
|
|
write16le(ptr, read16le(ptr) + val);
|
|
|
|
return;
|
|
|
|
case R_RISCV_SUB16:
|
|
|
|
write16le(ptr, read16le(ptr) - val);
|
|
|
|
return;
|
|
|
|
case R_RISCV_SET6:
|
|
|
|
*ptr = (*ptr & ~0x3f) | (val & 0x3f);
|
|
|
|
return;
|
|
|
|
case R_RISCV_SUB6:
|
|
|
|
*ptr = (*ptr & ~0x3f) | ((*ptr - val) & 0x3f);
|
|
|
|
return;
|
2019-06-23 08:10:10 +08:00
|
|
|
|
|
|
|
case R_RISCV_32_PCREL:
|
|
|
|
case R_RISCV_COPY:
|
|
|
|
/* XXX */
|
|
|
|
return;
|
|
|
|
|
|
|
|
default:
|
|
|
|
fprintf(stderr, "FIXME: handle reloc type %x at %x [%p] to %x\n",
|
|
|
|
type, (unsigned)addr, ptr, (unsigned)val);
|
|
|
|
return;
|
2019-06-22 12:13:10 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|