From 7a477d70cabe15fa66fd0f32fab5e95841a500e5 Mon Sep 17 00:00:00 2001 From: grischka Date: Wed, 6 Feb 2013 19:01:07 +0100 Subject: 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) --- tccelf.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'tccelf.c') 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 */ -- cgit v1.3.1