From 02642bc94cb65a59a9eb95b8214bf66960ecde6e Mon Sep 17 00:00:00 2001 From: grischka Date: Wed, 19 Oct 2016 19:15:04 +0200 Subject: lib/libtcc1.c: cleanup - remove #include dependencies from libtcc1.c for easier cross compilation - clear_cache only on ARM - error-message for mprotect failure --- tcc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tcc.h') diff --git a/tcc.h b/tcc.h index bd4fee4..e536f6c 100644 --- a/tcc.h +++ b/tcc.h @@ -1312,6 +1312,7 @@ ST_DATA Section *last_text_section; /* to handle .previous asm directive */ /* bound check related sections */ ST_DATA Section *bounds_section; /* contains global data bound description */ ST_DATA Section *lbounds_section; /* contains local data bound description */ +ST_FUNC void tccelf_bounds_new(TCCState *s); #endif /* symbol sections */ ST_DATA Section *symtab_section, *strtab_section; @@ -1320,7 +1321,6 @@ ST_DATA Section *stab_section, *stabstr_section; ST_FUNC void tccelf_new(TCCState *s); ST_FUNC void tccelf_delete(TCCState *s); -ST_FUNC void tccelf_bounds_new(TCCState *s); ST_FUNC void tccelf_stab_new(TCCState *s); ST_FUNC Section *new_section(TCCState *s1, const char *name, int sh_type, int sh_flags); -- cgit v1.3.1