From 388853f746bee8a011fc076e798a7fd770f67fbe Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 3 Oct 2008 15:08:22 +0000 Subject: [PATCH] binutils/testsuite/ 2008-10-03 H.J. Lu * binutils-all/group.s: Updated. * binutils-all/group-2.s: Likewise. * binutils-all/group-3.s: Likewise. * binutils-all/group-4.s: Likewise. * binutils-all/strip-7.d: Likewise. * binutils-all/strip-9.d: Likewise. ld/testsuite/ 2008-10-03 H.J. Lu * ld-elf/group5.d: Updated. * ld-elf/group6.d: Likewise. --- binutils/testsuite/ChangeLog | 9 +++++++++ binutils/testsuite/binutils-all/group-2.s | 8 ++++---- binutils/testsuite/binutils-all/group-3.s | 12 ++++++------ binutils/testsuite/binutils-all/group-4.s | 8 ++++---- binutils/testsuite/binutils-all/group.s | 4 ++-- binutils/testsuite/binutils-all/strip-7.d | 2 +- binutils/testsuite/binutils-all/strip-9.d | 2 +- ld/testsuite/ChangeLog | 5 +++++ ld/testsuite/ld-elf/group5.d | 2 +- ld/testsuite/ld-elf/group6.d | 2 +- 10 files changed, 34 insertions(+), 20 deletions(-) diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog index c0fc86f976b..acb2bdca6a5 100644 --- a/binutils/testsuite/ChangeLog +++ b/binutils/testsuite/ChangeLog @@ -1,3 +1,12 @@ +2008-10-03 H.J. Lu + + * binutils-all/group.s: Updated. + * binutils-all/group-2.s: Likewise. + * binutils-all/group-3.s: Likewise. + * binutils-all/group-4.s: Likewise. + * binutils-all/strip-7.d: Likewise. + * binutils-all/strip-9.d: Likewise. + 2008-10-01 H.J. Lu * binutils-all/group-4.s: New. diff --git a/binutils/testsuite/binutils-all/group-2.s b/binutils/testsuite/binutils-all/group-2.s index 6654138d23c..187eeda2453 100644 --- a/binutils/testsuite/binutils-all/group-2.s +++ b/binutils/testsuite/binutils-all/group-2.s @@ -1,8 +1,8 @@ .section .text.foo,"axG",%progbits,.text.foo,comdat - .global foo -foo: + .global foo2 +foo2: .word 0 .section .data.bar,"awG",%progbits,.text.foo,comdat - .global bar -bar: + .global bar2 +bar2: .word 0 diff --git a/binutils/testsuite/binutils-all/group-3.s b/binutils/testsuite/binutils-all/group-3.s index 7cf76a13197..eb235e865b0 100644 --- a/binutils/testsuite/binutils-all/group-3.s +++ b/binutils/testsuite/binutils-all/group-3.s @@ -1,8 +1,8 @@ - .section .text,"axG",%progbits,foo,comdat - .global foo -foo: + .section .text.foo3,"axG",%progbits,foo3,comdat + .global foo3 +foo3: .word 0 - .section .data,"awG",%progbits,foo,comdat - .global bar -bar: + .section .data.bar3,"awG",%progbits,foo3,comdat + .global bar3 +bar3: .word 0 diff --git a/binutils/testsuite/binutils-all/group-4.s b/binutils/testsuite/binutils-all/group-4.s index 8eae91ef2d4..b1c8736ffec 100644 --- a/binutils/testsuite/binutils-all/group-4.s +++ b/binutils/testsuite/binutils-all/group-4.s @@ -1,6 +1,6 @@ - .section .text,"axG",%progbits,foo,comdat -foo: + .section .text.foo4,"axG",%progbits,foo4,comdat +foo4: .word 0 - .section .data,"awG",%progbits,foo,comdat -bar: + .section .data.foo4,"awG",%progbits,foo4,comdat +bar4: .word 0 diff --git a/binutils/testsuite/binutils-all/group.s b/binutils/testsuite/binutils-all/group.s index 21aa4be55b6..cc1ffb6ded7 100644 --- a/binutils/testsuite/binutils-all/group.s +++ b/binutils/testsuite/binutils-all/group.s @@ -1,8 +1,8 @@ - .section .text,"axG",%progbits,foo_group,comdat + .section .text.foo,"axG",%progbits,foo_group,comdat .global foo foo: .word 0 - .section .data,"awG",%progbits,foo_group,comdat + .section .data.foo,"awG",%progbits,foo_group,comdat .global bar bar: .word 0 diff --git a/binutils/testsuite/binutils-all/strip-7.d b/binutils/testsuite/binutils-all/strip-7.d index 11ce8bc4371..791463b81b7 100644 --- a/binutils/testsuite/binutils-all/strip-7.d +++ b/binutils/testsuite/binutils-all/strip-7.d @@ -11,7 +11,7 @@ #... \[[ 0-9]+\] \.data.*[ \t]+PROGBITS[ \t0-9a-f]+WAG[ \t]+.* #... -COMDAT group section \[[ 0-9]+\] `.group' \[foo\] contains 2 sections: +COMDAT group section \[[ 0-9]+\] `.group' \[foo3\] contains 2 sections: \[Index\] Name \[[ 0-9]+\] .text.* \[[ 0-9]+\] .data.* diff --git a/binutils/testsuite/binutils-all/strip-9.d b/binutils/testsuite/binutils-all/strip-9.d index 2ec2fc3b4b8..7f07a0da377 100644 --- a/binutils/testsuite/binutils-all/strip-9.d +++ b/binutils/testsuite/binutils-all/strip-9.d @@ -11,7 +11,7 @@ #... \[[ 0-9]+\] \.data.*[ \t]+PROGBITS[ \t0-9a-f]+WAG[ \t]+.* #... -COMDAT group section \[[ 0-9]+\] `.group' \[foo\] contains 2 sections: +COMDAT group section \[[ 0-9]+\] `.group' \[foo4\] contains 2 sections: \[Index\] Name \[[ 0-9]+\] .text.* \[[ 0-9]+\] .data.* diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 634d938ad30..583396074ac 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2008-10-03 H.J. Lu + + * ld-elf/group5.d: Updated. + * ld-elf/group6.d: Likewise. + 2008-10-03 Tristan Gingold * ld-elf/stab.d: Don't run on alpha (to avoid relocation diff --git a/ld/testsuite/ld-elf/group5.d b/ld/testsuite/ld-elf/group5.d index 6c3284653d7..7d6eff61d09 100644 --- a/ld/testsuite/ld-elf/group5.d +++ b/ld/testsuite/ld-elf/group5.d @@ -9,7 +9,7 @@ #... \[[ 0-9]+\] \.data.*[ \t]+PROGBITS[ \t0-9a-f]+WAG[ \t]+.* #... -COMDAT group section \[[ 0-9]+\] `.group' \[foo\] contains 2 sections: +COMDAT group section \[[ 0-9]+\] `.group' \[foo3\] contains 2 sections: \[Index\] Name \[[ 0-9]+\] .text.* \[[ 0-9]+\] .data.* diff --git a/ld/testsuite/ld-elf/group6.d b/ld/testsuite/ld-elf/group6.d index 84525b4e1a0..b1134146e6a 100644 --- a/ld/testsuite/ld-elf/group6.d +++ b/ld/testsuite/ld-elf/group6.d @@ -9,7 +9,7 @@ #... \[[ 0-9]+\] \.data.*[ \t]+PROGBITS[ \t0-9a-f]+WAG[ \t]+.* #... -COMDAT group section \[[ 0-9]+\] `.group' \[foo\] contains 2 sections: +COMDAT group section \[[ 0-9]+\] `.group' \[foo4\] contains 2 sections: \[Index\] Name \[[ 0-9]+\] .text.* \[[ 0-9]+\] .data.* -- 2.30.2