aboutsummaryrefslogtreecommitdiff
path: root/libtcc.c
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 /libtcc.c
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 'libtcc.c')
-rw-r--r--libtcc.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libtcc.c b/libtcc.c
index a755708..6594141 100644
--- a/libtcc.c
+++ b/libtcc.c
@@ -72,12 +72,6 @@ ST_DATA void *rt_prog_main;
#endif /* ALL_IN_ONE */
/********************************************************/
-#ifndef CONFIG_TCC_ASM_LABEL
-ST_FUNC void asm_label_instr(CString *)
-{
- error("inline asm() not supported");
-}
-#endif
#ifndef CONFIG_TCC_ASM
ST_FUNC void asm_instr(void)
{