aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2010-10-23 18:05:10 +0000
committerMark Mitchell <mark@codesourcery.com>2010-10-23 18:05:10 +0000
commit709001e957fd1ae39f44b1e0690dfca64dddf044 (patch)
tree9121111faa2dcaebe7a87afd1c8a72a85bcdcabb /ld
parent0c480dea726658ddeba3e1aa6644f804d4df1432 (diff)
downloadgdb-709001e957fd1ae39f44b1e0690dfca64dddf044.zip
gdb-709001e957fd1ae39f44b1e0690dfca64dddf044.tar.gz
gdb-709001e957fd1ae39f44b1e0690dfca64dddf044.tar.bz2
2010-10-23 Mark Mitchell <mark@codesourcery.com>
* config/obj-elf.c (elf_adjust_symtab): New. Move group section processing here from elf_frob_file. Ensure that group signature symbols have the name of the group. (elf_frob_file): Move group section processing to elf_adjust_symtab. * config/obj-elf.h (elf_adjust_symtab): Declare. (obj_adjust_symtab): Define. * config/tc-arm.c (arm_adjust_symtab): Call elf_adjust_symtab. 2010-10-23 Mark Mitchell <mark@codesourcery.com> * gas/elf/elf.exp: Add group0c test. * gas/elf/group0c.d: New. * gas/elf/group0a.d: Expect ".group" for the name of group sections. * gas/elf/group0b.d: Likewise. * gas/elf/group1a.d: Likewise. * gas/elf/group1b.d: Likewise. * gas/elf/groupautoa.d: Likewise. * gas/elf/groupautob.d: Likewise. * gas/elf/section4.d: Likewise. * gas/ia64/group-1.d: Likewise. Adjust hard-coded constants. 2010-10-22 Mark Mitchell <mark@codesourcery.com> * binutils-all/group-5.d: Expect ".group" for the name of group sections. * binutils-all/strip-2.d: Likewise. 2010-10-23 Mark Mitchell <mark@codesourcery.com> * ld-elf/group10.d: Expect ".group" for the name of group sections. * ld-elf/group2.d: Likewise. * ld-elf/group7.d: Likewise.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ChangeLog7
-rw-r--r--ld/testsuite/ld-elf/group10.d2
-rw-r--r--ld/testsuite/ld-elf/group2.d4
-rw-r--r--ld/testsuite/ld-elf/group7.d2
4 files changed, 11 insertions, 4 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index cbba0c0..dbb22bd 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+2010-10-23 Mark Mitchell <mark@codesourcery.com>
+
+ * ld-elf/group10.d: Expect ".group" for the name of group
+ sections.
+ * ld-elf/group2.d: Likewise.
+ * ld-elf/group7.d: Likewise.
+
2010-10-21 Joseph Myers <joseph@codesourcery.com>
* ld-tic6x/attr-arch-c62x-c62x.d, ld-tic6x/attr-arch-c62x-c64x+.d,
diff --git a/ld/testsuite/ld-elf/group10.d b/ld/testsuite/ld-elf/group10.d
index d22a70a..6fcf83f 100644
--- a/ld/testsuite/ld-elf/group10.d
+++ b/ld/testsuite/ld-elf/group10.d
@@ -3,7 +3,7 @@
#readelf: -Sg --wide
#...
-group section \[[ 0-9]+\] `foo_group' \[foo_group\] contains 4 sections:
+group section \[[ 0-9]+\] `\.group' \[foo_group\] contains 4 sections:
\[Index\] Name
\[[ 0-9]+\] \.text.*
\[[ 0-9]+\] \.rodata\.str.*
diff --git a/ld/testsuite/ld-elf/group2.d b/ld/testsuite/ld-elf/group2.d
index 86ca952..664c49a 100644
--- a/ld/testsuite/ld-elf/group2.d
+++ b/ld/testsuite/ld-elf/group2.d
@@ -7,13 +7,13 @@
# xstormy also uses a non-standard script, putting .data before .text.
#...
- \[[ 0-9]+\] foo_group[ \t]+GROUP[ \t]+.*
+ \[[ 0-9]+\] \.group[ \t]+GROUP[ \t]+.*
#...
\[[ 0-9]+\] \.text.*[ \t]+PROGBITS[ \t0-9a-f]+AXG.*
#...
\[[ 0-9]+\] \.data.*[ \t]+PROGBITS[ \t0-9a-f]+WAG.*
#...
-COMDAT group section \[[ 0-9]+\] `foo_group' \[foo_group\] contains 2 sections:
+COMDAT group section \[[ 0-9]+\] `\.group' \[foo_group\] contains 2 sections:
\[Index\] Name
\[[ 0-9]+\] .text.*
\[[ 0-9]+\] .data.*
diff --git a/ld/testsuite/ld-elf/group7.d b/ld/testsuite/ld-elf/group7.d
index 401836a..602a4c8 100644
--- a/ld/testsuite/ld-elf/group7.d
+++ b/ld/testsuite/ld-elf/group7.d
@@ -9,7 +9,7 @@
# well with unique group sections under ld -r.
#...
-COMDAT group section \[[ 0-9]+\] `foo_group' \[foo_group\] contains 2 sections:
+COMDAT group section \[[ 0-9]+\] `\.group' \[foo_group\] contains 2 sections:
\[Index\] Name
\[[ 0-9]+\] .text.foo
\[[ 0-9]+\] .data.foo