forked from Imagelibrary/binutils-gdb
PR31999 strip [.gnu.build.attributes]: failed
PR 31999 * objcopy.c (merge_gnu_build_notes): Always set *new_size.
This commit is contained in:
@@ -2203,6 +2203,7 @@ merge_gnu_build_notes (bfd * abfd,
|
||||
unsigned long previous_open_end = 0;
|
||||
long relsize;
|
||||
|
||||
*new_size = size;
|
||||
relsize = bfd_get_reloc_upper_bound (abfd, sec);
|
||||
if (relsize > 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user