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)
This commit is contained in:
4
tccelf.c
4
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 */
|
||||
|
||||
Reference in New Issue
Block a user