aboutsummaryrefslogtreecommitdiff
path: root/tcc.h
diff options
context:
space:
mode:
authorThomas Preud'homme <thomas.preudhomme@celest.fr>2010-09-14 19:17:39 +0200
committerThomas Preud'homme <thomas.preudhomme@celest.fr>2010-09-14 23:21:15 +0200
commitb8adf0090e984d93b6fb3af635fedbbbebfa92e4 (patch)
tree501865bea4cbbfad336af9b7221e001c0b264bd0 /tcc.h
parent2596273fce52e1f9db1b03d495537614fd56cef5 (diff)
downloadtinycc-b8adf0090e984d93b6fb3af635fedbbbebfa92e4.tar.gz
tinycc-b8adf0090e984d93b6fb3af635fedbbbebfa92e4.tar.bz2
Move asm label functions from tccasm.c to tccgen.c
* Move functions parse_asm_str and asm_label_instr from tccasm.c to tccgen.c * Remove CONFIG_TCC_ASM_LABEL macro as asm label are available on all archs. See: http://lists.nongnu.org/archive/html/tinycc-devel/2010-09/msg00026.html for the rationale.
Diffstat (limited to 'tcc.h')
-rw-r--r--tcc.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/tcc.h b/tcc.h
index 95a2efb..492c724 100644
--- a/tcc.h
+++ b/tcc.h
@@ -122,7 +122,6 @@
#if !defined(TCC_TARGET_ARM) && !defined(TCC_TARGET_C67)
#define CONFIG_TCC_ASM
#endif
-#define CONFIG_TCC_ASM_LABEL
/* object format selection */
#if defined(TCC_TARGET_C67)
@@ -1073,6 +1072,7 @@ ST_FUNC int type_size(CType *type, int *a);
ST_FUNC void mk_pointer(CType *type);
ST_FUNC void vstore(void);
ST_FUNC void inc(int post, int c);
+ST_FUNC void parse_asm_str(CString *astr);
ST_FUNC int lvalue_type(int t);
ST_FUNC void indir(void);
ST_FUNC void unary(void);
@@ -1196,7 +1196,6 @@ ST_FUNC int tcc_load_coff(TCCState * s1, int fd);
/* ------------ tccasm.c ------------ */
ST_FUNC void asm_instr(void);
-ST_FUNC void asm_label_instr(CString *);
ST_FUNC void asm_global_instr(void);
#ifdef CONFIG_TCC_ASM