From a783673bd6247d3fcbf2cfe54fe7574d36b97691 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 10 Oct 2006 18:54:06 +0000 Subject: Avoid multiple definition errors from linkonce sections. --- gold/target-reloc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gold/target-reloc.h') diff --git a/gold/target-reloc.h b/gold/target-reloc.h index 66ff78c..f972b11 100644 --- a/gold/target-reloc.h +++ b/gold/target-reloc.h @@ -94,6 +94,7 @@ relocate_section( else { Symbol* gsym = global_syms[r_sym - local_count]; + assert(gsym != NULL); if (gsym->is_forwarder()) gsym = symtab->resolve_forwards(gsym); -- cgit v1.1