aboutsummaryrefslogtreecommitdiff
path: root/tcc.h
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2016-11-12 23:16:06 +0800
committerThomas Preud'homme <robotux@celest.fr>2016-12-03 17:26:51 +0000
commitcb273fdad891d312c15110cd4eab95f5db39dcb2 (patch)
treeb5cfe985f0ba556bca2e1e6e278db51972c7b862 /tcc.h
parent60374d01ae56e59308d1b5441bc1986295507ec6 (diff)
downloadtinycc-cb273fdad891d312c15110cd4eab95f5db39dcb2.tar.gz
tinycc-cb273fdad891d312c15110cd4eab95f5db39dcb2.tar.bz2
Do section relocation in architecture backend
Diffstat (limited to 'tcc.h')
-rw-r--r--tcc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tcc.h b/tcc.h
index c7d6dd5..147cbac 100644
--- a/tcc.h
+++ b/tcc.h
@@ -1485,6 +1485,11 @@ ST_FUNC void gen_clear_cache(void);
#ifdef TCC_TARGET_C67
#endif
+/* ------------ xxx-link.c ------------ */
+
+ST_FUNC void relocate_init(Section *sr);
+ST_FUNC void relocate(TCCState *s1, ElfW_Rel *rel, int type, char *ptr, addr_t addr, addr_t val);
+
/* ------------ tcccoff.c ------------ */
#ifdef TCC_TARGET_COFF