mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-29 16:38:05 +08:00
binutils/objcopy.c (setup_section): missing extract_symbol part
* objcopy.c (setup_section): Don't omit bfd_copy_private_bfd_data call when extract_symbol.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2015-10-22 Hans-Peter Nilsson <hp@bitrange.com>
|
||||||
|
|
||||||
|
* objcopy.c (setup_section): Don't omit bfd_copy_private_bfd_data
|
||||||
|
call when extract_symbol.
|
||||||
|
|
||||||
2015-10-21 Ronald Hoogenboom <rhoogenboom@irdeto.com>
|
2015-10-21 Ronald Hoogenboom <rhoogenboom@irdeto.com>
|
||||||
|
|
||||||
PR binutils/19104
|
PR binutils/19104
|
||||||
|
@ -3089,11 +3089,6 @@ setup_section (bfd *ibfd, sec_ptr isection, void *obfdarg)
|
|||||||
isection->output_section = osection;
|
isection->output_section = osection;
|
||||||
isection->output_offset = 0;
|
isection->output_offset = 0;
|
||||||
|
|
||||||
/* Do not copy backend data if --extract-symbol is passed; anything
|
|
||||||
that needs to look at the section contents will fail. */
|
|
||||||
if (extract_symbol)
|
|
||||||
return;
|
|
||||||
|
|
||||||
if ((isection->flags & SEC_GROUP) != 0)
|
if ((isection->flags & SEC_GROUP) != 0)
|
||||||
{
|
{
|
||||||
asymbol *gsym = group_signature (isection);
|
asymbol *gsym = group_signature (isection);
|
||||||
|
Reference in New Issue
Block a user