diff --git a/arm-asm.c b/arm-asm.c index 45ccab5d..a4f974f6 100644 --- a/arm-asm.c +++ b/arm-asm.c @@ -77,6 +77,7 @@ static int asm_parse_vfp_regvar(int t, int double_precision) return -1; } +__attribute__((unused)) static int asm_parse_vfp_status_regvar(int t) { switch (t) { diff --git a/arm64-link.c b/arm64-link.c index e4305fe5..99916693 100644 --- a/arm64-link.c +++ b/arm64-link.c @@ -90,6 +90,7 @@ int gotplt_entry_type (int reloc_type) return -1; } +__attribute__((unused)) ST_FUNC unsigned create_plt_entry(TCCState *s1, unsigned got_offset, struct sym_attr *attr) { Section *plt = s1->plt; @@ -109,6 +110,7 @@ ST_FUNC unsigned create_plt_entry(TCCState *s1, unsigned got_offset, struct sym_ /* relocate the PLT: compute addresses and offsets in the PLT now that final address for PLT and GOT are known (see fill_program_header) */ +__attribute__((unused)) ST_FUNC void relocate_plt(TCCState *s1) { uint8_t *p, *p_end;