forked from Imagelibrary/binutils-gdb
PR28826 x86_64 ld segfaults building xen
Fallout from commit e86fc4a5bc
PR 28826
* coffgen.c (coff_write_alien_symbol): Init dummy to zeros.
This commit is contained in:
@@ -1092,6 +1092,7 @@ coff_write_alien_symbol (bfd *abfd,
|
||||
memset (isym, 0, sizeof (*isym));
|
||||
return true;
|
||||
}
|
||||
memset (dummy, 0, sizeof dummy);
|
||||
native = dummy;
|
||||
native->is_sym = true;
|
||||
native[1].is_sym = false;
|
||||
|
||||
Reference in New Issue
Block a user