add CLI option -Bsymbolic for binding global references locally

This commit is contained in:
Andrew Kelley
2020-04-26 15:28:47 -04:00
parent 28c31a8429
commit 6aeceec1f2
4 changed files with 25 additions and 0 deletions

View File

@@ -10685,6 +10685,7 @@ static Error check_cache(CodeGen *g, Buf *manifest_dir, Buf *digest) {
cache_buf_opt(ch, g->linker_optimization);
cache_int(ch, g->linker_gc_sections);
cache_int(ch, g->linker_allow_shlib_undefined);
cache_int(ch, g->linker_bind_global_refs_locally);
cache_bool(ch, g->linker_z_nodelete);
cache_bool(ch, g->linker_z_defs);
cache_usize(ch, g->stack_size_override);