From 559675b90acec03b67ed3f2cece1940f00e44c49 Mon Sep 17 00:00:00 2001 From: seyko Date: Fri, 10 Apr 2015 15:17:22 +0300 Subject: a bounds checking code for the ARCH=x86_64 --- tccelf.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'tccelf.c') diff --git a/tccelf.c b/tccelf.c index ac91456..98815e5 100644 --- a/tccelf.c +++ b/tccelf.c @@ -1579,7 +1579,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"); -#ifdef TCC_TARGET_I386 if (s1->output_type != TCC_OUTPUT_MEMORY) { /* add 'call __bound_init()' in .init section */ @@ -1601,7 +1600,6 @@ ST_FUNC void tcc_add_bcheck(TCCState *s1) tcc_warning("__bound_init not defined"); } #endif -#endif } /* add tcc runtime libraries */ -- cgit v1.3.1