aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-ia64/merge5.s
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2007-06-19 13:05:55 +0000
committerH.J. Lu <hjl.tools@gmail.com>2007-06-19 13:05:55 +0000
commit293a01244194269a44cd69c0733b9c3df4e4baa4 (patch)
tree2e91b2a99b29e7dc3f326389ad236baeb0c4a68c /ld/testsuite/ld-ia64/merge5.s
parent30ff741fa7e8c8d8ca94f7e43917e5fe10ce1017 (diff)
downloadgdb-293a01244194269a44cd69c0733b9c3df4e4baa4.zip
gdb-293a01244194269a44cd69c0733b9c3df4e4baa4.tar.gz
gdb-293a01244194269a44cd69c0733b9c3df4e4baa4.tar.bz2
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.
Diffstat (limited to 'ld/testsuite/ld-ia64/merge5.s')
-rw-r--r--ld/testsuite/ld-ia64/merge5.s24
1 files changed, 24 insertions, 0 deletions
diff --git a/ld/testsuite/ld-ia64/merge5.s b/ld/testsuite/ld-ia64/merge5.s
new file mode 100644
index 0000000..81428c4
--- /dev/null
+++ b/ld/testsuite/ld-ia64/merge5.s
@@ -0,0 +1,24 @@
+ .section .rodata.str1.8,"aMS", 1
+.LC1: .string "foo"
+.LC2: .string "foo"
+.LC3: .string "bar"
+.LC4: .string "bar"
+.LC5: .string "bar"
+.LC6: .string "bar"
+.LC7: .string "baz"
+.LC8: .string "baz"
+ .section .data.rel.local,"aw"
+ .quad .LC2
+ .quad .LC4
+ .quad .LC6
+ .quad .LC7
+ .section .rodata,"a"
+.LC9: .string "mumble"
+ .balign 8
+ .space 0x400000
+ .text
+ addl r12=@ltoffx(.LC1),r1 ;;
+ addl r12=@ltoffx(.LC3),r1 ;;
+ addl r12=@ltoffx(.LC5),r1 ;;
+ addl r12=@ltoffx(.LC8),r1 ;;
+ addl r12=@ltoffx(.LC9),r1 ;;