diff options
author | H.J. Lu <hjl@lucon.org> | 2005-02-28 15:57:13 +0000 |
---|---|---|
committer | H.J. Lu <hjl@lucon.org> | 2005-02-28 15:57:13 +0000 |
commit | 9988ec7fc9781e681398821f010e8715ae525f26 (patch) | |
tree | 700a2ac31d42d2ce219c817187201970bd9c4aaa /bfd/elf-bfd.h | |
parent | 1c689071dc9a8a84450930cd82f68b2490b4b222 (diff) | |
download | gdb-9988ec7fc9781e681398821f010e8715ae525f26.tar.gz |
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.
Diffstat (limited to 'bfd/elf-bfd.h')
-rw-r--r-- | bfd/elf-bfd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h index 4c93e808912..fae6f3128b9 100644 --- a/bfd/elf-bfd.h +++ b/bfd/elf-bfd.h @@ -1554,7 +1554,8 @@ extern bfd_boolean _bfd_elf_maybe_strip_eh_frame_hdr extern bfd_boolean _bfd_elf_merge_symbol (bfd *, struct bfd_link_info *, const char *, Elf_Internal_Sym *, - asection **, bfd_vma *, struct elf_link_hash_entry **, bfd_boolean *, + asection **, bfd_vma *, unsigned int *, + struct elf_link_hash_entry **, bfd_boolean *, bfd_boolean *, bfd_boolean *, bfd_boolean *); extern bfd_boolean _bfd_elf_add_default_symbol |