aboutsummaryrefslogtreecommitdiff
path: root/binutils/testsuite/binutils-all/readelf.s-64
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2000-06-14 01:21:35 +0000
committerHans-Peter Nilsson <hp@axis.com>2000-06-14 01:21:35 +0000
commit9921923c9ddbc0161980262027eb6d9395976c73 (patch)
treed3398df6130fe7c017e26ab7be08f327b1257951 /binutils/testsuite/binutils-all/readelf.s-64
parentb37bcaa80e9561dc3efb3ba852b87bb9cfdc64ba (diff)
downloadgdb-9921923c9ddbc0161980262027eb6d9395976c73.zip
gdb-9921923c9ddbc0161980262027eb6d9395976c73.tar.gz
gdb-9921923c9ddbc0161980262027eb6d9395976c73.tar.bz2
* binutils-all/readelf.exp (regexp_diff): Do not break when a
mismatching line is found. (readelf_find_size): New. (readelf_size): New global variable. (readelf_test): Add newline to send_log of command. If $srcdir/$subdir/$regexp_file-$readelf_size exists, use it instead of $srcdir/$subdir/$regexp_file. (*-*elf test): Fix typo in message. * binutils-all/readelf.s-64: New. * binutils-all/readelf.ss-64: New.
Diffstat (limited to 'binutils/testsuite/binutils-all/readelf.s-64')
-rw-r--r--binutils/testsuite/binutils-all/readelf.s-6424
1 files changed, 24 insertions, 0 deletions
diff --git a/binutils/testsuite/binutils-all/readelf.s-64 b/binutils/testsuite/binutils-all/readelf.s-64
new file mode 100644
index 0000000..a748c16
--- /dev/null
+++ b/binutils/testsuite/binutils-all/readelf.s-64
@@ -0,0 +1,24 @@
+There are .* 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
+ 00000000000000.. 0000000000000000 AX 0 0 .*
+ \[ 2\] .rel.+text +REL. +0+ 0+.*
+ 000000000000001. 000000000000001. . 1 8
+ \[ 3\] .data PROGBITS 0000000000000000 000000[45][08]
+ 0000000000000004 0000000000000000 WA 0 0 .*
+ \[ 4\] .bss NOBITS 0000000000000000 000000[45][c4]
+ 0000000000000000 0000000000000000 WA 0 0 .*
+ \[ 5\] .shstrtab STRTAB 0000000000000000 000000[45][c4]
+ 00000000000000.. 0000000000000000 0 0 .*
+ \[ 6\] .symtab SYMTAB 0000000000000000 0+.*
+ 0+.* 0000000000000018 7 6 8
+ \[ 7\] .strtab STRTAB 0000000000000000 0+.*
+ 0+.* 0000000000000000 0 0 1
+Key to Flags: W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\)
+ I \(info\), L \(link order\), O \(extra OS processing required\)
+ o \(os specific\), p \(processor specific\) x \(unknown\)