mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-10 05:52:21 +08:00
2005-02-28 H.J. Lu <hongjiu.lu@intel.com>
PR 757 * elf-bfd.h (_bfd_elf_merge_symbol): Add a pointer to unsigned int. * elf32-sh-symbian.c (sh_symbian_relocate_section): Pass NULL to _bfd_elf_merge_symbol. * elflink.c (_bfd_elf_merge_symbol): Use the pointer to unsigned int to return the alignment of the old common symbol in the dynamic object. (_bfd_elf_add_default_symbol): Pass NULL to _bfd_elf_merge_symbol. (elf_link_add_object_symbols): Pass &old_alignment to _bfd_elf_merge_symbol. Get the alignment of the new common symbol in the dynamic object.
This commit is contained in:
@ -492,8 +492,11 @@ sh_symbian_relocate_section (bfd * output_bfd,
|
||||
new_sym.st_other = ELF_ST_VISIBILITY (STV_DEFAULT);
|
||||
new_sym.st_shndx = SHN_UNDEF;
|
||||
|
||||
if (! _bfd_elf_merge_symbol (input_bfd, info, ptr->new_name, & new_sym, & psec,
|
||||
& new_value, & new_hash, & skip, & override, & type_change_ok,
|
||||
if (! _bfd_elf_merge_symbol (input_bfd, info,
|
||||
ptr->new_name, & new_sym,
|
||||
& psec, & new_value, NULL,
|
||||
& new_hash, & skip,
|
||||
& override, & type_change_ok,
|
||||
& size_change_ok))
|
||||
{
|
||||
_bfd_error_handler (_("%B: Failed to add renamed symbol %s"),
|
||||
|
Reference in New Issue
Block a user