summaryrefslogtreecommitdiff
path: root/binutils/testsuite/binutils-all/readelf.s
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/testsuite/binutils-all/readelf.s')
-rw-r--r--binutils/testsuite/binutils-all/readelf.s21
1 files changed, 21 insertions, 0 deletions
diff --git a/binutils/testsuite/binutils-all/readelf.s b/binutils/testsuite/binutils-all/readelf.s
new file mode 100644
index 0000000..3b044b1
--- /dev/null
+++ b/binutils/testsuite/binutils-all/readelf.s
@@ -0,0 +1,21 @@
+There are .* section headers, starting at offset .*:
+
+Section Headers:
+ +\[Nr\] Name +Type +Addr +Off +Size +ES Flg Lk Inf Al
+ +\[ 0\] +NULL +00000000 000000 000000 00 +0 +0 +0
+# On the normal MIPS systems, sections must be aligned to 16 byte
+# boundaries. On IA64, text sections are aligned to 16 byte boundaries.
+ +\[ 1\] .text +PROGBITS +00000000 0000(34|40) 0000(08|10) 00 +AX +0 +0 +(.|..)
+ +\[ 2\] .rel.+text +REL. +0+ 0+.* 0000.. 0. +I +.+ +1 +4
+# MIPS targets put .rela.text here.
+#...
+ +\[ .\] .data +PROGBITS +00000000 0000(3c|48|50) 0000(04|10) 00 +WA +0 +0 +(.|..)
+ +\[ .\] .bss +NOBITS +00000000 0000(40|4c|60) 000000 00 +WA +0 +0 +(.|..)
+# MIPS targets put .reginfo, .mdebug, .MIPS.abiflags and .gnu.attributes here.
+# v850 targets put .call_table_data and .call_table_text here.
+#...
+ +\[ .\] .shstrtab +STRTAB +00000000 0+.* 0+.* 00 +0 +0 +.
+ +\[..\] .symtab +SYMTAB +00000000 0+.* 0+.* 10 +.. +.+ +4
+ +\[..\] .strtab +STRTAB +00000000 0+.* 0+.* 00 +0 +0 +1
+Key to Flags:
+#...