old-cross-binutils/binutils/testsuite/binutils-all/readelf.s
H.J. Lu eed3fa3bb3 2001-05-25 H.J. Lu <hjl@gnu.org>
* binutils-all/readelf.exp (readelf_test): Set target_machine
	to tmips for traditional mips.

	* binutils-all/readelf.s: Support traditional mips.

	* binutils-all/readelf.ss-tmips: New for traditional mips.
2001-05-25 18:58:10 +00:00

24 lines
1.2 KiB
ArmAsm

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.
\[ 1\] .text PROGBITS 00000000 0000(34|40) 0000(08|10) 00 +AX +0 +0 +(.|..)
\[ 2\] .rel.+text +REL. +0+ 0+.* 00000. 0. +. +1 +4
# MIPS targets put .rela.text here.
#...
\[ .\] .data PROGBITS 00000000 0000(3c|50) 0000(04|10) 00 WA +0 +0 +(.|..)
\[ .\] .bss NOBITS 00000000 0000(4|6)0 000000 00 WA +0 +0 +(.|..)
# MIPS targets put .reginfo and .mdebug 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:
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\)