aboutsummaryrefslogtreecommitdiff
path: root/tccelf.c
diff options
context:
space:
mode:
authorgrischka <grischka>2013-02-06 19:01:07 +0100
committergrischka <grischka>2013-02-06 19:01:07 +0100
commit7a477d70cabe15fa66fd0f32fab5e95841a500e5 (patch)
tree93e20aacb3f5ede1dda9ed987fc4558ebc17a9cf /tccelf.c
parent92024ab07ad8e1c4a05f90add3d3ca7932251016 (diff)
downloadtinycc-7a477d70cabe15fa66fd0f32fab5e95841a500e5.tar.gz
tinycc-7a477d70cabe15fa66fd0f32fab5e95841a500e5.tar.bz2
lib/Makefile: use CC, add bcheck to libtcc1.a
Also: - fix "make tcc_p" (profiling version) - remove old gcc flags: -mpreferred-stack-boundary=2 -march=i386 -falign-functions=0 - remove test "hello" for Darwin (cannot compile to file)
Diffstat (limited to 'tccelf.c')
-rw-r--r--tccelf.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/tccelf.c b/tccelf.c
index cba47b1..781c322 100644
--- a/tccelf.c
+++ b/tccelf.c
@@ -1338,10 +1338,6 @@ ST_FUNC void tcc_add_bcheck(TCCState *s1)
add_elf_sym(symtab_section, 0, 0,
ELFW(ST_INFO)(STB_GLOBAL, STT_NOTYPE), 0,
bounds_section->sh_num, "__bounds_start");
- /* add bound check code */
-#ifndef TCC_TARGET_PE
- tcc_add_support(s1, "bcheck.o");
-#endif
#ifdef TCC_TARGET_I386
if (s1->output_type != TCC_OUTPUT_MEMORY) {
/* add 'call __bound_init()' in .init section */