7 # 1) baremetal toolchain (little endian)
8 # ,-------------------------------------------------------.
9 # |tmpdir/dump: file format elf32-littlearc |
12 # |Disassembly of section .got: |
14 # |00002110 <_GLOBAL_OFFSET_TABLE_>: |
16 # | 211c: 08 00 00 00 .word 0x00000008|
17 # | 2120: 0c 00 00 00 .word 0x0000000c|
18 # `-------------------------------------------------------'
20 # 2) linux toolchain (little endian)
21 # ,-------------------------------------------------------.
22 # |tmpdir/dump: file format elf32-littlearc |
25 # |Disassembly of section .got: |
28 # | 120a4: 08 00 00 00 .word 0x00000008|
29 # | 120a8: 0c 00 00 00 .word 0x0000000c|
30 # `-------------------------------------------------------'
32 # 3) baremetal toolchain (big endian)
33 # ,-------------------------------------------------------.
34 # |tmpdir/dump: file format elf32-bigarc |
37 # |Disassembly of section .got: |
39 # |00002110 <_GLOBAL_OFFSET_TABLE_>: |
41 # | 211c: 00 00 00 08 .word 0x00000008|
42 # | 2120: 00 00 00 0c .word 0x0000000c|
43 # `-------------------------------------------------------'
45 # 4) linux toolchain (big endian)
46 # ,-------------------------------------------------------.
47 # |tmpdir/dump: file format elf32-bigarc |
50 # |Disassembly of section .got: |
53 # | 13ff4: 00 00 00 08 .word 0x00000008|
54 # | 13ff8: 00 00 00 0c .word 0x0000000c|
55 # `-------------------------------------------------------'
58 Disassembly of section \.got:
60 \s+[0-9a-f]+:\s+[0-9a-f\s]+\.word\s+0x0+8
61 \s+[0-9a-f]+:\s+[0-9a-f\s]+\.word\s+0x0+c