mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
293a012441
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.
17 lines
339 B
ArmAsm
17 lines
339 B
ArmAsm
.section .rodata.str1.8,"aMS", 1
|
|
.LC1: .string "foo"
|
|
.LC2: .string "foo"
|
|
.LC3: .string "bar"
|
|
.LC4: .string "bar"
|
|
.section .data.rel.local,"aw"
|
|
.quad .LC2
|
|
.quad .LC3
|
|
.section .rodata,"a"
|
|
.LC5: .string "mumble"
|
|
.balign 8
|
|
.space 0x400000
|
|
.text
|
|
addl r12=@ltoffx(.LC1),r1 ;;
|
|
addl r12=@ltoffx(.LC4),r1 ;;
|
|
addl r12=@ltoffx(.LC5),r1 ;;
|