aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2007-10-16 14:42:15 +0000
committerNick Clifton <nickc@redhat.com>2007-10-16 14:42:15 +0000
commit504b7d2026f1fbbe912b6f513c069c0d47ba2505 (patch)
treeaa3186b5ab4a002cd64900af269e99d41031d584 /binutils
parent62c018fe4a6de89d710e84b7efffe2462fa435cd (diff)
downloadfsf-binutils-gdb-504b7d2026f1fbbe912b6f513c069c0d47ba2505.zip
fsf-binutils-gdb-504b7d2026f1fbbe912b6f513c069c0d47ba2505.tar.gz
fsf-binutils-gdb-504b7d2026f1fbbe912b6f513c069c0d47ba2505.tar.bz2
Support the use of the STT_COMMON type. (In source and object files only at the moment)
Diffstat (limited to 'binutils')
-rw-r--r--binutils/testsuite/ChangeLog7
-rw-r--r--binutils/testsuite/binutils-all/readelf.ss2
-rw-r--r--binutils/testsuite/binutils-all/readelf.ss-642
-rw-r--r--binutils/testsuite/binutils-all/readelf.ss-mips2
-rw-r--r--binutils/testsuite/binutils-all/readelf.ss-tmips2
5 files changed, 11 insertions, 4 deletions
diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog
index 82292aa..9bd42d8 100644
--- a/binutils/testsuite/ChangeLog
+++ b/binutils/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+2007-10-16 Nick Clifton <nickc@redhat.com>
+
+ * binutils-all/readelf.ss: Accept COMMON in readelf's output.
+ * binutils-all/readelf.ss-64: Likewise.
+ * binutils-all/readelf.ss-mips: Likewise.
+ * binutils-all/readelf.ss-tmips: Likewise.
+
2007-08-30 Nick Clifton <nickc@redhat.com>
* binutils-all/dumptest.s: New test file.
diff --git a/binutils/testsuite/binutils-all/readelf.ss b/binutils/testsuite/binutils-all/readelf.ss
index 7daee1b..1967795 100644
--- a/binutils/testsuite/binutils-all/readelf.ss
+++ b/binutils/testsuite/binutils-all/readelf.ss
@@ -15,4 +15,4 @@ Symbol table '.symtab' contains .* entries:
.* .: 00000000 0 NOTYPE GLOBAL DEFAULT 1 text_symbol
..: 00000000 0 NOTYPE GLOBAL DEFAULT UND external_symbol
..: 00000000 0 NOTYPE GLOBAL DEFAULT [34] data_symbol
- ..: 00000004 4 OBJECT GLOBAL DEFAULT ( COM|ANSI_COM) common_symbol
+ ..: 00000004 4 (COMMON|OBJECT) GLOBAL DEFAULT ( COM|ANSI_COM) common_symbol
diff --git a/binutils/testsuite/binutils-all/readelf.ss-64 b/binutils/testsuite/binutils-all/readelf.ss-64
index b29276d..54eea053 100644
--- a/binutils/testsuite/binutils-all/readelf.ss-64
+++ b/binutils/testsuite/binutils-all/readelf.ss-64
@@ -10,4 +10,4 @@ Symbol table '.symtab' contains .* entries:
.* .: 0000000000000000 0 NOTYPE GLOBAL DEFAULT 1 text_symbol
.: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND external_symbol
.: 0000000000000000 0 NOTYPE GLOBAL DEFAULT 3 data_symbol
- .: 0000000000000004 4 OBJECT GLOBAL DEFAULT COM common_symbol
+ .: 0000000000000004 4 (COMMON|OBJECT) GLOBAL DEFAULT COM common_symbol
diff --git a/binutils/testsuite/binutils-all/readelf.ss-mips b/binutils/testsuite/binutils-all/readelf.ss-mips
index 073ade0..0c2b75e 100644
--- a/binutils/testsuite/binutils-all/readelf.ss-mips
+++ b/binutils/testsuite/binutils-all/readelf.ss-mips
@@ -12,4 +12,4 @@ Symbol table '.symtab' contains 12 entries:
8: 00000000 0 NOTYPE GLOBAL DEFAULT UND external_symbol
9: 00000000 0 OBJECT GLOBAL DEFAULT . data_symbol
10: 00000000 0 NOTYPE LOCAL DEFAULT . static_data_symbol
- 11: 00000004 4 OBJECT GLOBAL DEFAULT (PRC|COM) common_symbol
+ 11: 00000004 4 (COMMON|OBJECT) GLOBAL DEFAULT (PRC|COM) common_symbol
diff --git a/binutils/testsuite/binutils-all/readelf.ss-tmips b/binutils/testsuite/binutils-all/readelf.ss-tmips
index 4f2fba2..a76859b 100644
--- a/binutils/testsuite/binutils-all/readelf.ss-tmips
+++ b/binutils/testsuite/binutils-all/readelf.ss-tmips
@@ -12,4 +12,4 @@ Symbol table '.symtab' contains 12 entries:
8: 00000000 0 OBJECT GLOBAL DEFAULT 1 text_symbol
9: 00000000 0 NOTYPE GLOBAL DEFAULT UND external_symbol
10: 00000000 0 OBJECT GLOBAL DEFAULT 3 data_symbol
- 11: 00000004 4 OBJECT GLOBAL DEFAULT (PRC|COM) common_symbol
+ 11: 00000004 4 (COMMON|OBJECT) GLOBAL DEFAULT (PRC|COM) common_symbol