aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2004-12-30 22:37:31 +0000
committerAlan Modra <amodra@gmail.com>2004-12-30 22:37:31 +0000
commitca0548b640a26bef8ae63874f295a0c733d3393d (patch)
tree6524bcd07269bf1e4de56dcc3793af0d80db9f95 /binutils
parent180e47e2d7f6280ae3d6a08a661e897578f447d0 (diff)
downloadgdb-ca0548b640a26bef8ae63874f295a0c733d3393d.zip
gdb-ca0548b640a26bef8ae63874f295a0c733d3393d.tar.gz
gdb-ca0548b640a26bef8ae63874f295a0c733d3393d.tar.bz2
* binutils-all/readelf.ss: Allow for both .rel and .rela sections.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/testsuite/ChangeLog4
-rw-r--r--binutils/testsuite/binutils-all/readelf.ss8
2 files changed, 8 insertions, 4 deletions
diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog
index 2474e69..66c3e5b 100644
--- a/binutils/testsuite/ChangeLog
+++ b/binutils/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2004-12-31 Alan Modra <amodra@bigpond.net.au>
+
+ * binutils-all/readelf.ss: Allow for both .rel and .rela sections.
+
2004-11-04 Hans-Peter Nilsson <hp@axis.com>
* binutils-all/objdump.exp (cpus_expected): Append cris.
diff --git a/binutils/testsuite/binutils-all/readelf.ss b/binutils/testsuite/binutils-all/readelf.ss
index 5a05910..ceefb9f 100644
--- a/binutils/testsuite/binutils-all/readelf.ss
+++ b/binutils/testsuite/binutils-all/readelf.ss
@@ -3,16 +3,16 @@ Symbol table '.symtab' contains .* entries:
Num: Value Size Type Bind Vis Ndx Name
0: 00000000 0 NOTYPE LOCAL DEFAULT UND
1: 00000000 0 SECTION LOCAL DEFAULT 1
- 2: 00000000 0 SECTION LOCAL DEFAULT 3
- 3: 00000000 0 SECTION LOCAL DEFAULT 4
+ 2: 00000000 0 SECTION LOCAL DEFAULT [34]
+ 3: 00000000 0 SECTION LOCAL DEFAULT [45]
4: 00000000 0 NOTYPE LOCAL DEFAULT 1 static_text_symbol
# arm-elf targets add the $d mapping symbol here...
#...
- .: 00000000 0 NOTYPE LOCAL DEFAULT 3 static_data_symbol
+ .: 00000000 0 NOTYPE LOCAL DEFAULT [34] static_data_symbol
# v850 targets include extra SECTION symbols here for the .call_table_data
# and .call_table_text sections.
#...
.* .: 00000000 0 NOTYPE GLOBAL DEFAULT 1 text_symbol
.: 00000000 0 NOTYPE GLOBAL DEFAULT UND external_symbol
- ..: 00000000 0 NOTYPE GLOBAL DEFAULT 3 data_symbol
+ ..: 00000000 0 NOTYPE GLOBAL DEFAULT [34] data_symbol
..: 00000004 4 OBJECT GLOBAL DEFAULT ( COM|ANSI_COM) common_symbol