mirror of
https://github.com/frida/tinycc
synced 2025-01-04 19:14:28 +03:00
riscv64: Fix printf warning
now that tcc_error also checks arguments.
This commit is contained in:
parent
3b617fdc53
commit
ae14ef5426
@ -158,7 +158,7 @@ static int load_symofs(int r, SValue *sv, int forstore)
|
||||
sv->c.i = 0;
|
||||
} else {
|
||||
if (((unsigned)fc + (1 << 11)) >> 12)
|
||||
tcc_error("unimp: large addend for global address (0x%llx)", sv->c.i);
|
||||
tcc_error("unimp: large addend for global address (0x%llx)", (long long)sv->c.i);
|
||||
greloca(cur_text_section, sv->sym, ind,
|
||||
R_RISCV_GOT_HI20, 0);
|
||||
doload = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user