1 #source: got-1.s
2 #ld: -shared
3 #readelf: -d -r
4 
5 Dynamic section at offset .* contains 9 entries:
6   Tag        Type                         Name/Value
7  0x00000004 \(HASH\)                       0x[0-9a-f]+
8  0x00000005 \(STRTAB\)                     0x[0-9a-f]+
9  0x00000006 \(SYMTAB\)                     0x[0-9a-f]+
10  0x0000000a \(STRSZ\)                      [0-9]+ \(bytes\)
11  0x0000000b \(SYMENT\)                     16 \(bytes\)
12  0x00000007 \(RELA\)                       0x[0-9a-f]+
13  0x00000008 \(RELASZ\)                     12 \(bytes\)
14  0x00000009 \(RELAENT\)                    12 \(bytes\)
15  0x00000000 \(NULL\)                       0x0
16 
17 Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 1 entries:
18  Offset     Info    Type            Sym.Value  Sym. Name \+ Addend
19 [0-9a-f]+  [0-9a-f]+ R_68K_GLOB_DAT    00000000   a \+ 0
20