aboutsummaryrefslogtreecommitdiff
path: root/tcc.h
diff options
context:
space:
mode:
authorgrischka <grischka>2016-10-19 19:15:04 +0200
committergrischka <grischka>2016-10-19 19:21:36 +0200
commit02642bc94cb65a59a9eb95b8214bf66960ecde6e (patch)
treec6dfbe912d888cca4bf4732a1882ab27643cb523 /tcc.h
parentbfd1c08d6c579445fe75dd633fbd9b0757cea5d0 (diff)
downloadtinycc-02642bc94cb65a59a9eb95b8214bf66960ecde6e.tar.gz
tinycc-02642bc94cb65a59a9eb95b8214bf66960ecde6e.tar.bz2
lib/libtcc1.c: cleanup
- remove #include dependencies from libtcc1.c for easier cross compilation - clear_cache only on ARM - error-message for mprotect failure
Diffstat (limited to 'tcc.h')
-rw-r--r--tcc.h2
1 files changed, 1 insertions, 1 deletions
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);