aboutsummaryrefslogtreecommitdiff
path: root/binutils
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 /binutils
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 'binutils')
-rw-r--r--binutils/testsuite/ChangeLog6
-rw-r--r--binutils/testsuite/binutils-all/group-5.d4
-rw-r--r--binutils/testsuite/binutils-all/strip-2.d4
3 files changed, 10 insertions, 4 deletions
diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog
index 7cd27fc..9a9fa8b 100644
--- a/binutils/testsuite/ChangeLog
+++ b/binutils/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+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-12 Andreas Schwab <schwab@linux-m68k.org>
* binutils-all/m68k/objdump.exp: Add fnop test.
diff --git a/binutils/testsuite/binutils-all/group-5.d b/binutils/testsuite/binutils-all/group-5.d
index d40fffe..3c88ba9 100644
--- a/binutils/testsuite/binutils-all/group-5.d
+++ b/binutils/testsuite/binutils-all/group-5.d
@@ -6,13 +6,13 @@
#readelf: -Sg --wide
#...
- \[[ 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/binutils/testsuite/binutils-all/strip-2.d b/binutils/testsuite/binutils-all/strip-2.d
index 5c54b7e..9922f47 100644
--- a/binutils/testsuite/binutils-all/strip-2.d
+++ b/binutils/testsuite/binutils-all/strip-2.d
@@ -5,13 +5,13 @@
#name: strip with section group 2
#...
- \[[ 0-9]+\] foo_group[ \t]+GROUP[ \t]+.*
+ \[[ 0-9]+\] \.group[ \t]+GROUP[ \t]+.*
#...
\[[ 0-9]+\] \.text.*[ \t]+PROGBITS[ \t0-9a-f]+AXG[ \t]+.*
#...
\[[ 0-9]+\] \.data.*[ \t]+PROGBITS[ \t0-9a-f]+WAG[ \t]+.*
#...
-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.*