forked from Imagelibrary/binutils-gdb
Merge init_private_section_data with copy_private_section_data
init_private_section_data is used by the linker and is a special case of copy_private_section_data that copies a reduced set of section data from input to output. Merge the two functions, adding a link_info param to copy_private_section_data and remove init_private_section_data.
This commit is contained in:
@@ -366,7 +366,7 @@ clone_section (bfd *abfd, asection *s, const char *name, int *count)
|
||||
n->reloc_count = 0;
|
||||
n->alignment_power = s->alignment_power;
|
||||
|
||||
bfd_copy_private_section_data (abfd, s, abfd, n);
|
||||
bfd_copy_private_section_data (abfd, s, abfd, n, NULL);
|
||||
|
||||
return n;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user