mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 17:40:49 +00:00
* gold.h: Include <cstring> and <stdint.h>.
* version.cc: Include <cstdio>. * object.cc (Sized_relobj::do_layout): Initialize gc_sd to avoid a warning. * reduced_debug_output.cc (insert_into_vector): Rename from Insert_into_vector; change all callers. Use Swap_unaligned to avoid aliasing issue; remove union since it is unnecessary.
This commit is contained in:
@@ -913,7 +913,7 @@ Sized_relobj<size, big_endian>::do_layout(Symbol_table* symtab,
|
||||
&& symtab->gc()->is_worklist_ready());
|
||||
if (shnum == 0)
|
||||
return;
|
||||
Symbols_data* gc_sd;
|
||||
Symbols_data* gc_sd = NULL;
|
||||
if (is_gc_pass_one)
|
||||
{
|
||||
// During garbage collection save the symbols data to use it when
|
||||
|
||||
Reference in New Issue
Block a user