This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[PATCH] readelf MIPS 64 testsuite additions
- From: Thiemo Seufer <ica2_ts at csv dot ica dot uni-stuttgart dot de>
- To: binutils at sources dot redhat dot com
- Date: Tue, 14 May 2002 16:00:02 +0200
- Subject: [PATCH] readelf MIPS 64 testsuite additions
Hi All,
this adds two tests for traditional MIPS 64 which were UNRESOLVED before.
Thiemo
2002-05-14 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
/binutils/testsuite/ChangeLog
* binutils-all/readelf.s-64-tmips: New file, for 64 bit traditional
mips.
* binutils-all/readelf.ss-64-tmips: Likewise.
diff -BurpNX /bigdisk/src/binutils-exclude source-orig/binutils/testsuite/binutils-all/readelf.s-64-tmips source/binutils/testsuite/binutils-all/readelf.s-64-tmips
--- source-orig/binutils/testsuite/binutils-all/readelf.s-64-tmips Thu Jan 1 01:00:00 1970
+++ source/binutils/testsuite/binutils-all/readelf.s-64-tmips Sat May 11 03:45:59 2002
@@ -0,0 +1,31 @@
+There are 11 section headers, starting at offset .*:
+
+Section Headers:
+ \[Nr\] Name Type Address Offset
+ Size EntSize Flags Link Info Align
+ \[ 0\] NULL 0000000000000000 00000000
+ 0000000000000000 0000000000000000 0 0 0
+ \[ 1\] .text PROGBITS 0000000000000000 00000040
+ 0000000000000010 0000000000000000 AX 0 0 16
+ \[ 2\] .rela.text RELA 0000000000000000 00000798
+ 0000000000000018 0000000000000018 9 1 8
+ \[ 3\] .rel.text REL 0000000000000000 000007b0
+ 0000000000000000 0000000000000010 9 1 8
+ \[ 4\] .data PROGBITS 0000000000000000 00000050
+ 0000000000000010 0000000000000000 WA 0 0 16
+ \[ 5\] .bss NOBITS 0000000000000000 00000060
+ 0000000000000000 0000000000000000 WA 0 0 16
+ \[ 6\] .MIPS.options PROGBITS 0000000000000000 00000060
+ 0000000000000028 0000000000000000 A 0 0 8
+ \[ 7\] .mdebug MIPS_DEBUG 0000000000000000 00000088
+ 0000000000000278 0000000000000001 0 0 4
+ \[ 8\] .shstrtab STRTAB 0000000000000000 00000300
+ 0000000000000057 0000000000000000 0 0 1
+ \[ 9\] .symtab SYMTAB 0000000000000000 00000618
+ 0000000000000120 0000000000000018 10 8 8
+ \[10\] .strtab STRTAB 0000000000000000 00000738
+ 000000000000005d 0000000000000000 0 0 1
+Key to Flags:
+ W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\)
+ I \(info\), L \(link order\), G \(group\), x \(unknown\)
+ O \(extra OS processing required\) o \(OS specific\), p \(processor specific\)
diff -BurpNX /bigdisk/src/binutils-exclude source-orig/binutils/testsuite/binutils-all/readelf.ss-64-tmips source/binutils/testsuite/binutils-all/readelf.ss-64-tmips
--- source-orig/binutils/testsuite/binutils-all/readelf.ss-64-tmips Thu Jan 1 01:00:00 1970
+++ source/binutils/testsuite/binutils-all/readelf.ss-64-tmips Sat May 11 03:45:59 2002
@@ -0,0 +1,15 @@
+
+Symbol table '.symtab' contains 12 entries:
+ Num: Value Size Type Bind Vis Ndx Name
+ 0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND
+ 1: 0000000000000000 0 SECTION LOCAL DEFAULT 1
+ 2: 0000000000000000 0 SECTION LOCAL DEFAULT 4
+ 3: 0000000000000000 0 SECTION LOCAL DEFAULT 5
+ 4: 0000000000000000 0 NOTYPE LOCAL DEFAULT 1 static_text_symbol
+ 5: 0000000000000000 0 NOTYPE LOCAL DEFAULT 4 static_data_symbol
+ 6: 0000000000000000 0 SECTION LOCAL DEFAULT 6
+ 7: 0000000000000000 0 SECTION LOCAL DEFAULT 7
+ 8: 0000000000000000 0 OBJECT GLOBAL DEFAULT 1 text_symbol
+ 9: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND external_symbol
+ 10: 0000000000000000 0 OBJECT GLOBAL DEFAULT 4 data_symbol
+ 11: 0000000000000004 4 OBJECT GLOBAL DEFAULT PRC common_symbol