bfd/
commit668b8cbeee993cc49b28450386432f307345b7fd
authorH.J. Lu <hjl@lucon.org>
Tue, 19 Jun 2007 13:05:55 +0000 (19 13:05 +0000)
committerH.J. Lu <hjl@lucon.org>
Tue, 19 Jun 2007 13:05:55 +0000 (19 13:05 +0000)
tree236865376c790d0dfc6cc066b9ed09fcb9226378
parent30496feaaec4196cf4fc02cee8a05d309f016c03
bfd/

2007-06-19  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/4590
* elfxx-ia64.c (sort_dyn_sym_info): Keep the valid got_offset
when removing duplicated entries.
(get_dyn_sym_info): Initialize the got_offset field to -1.
Update call to sort_dyn_sym_info.
(elfNN_ia64_relocate_section): Call sort_dyn_sym_info to sort
array of addend and remove duplicates.

ld/testsuite/

2007-06-19  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/4590
* ld-ia64/merge1.d: New.
* ld-ia64/merge1.s: Likewise.
* ld-ia64/merge2.d: Likewise.
* ld-ia64/merge2.s: Likewise.
* ld-ia64/merge3.d: Likewise.
* ld-ia64/merge3.s: Likewise.
* ld-ia64/merge4.d: Likewise.
* ld-ia64/merge4.s: Likewise.
* ld-ia64/merge5.d: Likewise.
* ld-ia64/merge5.s: Likewise.
13 files changed:
bfd/ChangeLog
bfd/elfxx-ia64.c
ld/testsuite/ChangeLog
ld/testsuite/ld-ia64/merge1.d [new file with mode: 0644]
ld/testsuite/ld-ia64/merge1.s [new file with mode: 0644]
ld/testsuite/ld-ia64/merge2.d [new file with mode: 0644]
ld/testsuite/ld-ia64/merge2.s [new file with mode: 0644]
ld/testsuite/ld-ia64/merge3.d [new file with mode: 0644]
ld/testsuite/ld-ia64/merge3.s [new file with mode: 0644]
ld/testsuite/ld-ia64/merge4.d [new file with mode: 0644]
ld/testsuite/ld-ia64/merge4.s [new file with mode: 0644]
ld/testsuite/ld-ia64/merge5.d [new file with mode: 0644]
ld/testsuite/ld-ia64/merge5.s [new file with mode: 0644]