summaryrefslogtreecommitdiff
path: root/test/elfdump/ts
diff options
context:
space:
mode:
Diffstat (limited to 'test/elfdump/ts')
-rw-r--r--test/elfdump/ts/archive1/@G%liba.a.err0
-rw-r--r--test/elfdump/ts/archive1/@G%liba.a.out8
-rw-r--r--test/elfdump/ts/archive1/@S@G%liba.a.err0
-rw-r--r--test/elfdump/ts/archive1/@S@G%liba.a.out8
-rw-r--r--test/elfdump/ts/archive1/@S@c%liba.a.err0
-rw-r--r--test/elfdump/ts/archive1/@S@c%liba.a.out246
-rw-r--r--test/elfdump/ts/archive1/@S@d%liba.a.err0
-rw-r--r--test/elfdump/ts/archive1/@S@d%liba.a.out8
-rw-r--r--test/elfdump/ts/archive1/@S@e%liba.a.err0
-rw-r--r--test/elfdump/ts/archive1/@S@e%liba.a.out48
-rw-r--r--test/elfdump/ts/archive1/@S@h%liba.a.err0
-rw-r--r--test/elfdump/ts/archive1/@S@h%liba.a.out8
-rw-r--r--test/elfdump/ts/archive1/@S@k%liba.a.err0
-rw-r--r--test/elfdump/ts/archive1/@S@k%liba.a.out16
-rw-r--r--test/elfdump/ts/archive1/@S@n%liba.a.err0
-rw-r--r--test/elfdump/ts/archive1/@S@n%liba.a.out8
-rw-r--r--test/elfdump/ts/archive1/@S@p%liba.a.err0
-rw-r--r--test/elfdump/ts/archive1/@S@p%liba.a.out8
-rw-r--r--test/elfdump/ts/archive1/@S@r%liba.a.err0
-rw-r--r--test/elfdump/ts/archive1/@S@r%liba.a.out33
-rw-r--r--test/elfdump/ts/archive1/@S@s%liba.a.err0
-rw-r--r--test/elfdump/ts/archive1/@S@s%liba.a.out71
-rw-r--r--test/elfdump/ts/archive1/@S@s@N%.symtab%liba.a.err0
-rw-r--r--test/elfdump/ts/archive1/@S@s@N%.symtab%liba.a.out58
-rw-r--r--test/elfdump/ts/archive1/@S@s@N%ARSYM%liba.a.err0
-rw-r--r--test/elfdump/ts/archive1/@S@s@N%ARSYM%liba.a.out13
-rw-r--r--test/elfdump/ts/archive1/@S@v%liba.a.err0
-rw-r--r--test/elfdump/ts/archive1/@S@v%liba.a.out8
-rw-r--r--test/elfdump/ts/archive1/@c%liba.a.err0
-rw-r--r--test/elfdump/ts/archive1/@c%liba.a.out472
-rw-r--r--test/elfdump/ts/archive1/@c@p@n%liba.a.err0
-rw-r--r--test/elfdump/ts/archive1/@c@p@n%liba.a.out472
-rw-r--r--test/elfdump/ts/archive1/@c@s%liba.a.err0
-rw-r--r--test/elfdump/ts/archive1/@c@s%liba.a.out798
-rw-r--r--test/elfdump/ts/archive1/@d%liba.a.err0
-rw-r--r--test/elfdump/ts/archive1/@d%liba.a.out8
-rw-r--r--test/elfdump/ts/archive1/@e%liba.a.err0
-rw-r--r--test/elfdump/ts/archive1/@e%liba.a.out76
-rw-r--r--test/elfdump/ts/archive1/@e@i%liba.a.err0
-rw-r--r--test/elfdump/ts/archive1/@e@i%liba.a.out76
-rw-r--r--test/elfdump/ts/archive1/@e@p@c%liba.a.err0
-rw-r--r--test/elfdump/ts/archive1/@e@p@c%liba.a.out540
-rw-r--r--test/elfdump/ts/archive1/@h%liba.a.err0
-rw-r--r--test/elfdump/ts/archive1/@h%liba.a.out8
-rw-r--r--test/elfdump/ts/archive1/@n%liba.a.err0
-rw-r--r--test/elfdump/ts/archive1/@n%liba.a.out8
-rw-r--r--test/elfdump/ts/archive1/@p%liba.a.err0
-rw-r--r--test/elfdump/ts/archive1/@p%liba.a.out8
-rw-r--r--test/elfdump/ts/archive1/@p@s%liba.a.err0
-rw-r--r--test/elfdump/ts/archive1/@p@s%liba.a.out334
-rw-r--r--test/elfdump/ts/archive1/@r%liba.a.err0
-rw-r--r--test/elfdump/ts/archive1/@r%liba.a.out68
-rw-r--r--test/elfdump/ts/archive1/liba.abin0 -> 3608 bytes
-rwxr-xr-xtest/elfdump/ts/archive1/tc168
-rw-r--r--test/elfdump/ts/archive2/@G%libdwarf.a.err0
-rw-r--r--test/elfdump/ts/archive2/@G%libdwarf.a.out26
-rw-r--r--test/elfdump/ts/archive2/@S@G%libdwarf.a.err0
-rw-r--r--test/elfdump/ts/archive2/@S@G%libdwarf.a.out26
-rw-r--r--test/elfdump/ts/archive2/@S@c%libdwarf.a.err0
-rw-r--r--test/elfdump/ts/archive2/@S@c%libdwarf.a.out1090
-rw-r--r--test/elfdump/ts/archive2/@S@d%libdwarf.a.err0
-rw-r--r--test/elfdump/ts/archive2/@S@d%libdwarf.a.out26
-rw-r--r--test/elfdump/ts/archive2/@S@e%libdwarf.a.err0
-rw-r--r--test/elfdump/ts/archive2/@S@e%libdwarf.a.out156
-rw-r--r--test/elfdump/ts/archive2/@S@h%libdwarf.a.err0
-rw-r--r--test/elfdump/ts/archive2/@S@h%libdwarf.a.out26
-rw-r--r--test/elfdump/ts/archive2/@S@k%libdwarf.a.err0
-rw-r--r--test/elfdump/ts/archive2/@S@k%libdwarf.a.out52
-rw-r--r--test/elfdump/ts/archive2/@S@n%libdwarf.a.err0
-rw-r--r--test/elfdump/ts/archive2/@S@n%libdwarf.a.out26
-rw-r--r--test/elfdump/ts/archive2/@S@p%libdwarf.a.err0
-rw-r--r--test/elfdump/ts/archive2/@S@p%libdwarf.a.out26
-rw-r--r--test/elfdump/ts/archive2/@S@r%libdwarf.a.err0
-rw-r--r--test/elfdump/ts/archive2/@S@r%libdwarf.a.out1181
-rw-r--r--test/elfdump/ts/archive2/@S@s%libdwarf.a.err0
-rw-r--r--test/elfdump/ts/archive2/@S@s%libdwarf.a.out356
-rw-r--r--test/elfdump/ts/archive2/@S@s@N%.symtab%libdwarf.a.err0
-rw-r--r--test/elfdump/ts/archive2/@S@s@N%.symtab%libdwarf.a.out309
-rw-r--r--test/elfdump/ts/archive2/@S@s@N%ARSYM%libdwarf.a.err0
-rw-r--r--test/elfdump/ts/archive2/@S@s@N%ARSYM%libdwarf.a.out47
-rw-r--r--test/elfdump/ts/archive2/@S@v%libdwarf.a.err0
-rw-r--r--test/elfdump/ts/archive2/@S@v%libdwarf.a.out26
-rw-r--r--test/elfdump/ts/archive2/@c%libdwarf.a.err0
-rw-r--r--test/elfdump/ts/archive2/@c%libdwarf.a.out2032
-rw-r--r--test/elfdump/ts/archive2/@d%libdwarf.a.err0
-rw-r--r--test/elfdump/ts/archive2/@d%libdwarf.a.out26
-rw-r--r--test/elfdump/ts/archive2/@e%libdwarf.a.err0
-rw-r--r--test/elfdump/ts/archive2/@e%libdwarf.a.out247
-rw-r--r--test/elfdump/ts/archive2/@h%libdwarf.a.err0
-rw-r--r--test/elfdump/ts/archive2/@h%libdwarf.a.out26
-rw-r--r--test/elfdump/ts/archive2/@i%libdwarf.a.err0
-rw-r--r--test/elfdump/ts/archive2/@i%libdwarf.a.out26
-rw-r--r--test/elfdump/ts/archive2/@k%libdwarf.a.err0
-rw-r--r--test/elfdump/ts/archive2/@k%libdwarf.a.out52
-rw-r--r--test/elfdump/ts/archive2/@n%libdwarf.a.err0
-rw-r--r--test/elfdump/ts/archive2/@n%libdwarf.a.out26
-rw-r--r--test/elfdump/ts/archive2/@p%libdwarf.a.err0
-rw-r--r--test/elfdump/ts/archive2/@p%libdwarf.a.out26
-rw-r--r--test/elfdump/ts/archive2/@r%libdwarf.a.err0
-rw-r--r--test/elfdump/ts/archive2/@r%libdwarf.a.out5424
-rw-r--r--test/elfdump/ts/archive2/@s%libdwarf.a.err0
-rw-r--r--test/elfdump/ts/archive2/@s%libdwarf.a.out1982
-rw-r--r--test/elfdump/ts/archive2/@v%libdwarf.a.err0
-rw-r--r--test/elfdump/ts/archive2/@v%libdwarf.a.out26
-rw-r--r--test/elfdump/ts/archive2/libdwarf.abin0 -> 73632 bytes
-rwxr-xr-xtest/elfdump/ts/archive2/tc162
-rwxr-xr-xtest/elfdump/ts/bin/tcgen.sh71
-rwxr-xr-xtest/elfdump/ts/common/func.sh127
-rw-r--r--test/elfdump/ts/dso1/@G%libelf.so.err0
-rw-r--r--test/elfdump/ts/dso1/@G%libelf.so.out143
-rw-r--r--test/elfdump/ts/dso1/@S@G%libelf.so.err0
-rw-r--r--test/elfdump/ts/dso1/@S@G%libelf.so.out50
-rw-r--r--test/elfdump/ts/dso1/@S@c@s%libelf.so.err0
-rw-r--r--test/elfdump/ts/dso1/@S@c@s%libelf.so.out315
-rw-r--r--test/elfdump/ts/dso1/@S@d%libelf.so.err0
-rw-r--r--test/elfdump/ts/dso1/@S@d%libelf.so.out29
-rw-r--r--test/elfdump/ts/dso1/@S@e%libelf.so.err0
-rw-r--r--test/elfdump/ts/dso1/@S@e%libelf.so.out10
-rw-r--r--test/elfdump/ts/dso1/@S@h%libelf.so.err0
-rw-r--r--test/elfdump/ts/dso1/@S@h%libelf.so.out122
-rw-r--r--test/elfdump/ts/dso1/@S@k%libelf.so.err0
-rw-r--r--test/elfdump/ts/dso1/@S@k%libelf.so.out2
-rw-r--r--test/elfdump/ts/dso1/@S@n%libelf.so.err0
-rw-r--r--test/elfdump/ts/dso1/@S@n%libelf.so.out0
-rw-r--r--test/elfdump/ts/dso1/@S@p%libelf.so.err0
-rw-r--r--test/elfdump/ts/dso1/@S@p%libelf.so.out24
-rw-r--r--test/elfdump/ts/dso1/@S@r%libelf.so.err0
-rw-r--r--test/elfdump/ts/dso1/@S@r%libelf.so.out154
-rw-r--r--test/elfdump/ts/dso1/@S@s@N%.dynsym%libelf.so.err0
-rw-r--r--test/elfdump/ts/dso1/@S@s@N%.dynsym%libelf.so.out147
-rw-r--r--test/elfdump/ts/dso1/@S@v%libelf.so.err0
-rw-r--r--test/elfdump/ts/dso1/@S@v%libelf.so.out9
-rw-r--r--test/elfdump/ts/dso1/@c%libelf.so.err0
-rw-r--r--test/elfdump/ts/dso1/@c%libelf.so.out302
-rw-r--r--test/elfdump/ts/dso1/@c@p@n%libelf.so.err0
-rw-r--r--test/elfdump/ts/dso1/@c@p@n%libelf.so.out344
-rw-r--r--test/elfdump/ts/dso1/@c@s%libelf.so.err0
-rw-r--r--test/elfdump/ts/dso1/@c@s%libelf.so.out1312
-rw-r--r--test/elfdump/ts/dso1/@d%libelf.so.err0
-rw-r--r--test/elfdump/ts/dso1/@d%libelf.so.out105
-rw-r--r--test/elfdump/ts/dso1/@e%libelf.so.err0
-rw-r--r--test/elfdump/ts/dso1/@e%libelf.so.out17
-rw-r--r--test/elfdump/ts/dso1/@e@i%libelf.so.err0
-rw-r--r--test/elfdump/ts/dso1/@e@i%libelf.so.out17
-rw-r--r--test/elfdump/ts/dso1/@e@p@c%libelf.so.err0
-rw-r--r--test/elfdump/ts/dso1/@e@p@c%libelf.so.out361
-rw-r--r--test/elfdump/ts/dso1/@h%libelf.so.err0
-rw-r--r--test/elfdump/ts/dso1/@h%libelf.so.out831
-rw-r--r--test/elfdump/ts/dso1/@n%libelf.so.err0
-rw-r--r--test/elfdump/ts/dso1/@n%libelf.so.out0
-rw-r--r--test/elfdump/ts/dso1/@p%libelf.so.err0
-rw-r--r--test/elfdump/ts/dso1/@p%libelf.so.out42
-rw-r--r--test/elfdump/ts/dso1/@p@s%libelf.so.err0
-rw-r--r--test/elfdump/ts/dso1/@p@s%libelf.so.out1052
-rw-r--r--test/elfdump/ts/dso1/@r%libelf.so.err0
-rw-r--r--test/elfdump/ts/dso1/@r%libelf.so.out744
-rw-r--r--test/elfdump/ts/dso1/libelf.sobin0 -> 106416 bytes
-rwxr-xr-xtest/elfdump/ts/dso1/tc157
-rw-r--r--test/elfdump/ts/dso2/@G%test.so.err0
-rw-r--r--test/elfdump/ts/dso2/@G%test.so.out11
-rw-r--r--test/elfdump/ts/dso2/@S@G%test.so.err0
-rw-r--r--test/elfdump/ts/dso2/@S@G%test.so.out6
-rw-r--r--test/elfdump/ts/dso2/@S@c%test.so.err0
-rw-r--r--test/elfdump/ts/dso2/@S@c%test.so.out210
-rw-r--r--test/elfdump/ts/dso2/@S@d%test.so.err0
-rw-r--r--test/elfdump/ts/dso2/@S@d%test.so.out27
-rw-r--r--test/elfdump/ts/dso2/@S@e%test.so.err0
-rw-r--r--test/elfdump/ts/dso2/@S@e%test.so.out10
-rw-r--r--test/elfdump/ts/dso2/@S@h%test.so.err0
-rw-r--r--test/elfdump/ts/dso2/@S@h%test.so.out22
-rw-r--r--test/elfdump/ts/dso2/@S@k%test.so.err0
-rw-r--r--test/elfdump/ts/dso2/@S@k%test.so.out2
-rw-r--r--test/elfdump/ts/dso2/@S@n%test.so.err0
-rw-r--r--test/elfdump/ts/dso2/@S@n%test.so.out0
-rw-r--r--test/elfdump/ts/dso2/@S@p%test.so.err0
-rw-r--r--test/elfdump/ts/dso2/@S@p%test.so.out30
-rw-r--r--test/elfdump/ts/dso2/@S@r%test.so.err0
-rw-r--r--test/elfdump/ts/dso2/@S@r%test.so.out20
-rw-r--r--test/elfdump/ts/dso2/@S@s%test.so.err0
-rw-r--r--test/elfdump/ts/dso2/@S@s%test.so.out103
-rw-r--r--test/elfdump/ts/dso2/@S@v%test.so.err0
-rw-r--r--test/elfdump/ts/dso2/@S@v%test.so.out5
-rw-r--r--test/elfdump/ts/dso2/@c%test.so.err0
-rw-r--r--test/elfdump/ts/dso2/@c%test.so.out374
-rw-r--r--test/elfdump/ts/dso2/@c@p@n%test.so.err0
-rw-r--r--test/elfdump/ts/dso2/@c@p@n%test.so.out426
-rw-r--r--test/elfdump/ts/dso2/@c@s%test.so.err0
-rw-r--r--test/elfdump/ts/dso2/@c@s%test.so.out1057
-rw-r--r--test/elfdump/ts/dso2/@d%test.so.err0
-rw-r--r--test/elfdump/ts/dso2/@d%test.so.out97
-rw-r--r--test/elfdump/ts/dso2/@e%test.so.err0
-rw-r--r--test/elfdump/ts/dso2/@e%test.so.out17
-rw-r--r--test/elfdump/ts/dso2/@e@i%test.so.err0
-rw-r--r--test/elfdump/ts/dso2/@e@i%test.so.out17
-rw-r--r--test/elfdump/ts/dso2/@e@p@c%test.so.err0
-rw-r--r--test/elfdump/ts/dso2/@e@p@c%test.so.out443
-rw-r--r--test/elfdump/ts/dso2/@h%test.so.err0
-rw-r--r--test/elfdump/ts/dso2/@h%test.so.out51
-rw-r--r--test/elfdump/ts/dso2/@n%test.so.err0
-rw-r--r--test/elfdump/ts/dso2/@n%test.so.out0
-rw-r--r--test/elfdump/ts/dso2/@p%test.so.err0
-rw-r--r--test/elfdump/ts/dso2/@p%test.so.out52
-rw-r--r--test/elfdump/ts/dso2/@p@s%test.so.err0
-rw-r--r--test/elfdump/ts/dso2/@p@s%test.so.out735
-rw-r--r--test/elfdump/ts/dso2/@r%test.so.err0
-rw-r--r--test/elfdump/ts/dso2/@r%test.so.out74
-rwxr-xr-xtest/elfdump/ts/dso2/tc156
-rw-r--r--test/elfdump/ts/dso2/test.sobin0 -> 9684 bytes
-rw-r--r--test/elfdump/ts/exec1/@G%ls.err0
-rw-r--r--test/elfdump/ts/exec1/@G%ls.out221
-rw-r--r--test/elfdump/ts/exec1/@G@e%ls.err0
-rw-r--r--test/elfdump/ts/exec1/@G@e%ls.out238
-rw-r--r--test/elfdump/ts/exec1/@S@G%ls.err0
-rw-r--r--test/elfdump/ts/exec1/@S@G%ls.out76
-rw-r--r--test/elfdump/ts/exec1/@S@c@s%ls.err0
-rw-r--r--test/elfdump/ts/exec1/@S@c@s%ls.out267
-rw-r--r--test/elfdump/ts/exec1/@S@d%ls.err0
-rw-r--r--test/elfdump/ts/exec1/@S@d%ls.out29
-rw-r--r--test/elfdump/ts/exec1/@S@e%ls.err0
-rw-r--r--test/elfdump/ts/exec1/@S@e%ls.out10
-rw-r--r--test/elfdump/ts/exec1/@S@e@k%ls.err0
-rw-r--r--test/elfdump/ts/exec1/@S@e@k%ls.out12
-rw-r--r--test/elfdump/ts/exec1/@S@e@p%ls.err0
-rw-r--r--test/elfdump/ts/exec1/@S@e@p%ls.out52
-rw-r--r--test/elfdump/ts/exec1/@S@h%ls.err0
-rw-r--r--test/elfdump/ts/exec1/@S@h%ls.out99
-rw-r--r--test/elfdump/ts/exec1/@S@n%ls.err0
-rw-r--r--test/elfdump/ts/exec1/@S@n%ls.out8
-rw-r--r--test/elfdump/ts/exec1/@S@r%ls.err0
-rw-r--r--test/elfdump/ts/exec1/@S@r%ls.out84
-rw-r--r--test/elfdump/ts/exec1/@S@r@N%.rela.dyn%ls.err0
-rw-r--r--test/elfdump/ts/exec1/@S@r@N%.rela.dyn%ls.out11
-rw-r--r--test/elfdump/ts/exec1/@S@r@N%.rela.dyn@N%.rela.plt%ls.err0
-rw-r--r--test/elfdump/ts/exec1/@S@r@N%.rela.dyn@N%.rela.plt%ls.out84
-rw-r--r--test/elfdump/ts/exec1/@S@s@N%.dynsym%ls.err0
-rw-r--r--test/elfdump/ts/exec1/@S@s@N%.dynsym%ls.out92
-rw-r--r--test/elfdump/ts/exec1/@S@v%ls.err0
-rw-r--r--test/elfdump/ts/exec1/@S@v%ls.out5
-rw-r--r--test/elfdump/ts/exec1/@c%ls.err0
-rw-r--r--test/elfdump/ts/exec1/@c%ls.out314
-rw-r--r--test/elfdump/ts/exec1/@c@d%ls.err0
-rw-r--r--test/elfdump/ts/exec1/@c@d%ls.out418
-rw-r--r--test/elfdump/ts/exec1/@c@p@n%ls.err0
-rw-r--r--test/elfdump/ts/exec1/@c@p@n%ls.out389
-rw-r--r--test/elfdump/ts/exec1/@c@s%ls.err0
-rw-r--r--test/elfdump/ts/exec1/@c@s%ls.out939
-rw-r--r--test/elfdump/ts/exec1/@e%ls.err0
-rw-r--r--test/elfdump/ts/exec1/@e%ls.out17
-rw-r--r--test/elfdump/ts/exec1/@e@d%ls.err0
-rw-r--r--test/elfdump/ts/exec1/@e@d%ls.out121
-rw-r--r--test/elfdump/ts/exec1/@e@p%ls.err0
-rw-r--r--test/elfdump/ts/exec1/@e@p%ls.out89
-rw-r--r--test/elfdump/ts/exec1/@e@p@c@d%ls.err0
-rw-r--r--test/elfdump/ts/exec1/@e@p@c@d%ls.out507
-rw-r--r--test/elfdump/ts/exec1/@n%ls.err0
-rw-r--r--test/elfdump/ts/exec1/@n%ls.out3
-rw-r--r--test/elfdump/ts/exec1/@p@e%ls.err0
-rw-r--r--test/elfdump/ts/exec1/@p@e%ls.out89
-rw-r--r--test/elfdump/ts/exec1/@p@n%ls.err0
-rw-r--r--test/elfdump/ts/exec1/@p@n%ls.out75
-rw-r--r--test/elfdump/ts/exec1/@p@s%ls.err0
-rw-r--r--test/elfdump/ts/exec1/@p@s%ls.out697
-rw-r--r--test/elfdump/ts/exec1/lsbin0 -> 30000 bytes
-rwxr-xr-xtest/elfdump/ts/exec1/tc174
-rw-r--r--test/elfdump/ts/exec2/@G%cp.err0
-rw-r--r--test/elfdump/ts/exec2/@G%cp.out185
-rw-r--r--test/elfdump/ts/exec2/@G@e%cp.err0
-rw-r--r--test/elfdump/ts/exec2/@G@e%cp.out202
-rw-r--r--test/elfdump/ts/exec2/@S@G%cp.err0
-rw-r--r--test/elfdump/ts/exec2/@S@G%cp.out64
-rw-r--r--test/elfdump/ts/exec2/@S@c@s%cp.err0
-rw-r--r--test/elfdump/ts/exec2/@S@c@s%cp.out238
-rw-r--r--test/elfdump/ts/exec2/@S@d%cp.err0
-rw-r--r--test/elfdump/ts/exec2/@S@d%cp.out27
-rw-r--r--test/elfdump/ts/exec2/@S@e%cp.err0
-rw-r--r--test/elfdump/ts/exec2/@S@e%cp.out10
-rw-r--r--test/elfdump/ts/exec2/@S@e@p%cp.err0
-rw-r--r--test/elfdump/ts/exec2/@S@e@p%cp.out46
-rw-r--r--test/elfdump/ts/exec2/@S@h%cp.err0
-rw-r--r--test/elfdump/ts/exec2/@S@h%cp.out76
-rw-r--r--test/elfdump/ts/exec2/@S@k%cp.err0
-rw-r--r--test/elfdump/ts/exec2/@S@k%cp.out2
-rw-r--r--test/elfdump/ts/exec2/@S@n%cp.err0
-rw-r--r--test/elfdump/ts/exec2/@S@n%cp.out8
-rw-r--r--test/elfdump/ts/exec2/@S@r%cp.err0
-rw-r--r--test/elfdump/ts/exec2/@S@r%cp.out68
-rw-r--r--test/elfdump/ts/exec2/@S@r@N%.rela.dyn%cp.err0
-rw-r--r--test/elfdump/ts/exec2/@S@r@N%.rela.dyn%cp.out0
-rw-r--r--test/elfdump/ts/exec2/@S@s@N%.dynsym%cp.err0
-rw-r--r--test/elfdump/ts/exec2/@S@s@N%.dynsym%cp.out70
-rw-r--r--test/elfdump/ts/exec2/@S@v%cp.err0
-rw-r--r--test/elfdump/ts/exec2/@S@v%cp.out4
-rw-r--r--test/elfdump/ts/exec2/@c%cp.err0
-rw-r--r--test/elfdump/ts/exec2/@c%cp.out302
-rw-r--r--test/elfdump/ts/exec2/@c@d%cp.err0
-rw-r--r--test/elfdump/ts/exec2/@c@d%cp.out398
-rw-r--r--test/elfdump/ts/exec2/@c@p@n%cp.err0
-rw-r--r--test/elfdump/ts/exec2/@c@p@n%cp.out367
-rw-r--r--test/elfdump/ts/exec2/@c@s%cp.err0
-rw-r--r--test/elfdump/ts/exec2/@c@s%cp.out773
-rw-r--r--test/elfdump/ts/exec2/@e%cp.err0
-rw-r--r--test/elfdump/ts/exec2/@e%cp.out17
-rw-r--r--test/elfdump/ts/exec2/@e@d%cp.err0
-rw-r--r--test/elfdump/ts/exec2/@e@d%cp.out113
-rw-r--r--test/elfdump/ts/exec2/@e@i%cp.err0
-rw-r--r--test/elfdump/ts/exec2/@e@i%cp.out20
-rw-r--r--test/elfdump/ts/exec2/@e@p%cp.err0
-rw-r--r--test/elfdump/ts/exec2/@e@p%cp.out79
-rw-r--r--test/elfdump/ts/exec2/@e@p@c@d%cp.err0
-rw-r--r--test/elfdump/ts/exec2/@e@p@c@d%cp.out477
-rw-r--r--test/elfdump/ts/exec2/@h%cp.err0
-rw-r--r--test/elfdump/ts/exec2/@h%cp.out408
-rw-r--r--test/elfdump/ts/exec2/@n%cp.err0
-rw-r--r--test/elfdump/ts/exec2/@n%cp.out3
-rw-r--r--test/elfdump/ts/exec2/@p@e%cp.err0
-rw-r--r--test/elfdump/ts/exec2/@p@e%cp.out79
-rw-r--r--test/elfdump/ts/exec2/@p@n%cp.err0
-rw-r--r--test/elfdump/ts/exec2/@p@n%cp.out65
-rw-r--r--test/elfdump/ts/exec2/@p@s%cp.err0
-rw-r--r--test/elfdump/ts/exec2/@p@s%cp.out533
-rw-r--r--test/elfdump/ts/exec2/@r%cp.err0
-rw-r--r--test/elfdump/ts/exec2/@r%cp.out252
-rw-r--r--test/elfdump/ts/exec2/cpbin0 -> 15692 bytes
-rwxr-xr-xtest/elfdump/ts/exec2/tc184
324 files changed, 37627 insertions, 0 deletions
diff --git a/test/elfdump/ts/archive1/@G%liba.a.err b/test/elfdump/ts/archive1/@G%liba.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive1/@G%liba.a.err
diff --git a/test/elfdump/ts/archive1/@G%liba.a.out b/test/elfdump/ts/archive1/@G%liba.a.out
new file mode 100644
index 0000000000000..52c013f355187
--- /dev/null
+++ b/test/elfdump/ts/archive1/@G%liba.a.out
@@ -0,0 +1,8 @@
+
+liba.a(a1.o):
+
+liba.a(a2.o):
+
+liba.a(a3.o):
+
+liba.a(a4.o):
diff --git a/test/elfdump/ts/archive1/@S@G%liba.a.err b/test/elfdump/ts/archive1/@S@G%liba.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive1/@S@G%liba.a.err
diff --git a/test/elfdump/ts/archive1/@S@G%liba.a.out b/test/elfdump/ts/archive1/@S@G%liba.a.out
new file mode 100644
index 0000000000000..52c013f355187
--- /dev/null
+++ b/test/elfdump/ts/archive1/@S@G%liba.a.out
@@ -0,0 +1,8 @@
+
+liba.a(a1.o):
+
+liba.a(a2.o):
+
+liba.a(a3.o):
+
+liba.a(a4.o):
diff --git a/test/elfdump/ts/archive1/@S@c%liba.a.err b/test/elfdump/ts/archive1/@S@c%liba.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive1/@S@c%liba.a.err
diff --git a/test/elfdump/ts/archive1/@S@c%liba.a.out b/test/elfdump/ts/archive1/@S@c%liba.a.out
new file mode 100644
index 0000000000000..b7ec455637a4f
--- /dev/null
+++ b/test/elfdump/ts/archive1/@S@c%liba.a.out
@@ -0,0 +1,246 @@
+
+liba.a(a1.o):
+
+Section Header[1]: sh_name: .text
+ sh_addr: 0 sh_flags: [ SHF_ALLOC|SHF_EXECINSTR ]
+ sh_size: 0x1f sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x40 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x10
+
+Section Header[2]: sh_name: .rel.text
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x10 sh_type: [ SHT_REL ]
+ sh_offset: 0x2b8 sh_entsize: 0x8
+ sh_link: 7 sh_info: 1
+ sh_addralign: 0x4
+
+Section Header[3]: sh_name: .data
+ sh_addr: 0 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x60 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[4]: sh_name: .bss
+ sh_addr: 0 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0 sh_type: [ SHT_NOBITS ]
+ sh_offset: 0x60 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[5]: sh_name: .comment
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x26 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x60 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[6]: sh_name: .shstrtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x39 sh_type: [ SHT_STRTAB ]
+ sh_offset: 0x86 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[7]: sh_name: .symtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x80 sh_type: [ SHT_SYMTAB ]
+ sh_offset: 0x228 sh_entsize: 0x10
+ sh_link: 8 sh_info: 6
+ sh_addralign: 0x4
+
+Section Header[8]: sh_name: .strtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0xf sh_type: [ SHT_STRTAB ]
+ sh_offset: 0x2a8 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+liba.a(a2.o):
+
+Section Header[1]: sh_name: .text
+ sh_addr: 0 sh_flags: [ SHF_ALLOC|SHF_EXECINSTR ]
+ sh_size: 0x1c sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x40 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x10
+
+Section Header[2]: sh_name: .rel.text
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x18 sh_type: [ SHT_REL ]
+ sh_offset: 0x328 sh_entsize: 0x8
+ sh_link: 8 sh_info: 1
+ sh_addralign: 0x4
+
+Section Header[3]: sh_name: .data
+ sh_addr: 0 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0xd sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x5c sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[4]: sh_name: .bss
+ sh_addr: 0 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0 sh_type: [ SHT_NOBITS ]
+ sh_offset: 0x6c sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[5]: sh_name: .rodata
+ sh_addr: 0 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x9 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x6c sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[6]: sh_name: .comment
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x26 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x75 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[7]: sh_name: .shstrtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x41 sh_type: [ SHT_STRTAB ]
+ sh_offset: 0x9b sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[8]: sh_name: .symtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0xa0 sh_type: [ SHT_SYMTAB ]
+ sh_offset: 0x26c sh_entsize: 0x10
+ sh_link: 9 sh_info: 7
+ sh_addralign: 0x4
+
+Section Header[9]: sh_name: .strtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x1a sh_type: [ SHT_STRTAB ]
+ sh_offset: 0x30c sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+liba.a(a3.o):
+
+Section Header[1]: sh_name: .text
+ sh_addr: 0 sh_flags: [ SHF_ALLOC|SHF_EXECINSTR ]
+ sh_size: 0x33 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x40 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x10
+
+Section Header[2]: sh_name: .rel.text
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x20 sh_type: [ SHT_REL ]
+ sh_offset: 0x2e0 sh_entsize: 0x8
+ sh_link: 7 sh_info: 1
+ sh_addralign: 0x4
+
+Section Header[3]: sh_name: .data
+ sh_addr: 0 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x74 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[4]: sh_name: .bss
+ sh_addr: 0 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0 sh_type: [ SHT_NOBITS ]
+ sh_offset: 0x74 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[5]: sh_name: .comment
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x26 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x74 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[6]: sh_name: .shstrtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x39 sh_type: [ SHT_STRTAB ]
+ sh_offset: 0x9a sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[7]: sh_name: .symtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x90 sh_type: [ SHT_SYMTAB ]
+ sh_offset: 0x23c sh_entsize: 0x10
+ sh_link: 8 sh_info: 6
+ sh_addralign: 0x4
+
+Section Header[8]: sh_name: .strtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x14 sh_type: [ SHT_STRTAB ]
+ sh_offset: 0x2cc sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+liba.a(a4.o):
+
+Section Header[1]: sh_name: .text
+ sh_addr: 0 sh_flags: [ SHF_ALLOC|SHF_EXECINSTR ]
+ sh_size: 0x24 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x40 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x10
+
+Section Header[2]: sh_name: .rel.text
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x20 sh_type: [ SHT_REL ]
+ sh_offset: 0x358 sh_entsize: 0x8
+ sh_link: 8 sh_info: 1
+ sh_addralign: 0x4
+
+Section Header[3]: sh_name: .data
+ sh_addr: 0 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0x12 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x64 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[4]: sh_name: .bss
+ sh_addr: 0 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0 sh_type: [ SHT_NOBITS ]
+ sh_offset: 0x78 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[5]: sh_name: .rodata
+ sh_addr: 0 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x15 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x78 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[6]: sh_name: .comment
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x26 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x8d sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[7]: sh_name: .shstrtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x41 sh_type: [ SHT_STRTAB ]
+ sh_offset: 0xb3 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[8]: sh_name: .symtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0xb0 sh_type: [ SHT_SYMTAB ]
+ sh_offset: 0x284 sh_entsize: 0x10
+ sh_link: 9 sh_info: 7
+ sh_addralign: 0x4
+
+Section Header[9]: sh_name: .strtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x21 sh_type: [ SHT_STRTAB ]
+ sh_offset: 0x334 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
diff --git a/test/elfdump/ts/archive1/@S@d%liba.a.err b/test/elfdump/ts/archive1/@S@d%liba.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive1/@S@d%liba.a.err
diff --git a/test/elfdump/ts/archive1/@S@d%liba.a.out b/test/elfdump/ts/archive1/@S@d%liba.a.out
new file mode 100644
index 0000000000000..52c013f355187
--- /dev/null
+++ b/test/elfdump/ts/archive1/@S@d%liba.a.out
@@ -0,0 +1,8 @@
+
+liba.a(a1.o):
+
+liba.a(a2.o):
+
+liba.a(a3.o):
+
+liba.a(a4.o):
diff --git a/test/elfdump/ts/archive1/@S@e%liba.a.err b/test/elfdump/ts/archive1/@S@e%liba.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive1/@S@e%liba.a.err
diff --git a/test/elfdump/ts/archive1/@S@e%liba.a.out b/test/elfdump/ts/archive1/@S@e%liba.a.out
new file mode 100644
index 0000000000000..dca275961fbfb
--- /dev/null
+++ b/test/elfdump/ts/archive1/@S@e%liba.a.out
@@ -0,0 +1,48 @@
+
+liba.a(a1.o):
+
+ELF Header
+ ei_magic: { 0x7f, E, L, F }
+ ei_class: ELFCLASS32 ei_data: ELFDATA2LSB
+ e_machine: EM_386 e_version: EV_CURRENT
+ e_type: ET_REL
+ e_flags: 0
+ e_entry: 0 e_ehsize: 52 e_shstrndx: 6
+ e_shoff: 0xc0 e_shentsize: 40 e_shnum: 9
+ e_phoff: 0 e_phentsize: 0 e_phnum: 0
+
+liba.a(a2.o):
+
+ELF Header
+ ei_magic: { 0x7f, E, L, F }
+ ei_class: ELFCLASS32 ei_data: ELFDATA2LSB
+ e_machine: EM_386 e_version: EV_CURRENT
+ e_type: ET_REL
+ e_flags: 0
+ e_entry: 0 e_ehsize: 52 e_shstrndx: 7
+ e_shoff: 0xdc e_shentsize: 40 e_shnum: 10
+ e_phoff: 0 e_phentsize: 0 e_phnum: 0
+
+liba.a(a3.o):
+
+ELF Header
+ ei_magic: { 0x7f, E, L, F }
+ ei_class: ELFCLASS32 ei_data: ELFDATA2LSB
+ e_machine: EM_386 e_version: EV_CURRENT
+ e_type: ET_REL
+ e_flags: 0
+ e_entry: 0 e_ehsize: 52 e_shstrndx: 6
+ e_shoff: 0xd4 e_shentsize: 40 e_shnum: 9
+ e_phoff: 0 e_phentsize: 0 e_phnum: 0
+
+liba.a(a4.o):
+
+ELF Header
+ ei_magic: { 0x7f, E, L, F }
+ ei_class: ELFCLASS32 ei_data: ELFDATA2LSB
+ e_machine: EM_386 e_version: EV_CURRENT
+ e_type: ET_REL
+ e_flags: 0
+ e_entry: 0 e_ehsize: 52 e_shstrndx: 7
+ e_shoff: 0xf4 e_shentsize: 40 e_shnum: 10
+ e_phoff: 0 e_phentsize: 0 e_phnum: 0
diff --git a/test/elfdump/ts/archive1/@S@h%liba.a.err b/test/elfdump/ts/archive1/@S@h%liba.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive1/@S@h%liba.a.err
diff --git a/test/elfdump/ts/archive1/@S@h%liba.a.out b/test/elfdump/ts/archive1/@S@h%liba.a.out
new file mode 100644
index 0000000000000..52c013f355187
--- /dev/null
+++ b/test/elfdump/ts/archive1/@S@h%liba.a.out
@@ -0,0 +1,8 @@
+
+liba.a(a1.o):
+
+liba.a(a2.o):
+
+liba.a(a3.o):
+
+liba.a(a4.o):
diff --git a/test/elfdump/ts/archive1/@S@k%liba.a.err b/test/elfdump/ts/archive1/@S@k%liba.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive1/@S@k%liba.a.err
diff --git a/test/elfdump/ts/archive1/@S@k%liba.a.out b/test/elfdump/ts/archive1/@S@k%liba.a.out
new file mode 100644
index 0000000000000..5401b1a9bf44d
--- /dev/null
+++ b/test/elfdump/ts/archive1/@S@k%liba.a.out
@@ -0,0 +1,16 @@
+
+liba.a(a1.o):
+
+elf checksum: 0x85c
+
+liba.a(a2.o):
+
+elf checksum: 0x1294
+
+liba.a(a3.o):
+
+elf checksum: 0xdc3
+
+liba.a(a4.o):
+
+elf checksum: 0x186c
diff --git a/test/elfdump/ts/archive1/@S@n%liba.a.err b/test/elfdump/ts/archive1/@S@n%liba.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive1/@S@n%liba.a.err
diff --git a/test/elfdump/ts/archive1/@S@n%liba.a.out b/test/elfdump/ts/archive1/@S@n%liba.a.out
new file mode 100644
index 0000000000000..52c013f355187
--- /dev/null
+++ b/test/elfdump/ts/archive1/@S@n%liba.a.out
@@ -0,0 +1,8 @@
+
+liba.a(a1.o):
+
+liba.a(a2.o):
+
+liba.a(a3.o):
+
+liba.a(a4.o):
diff --git a/test/elfdump/ts/archive1/@S@p%liba.a.err b/test/elfdump/ts/archive1/@S@p%liba.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive1/@S@p%liba.a.err
diff --git a/test/elfdump/ts/archive1/@S@p%liba.a.out b/test/elfdump/ts/archive1/@S@p%liba.a.out
new file mode 100644
index 0000000000000..52c013f355187
--- /dev/null
+++ b/test/elfdump/ts/archive1/@S@p%liba.a.out
@@ -0,0 +1,8 @@
+
+liba.a(a1.o):
+
+liba.a(a2.o):
+
+liba.a(a3.o):
+
+liba.a(a4.o):
diff --git a/test/elfdump/ts/archive1/@S@r%liba.a.err b/test/elfdump/ts/archive1/@S@r%liba.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive1/@S@r%liba.a.err
diff --git a/test/elfdump/ts/archive1/@S@r%liba.a.out b/test/elfdump/ts/archive1/@S@r%liba.a.out
new file mode 100644
index 0000000000000..11cb4becc6374
--- /dev/null
+++ b/test/elfdump/ts/archive1/@S@r%liba.a.out
@@ -0,0 +1,33 @@
+
+liba.a(a1.o):
+
+Relocation Section: .rel.text
+ type offset section with respect to
+ R_386_32 0x5 .rel.text a
+ R_386_32 0x16 .rel.text a
+
+liba.a(a2.o):
+
+Relocation Section: .rel.text
+ type offset section with respect to
+ R_386_32 0xa .rel.text msg
+ R_386_32 0x11 .rel.text .rodata (section)
+ R_386_PC32 0x16 .rel.text printf
+
+liba.a(a3.o):
+
+Relocation Section: .rel.text
+ type offset section with respect to
+ R_386_32 0x5 .rel.text x
+ R_386_32 0xf .rel.text y
+ R_386_32 0x19 .rel.text x
+ R_386_32 0x27 .rel.text y
+
+liba.a(a4.o):
+
+Relocation Section: .rel.text
+ type offset section with respect to
+ R_386_32 0xa .rel.text msg2
+ R_386_32 0x12 .rel.text msg1
+ R_386_32 0x19 .rel.text .rodata (section)
+ R_386_PC32 0x1e .rel.text printf
diff --git a/test/elfdump/ts/archive1/@S@s%liba.a.err b/test/elfdump/ts/archive1/@S@s%liba.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive1/@S@s%liba.a.err
diff --git a/test/elfdump/ts/archive1/@S@s%liba.a.out b/test/elfdump/ts/archive1/@S@s%liba.a.out
new file mode 100644
index 0000000000000..2180e3935a859
--- /dev/null
+++ b/test/elfdump/ts/archive1/@S@s%liba.a.out
@@ -0,0 +1,71 @@
+
+Symbol Table: (archive)
+ index offset member name and symbol
+ [0] 0x000000a8 (a1.o):summul
+ [1] 0x000000a8 (a1.o):a
+ [2] 0x000003ac (a2.o):msg
+ [3] 0x000003ac (a2.o):printmsg
+ [4] 0x00000728 (a3.o):substract
+ [5] 0x00000728 (a3.o):x
+ [6] 0x00000728 (a3.o):y
+ [7] 0x00000a64 (a4.o):msg1
+ [8] 0x00000a64 (a4.o):msg2
+ [9] 0x00000a64 (a4.o):outputmsg
+
+liba.a(a1.o):
+
+Symbol Table Section: .symtab
+ index value size type bind oth ver shndx name
+ [0] 0x00000000 0x00000000 NOTY LOCL D 0 UNDEF
+ [1] 0x00000000 0x00000000 FILE LOCL D 0 ABS a1.c
+ [2] 0x00000000 0x00000000 SECT LOCL D 0 .text
+ [3] 0x00000000 0x00000000 SECT LOCL D 0 .data
+ [4] 0x00000000 0x00000000 SECT LOCL D 0 .bss
+ [5] 0x00000000 0x00000000 SECT LOCL D 0 .comment
+ [6] 0x00000000 0x0000001f FUNC GLOB D 0 .text summul
+ [7] 0x00000004 0x00000004 OBJT GLOB D 0 COMMON a
+
+liba.a(a2.o):
+
+Symbol Table Section: .symtab
+ index value size type bind oth ver shndx name
+ [0] 0x00000000 0x00000000 NOTY LOCL D 0 UNDEF
+ [1] 0x00000000 0x00000000 FILE LOCL D 0 ABS a2.c
+ [2] 0x00000000 0x00000000 SECT LOCL D 0 .text
+ [3] 0x00000000 0x00000000 SECT LOCL D 0 .data
+ [4] 0x00000000 0x00000000 SECT LOCL D 0 .bss
+ [5] 0x00000000 0x00000000 SECT LOCL D 0 .rodata
+ [6] 0x00000000 0x00000000 SECT LOCL D 0 .comment
+ [7] 0x00000000 0x0000000d OBJT GLOB D 0 .data msg
+ [8] 0x00000000 0x0000001c FUNC GLOB D 0 .text printmsg
+ [9] 0x00000000 0x00000000 NOTY GLOB D 0 UNDEF printf
+
+liba.a(a3.o):
+
+Symbol Table Section: .symtab
+ index value size type bind oth ver shndx name
+ [0] 0x00000000 0x00000000 NOTY LOCL D 0 UNDEF
+ [1] 0x00000000 0x00000000 FILE LOCL D 0 ABS a3.c
+ [2] 0x00000000 0x00000000 SECT LOCL D 0 .text
+ [3] 0x00000000 0x00000000 SECT LOCL D 0 .data
+ [4] 0x00000000 0x00000000 SECT LOCL D 0 .bss
+ [5] 0x00000000 0x00000000 SECT LOCL D 0 .comment
+ [6] 0x00000000 0x00000033 FUNC GLOB D 0 .text substract
+ [7] 0x00000004 0x00000004 OBJT GLOB D 0 COMMON x
+ [8] 0x00000004 0x00000004 OBJT GLOB D 0 COMMON y
+
+liba.a(a4.o):
+
+Symbol Table Section: .symtab
+ index value size type bind oth ver shndx name
+ [0] 0x00000000 0x00000000 NOTY LOCL D 0 UNDEF
+ [1] 0x00000000 0x00000000 FILE LOCL D 0 ABS a4.c
+ [2] 0x00000000 0x00000000 SECT LOCL D 0 .text
+ [3] 0x00000000 0x00000000 SECT LOCL D 0 .data
+ [4] 0x00000000 0x00000000 SECT LOCL D 0 .bss
+ [5] 0x00000000 0x00000000 SECT LOCL D 0 .rodata
+ [6] 0x00000000 0x00000000 SECT LOCL D 0 .comment
+ [7] 0x00000000 0x00000009 OBJT GLOB D 0 .data msg1
+ [8] 0x00000009 0x00000009 OBJT GLOB D 0 .data msg2
+ [9] 0x00000000 0x00000024 FUNC GLOB D 0 .text outputmsg
+ [10] 0x00000000 0x00000000 NOTY GLOB D 0 UNDEF printf
diff --git a/test/elfdump/ts/archive1/@S@s@N%.symtab%liba.a.err b/test/elfdump/ts/archive1/@S@s@N%.symtab%liba.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive1/@S@s@N%.symtab%liba.a.err
diff --git a/test/elfdump/ts/archive1/@S@s@N%.symtab%liba.a.out b/test/elfdump/ts/archive1/@S@s@N%.symtab%liba.a.out
new file mode 100644
index 0000000000000..e29a480058c5a
--- /dev/null
+++ b/test/elfdump/ts/archive1/@S@s@N%.symtab%liba.a.out
@@ -0,0 +1,58 @@
+
+liba.a(a1.o):
+
+Symbol Table Section: .symtab
+ index value size type bind oth ver shndx name
+ [0] 0x00000000 0x00000000 NOTY LOCL D 0 UNDEF
+ [1] 0x00000000 0x00000000 FILE LOCL D 0 ABS a1.c
+ [2] 0x00000000 0x00000000 SECT LOCL D 0 .text
+ [3] 0x00000000 0x00000000 SECT LOCL D 0 .data
+ [4] 0x00000000 0x00000000 SECT LOCL D 0 .bss
+ [5] 0x00000000 0x00000000 SECT LOCL D 0 .comment
+ [6] 0x00000000 0x0000001f FUNC GLOB D 0 .text summul
+ [7] 0x00000004 0x00000004 OBJT GLOB D 0 COMMON a
+
+liba.a(a2.o):
+
+Symbol Table Section: .symtab
+ index value size type bind oth ver shndx name
+ [0] 0x00000000 0x00000000 NOTY LOCL D 0 UNDEF
+ [1] 0x00000000 0x00000000 FILE LOCL D 0 ABS a2.c
+ [2] 0x00000000 0x00000000 SECT LOCL D 0 .text
+ [3] 0x00000000 0x00000000 SECT LOCL D 0 .data
+ [4] 0x00000000 0x00000000 SECT LOCL D 0 .bss
+ [5] 0x00000000 0x00000000 SECT LOCL D 0 .rodata
+ [6] 0x00000000 0x00000000 SECT LOCL D 0 .comment
+ [7] 0x00000000 0x0000000d OBJT GLOB D 0 .data msg
+ [8] 0x00000000 0x0000001c FUNC GLOB D 0 .text printmsg
+ [9] 0x00000000 0x00000000 NOTY GLOB D 0 UNDEF printf
+
+liba.a(a3.o):
+
+Symbol Table Section: .symtab
+ index value size type bind oth ver shndx name
+ [0] 0x00000000 0x00000000 NOTY LOCL D 0 UNDEF
+ [1] 0x00000000 0x00000000 FILE LOCL D 0 ABS a3.c
+ [2] 0x00000000 0x00000000 SECT LOCL D 0 .text
+ [3] 0x00000000 0x00000000 SECT LOCL D 0 .data
+ [4] 0x00000000 0x00000000 SECT LOCL D 0 .bss
+ [5] 0x00000000 0x00000000 SECT LOCL D 0 .comment
+ [6] 0x00000000 0x00000033 FUNC GLOB D 0 .text substract
+ [7] 0x00000004 0x00000004 OBJT GLOB D 0 COMMON x
+ [8] 0x00000004 0x00000004 OBJT GLOB D 0 COMMON y
+
+liba.a(a4.o):
+
+Symbol Table Section: .symtab
+ index value size type bind oth ver shndx name
+ [0] 0x00000000 0x00000000 NOTY LOCL D 0 UNDEF
+ [1] 0x00000000 0x00000000 FILE LOCL D 0 ABS a4.c
+ [2] 0x00000000 0x00000000 SECT LOCL D 0 .text
+ [3] 0x00000000 0x00000000 SECT LOCL D 0 .data
+ [4] 0x00000000 0x00000000 SECT LOCL D 0 .bss
+ [5] 0x00000000 0x00000000 SECT LOCL D 0 .rodata
+ [6] 0x00000000 0x00000000 SECT LOCL D 0 .comment
+ [7] 0x00000000 0x00000009 OBJT GLOB D 0 .data msg1
+ [8] 0x00000009 0x00000009 OBJT GLOB D 0 .data msg2
+ [9] 0x00000000 0x00000024 FUNC GLOB D 0 .text outputmsg
+ [10] 0x00000000 0x00000000 NOTY GLOB D 0 UNDEF printf
diff --git a/test/elfdump/ts/archive1/@S@s@N%ARSYM%liba.a.err b/test/elfdump/ts/archive1/@S@s@N%ARSYM%liba.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive1/@S@s@N%ARSYM%liba.a.err
diff --git a/test/elfdump/ts/archive1/@S@s@N%ARSYM%liba.a.out b/test/elfdump/ts/archive1/@S@s@N%ARSYM%liba.a.out
new file mode 100644
index 0000000000000..0099f3ac9c43a
--- /dev/null
+++ b/test/elfdump/ts/archive1/@S@s@N%ARSYM%liba.a.out
@@ -0,0 +1,13 @@
+
+Symbol Table: (archive)
+ index offset member name and symbol
+ [0] 0x000000a8 (a1.o):summul
+ [1] 0x000000a8 (a1.o):a
+ [2] 0x000003ac (a2.o):msg
+ [3] 0x000003ac (a2.o):printmsg
+ [4] 0x00000728 (a3.o):substract
+ [5] 0x00000728 (a3.o):x
+ [6] 0x00000728 (a3.o):y
+ [7] 0x00000a64 (a4.o):msg1
+ [8] 0x00000a64 (a4.o):msg2
+ [9] 0x00000a64 (a4.o):outputmsg
diff --git a/test/elfdump/ts/archive1/@S@v%liba.a.err b/test/elfdump/ts/archive1/@S@v%liba.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive1/@S@v%liba.a.err
diff --git a/test/elfdump/ts/archive1/@S@v%liba.a.out b/test/elfdump/ts/archive1/@S@v%liba.a.out
new file mode 100644
index 0000000000000..52c013f355187
--- /dev/null
+++ b/test/elfdump/ts/archive1/@S@v%liba.a.out
@@ -0,0 +1,8 @@
+
+liba.a(a1.o):
+
+liba.a(a2.o):
+
+liba.a(a3.o):
+
+liba.a(a4.o):
diff --git a/test/elfdump/ts/archive1/@c%liba.a.err b/test/elfdump/ts/archive1/@c%liba.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive1/@c%liba.a.err
diff --git a/test/elfdump/ts/archive1/@c%liba.a.out b/test/elfdump/ts/archive1/@c%liba.a.out
new file mode 100644
index 0000000000000..53e54162eb966
--- /dev/null
+++ b/test/elfdump/ts/archive1/@c%liba.a.out
@@ -0,0 +1,472 @@
+
+liba.a(a1.o):
+
+section header:
+
+entry: 0
+ sh_name:
+ sh_type: SHT_NULL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 0
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 0
+ sh_entsize: 0
+
+entry: 1
+ sh_name: .text
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0
+ sh_offset: 64
+ sh_size: 31
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 2
+ sh_name: .rel.text
+ sh_type: SHT_REL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 696
+ sh_size: 16
+ sh_link: 7
+ sh_info: 1
+ sh_addralign: 4
+ sh_entsize: 8
+
+entry: 3
+ sh_name: .data
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 96
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 4
+ sh_name: .bss
+ sh_type: SHT_NOBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 96
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 5
+ sh_name: .comment
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 96
+ sh_size: 38
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 6
+ sh_name: .shstrtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 134
+ sh_size: 57
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 7
+ sh_name: .symtab
+ sh_type: SHT_SYMTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 552
+ sh_size: 128
+ sh_link: 8
+ sh_info: 6
+ sh_addralign: 4
+ sh_entsize: 16
+
+entry: 8
+ sh_name: .strtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 680
+ sh_size: 15
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+liba.a(a2.o):
+
+section header:
+
+entry: 0
+ sh_name:
+ sh_type: SHT_NULL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 0
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 0
+ sh_entsize: 0
+
+entry: 1
+ sh_name: .text
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0
+ sh_offset: 64
+ sh_size: 28
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 2
+ sh_name: .rel.text
+ sh_type: SHT_REL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 808
+ sh_size: 24
+ sh_link: 8
+ sh_info: 1
+ sh_addralign: 4
+ sh_entsize: 8
+
+entry: 3
+ sh_name: .data
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 92
+ sh_size: 13
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 4
+ sh_name: .bss
+ sh_type: SHT_NOBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 108
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 5
+ sh_name: .rodata
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 108
+ sh_size: 9
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 6
+ sh_name: .comment
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 117
+ sh_size: 38
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 7
+ sh_name: .shstrtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 155
+ sh_size: 65
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 8
+ sh_name: .symtab
+ sh_type: SHT_SYMTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 620
+ sh_size: 160
+ sh_link: 9
+ sh_info: 7
+ sh_addralign: 4
+ sh_entsize: 16
+
+entry: 9
+ sh_name: .strtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 780
+ sh_size: 26
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+liba.a(a3.o):
+
+section header:
+
+entry: 0
+ sh_name:
+ sh_type: SHT_NULL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 0
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 0
+ sh_entsize: 0
+
+entry: 1
+ sh_name: .text
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0
+ sh_offset: 64
+ sh_size: 51
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 2
+ sh_name: .rel.text
+ sh_type: SHT_REL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 736
+ sh_size: 32
+ sh_link: 7
+ sh_info: 1
+ sh_addralign: 4
+ sh_entsize: 8
+
+entry: 3
+ sh_name: .data
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 116
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 4
+ sh_name: .bss
+ sh_type: SHT_NOBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 116
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 5
+ sh_name: .comment
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 116
+ sh_size: 38
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 6
+ sh_name: .shstrtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 154
+ sh_size: 57
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 7
+ sh_name: .symtab
+ sh_type: SHT_SYMTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 572
+ sh_size: 144
+ sh_link: 8
+ sh_info: 6
+ sh_addralign: 4
+ sh_entsize: 16
+
+entry: 8
+ sh_name: .strtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 716
+ sh_size: 20
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+liba.a(a4.o):
+
+section header:
+
+entry: 0
+ sh_name:
+ sh_type: SHT_NULL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 0
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 0
+ sh_entsize: 0
+
+entry: 1
+ sh_name: .text
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0
+ sh_offset: 64
+ sh_size: 36
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 2
+ sh_name: .rel.text
+ sh_type: SHT_REL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 856
+ sh_size: 32
+ sh_link: 8
+ sh_info: 1
+ sh_addralign: 4
+ sh_entsize: 8
+
+entry: 3
+ sh_name: .data
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 100
+ sh_size: 18
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 4
+ sh_name: .bss
+ sh_type: SHT_NOBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 120
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 5
+ sh_name: .rodata
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 120
+ sh_size: 21
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 6
+ sh_name: .comment
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 141
+ sh_size: 38
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 7
+ sh_name: .shstrtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 179
+ sh_size: 65
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 8
+ sh_name: .symtab
+ sh_type: SHT_SYMTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 644
+ sh_size: 176
+ sh_link: 9
+ sh_info: 7
+ sh_addralign: 4
+ sh_entsize: 16
+
+entry: 9
+ sh_name: .strtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 820
+ sh_size: 33
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
diff --git a/test/elfdump/ts/archive1/@c@p@n%liba.a.err b/test/elfdump/ts/archive1/@c@p@n%liba.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive1/@c@p@n%liba.a.err
diff --git a/test/elfdump/ts/archive1/@c@p@n%liba.a.out b/test/elfdump/ts/archive1/@c@p@n%liba.a.out
new file mode 100644
index 0000000000000..53e54162eb966
--- /dev/null
+++ b/test/elfdump/ts/archive1/@c@p@n%liba.a.out
@@ -0,0 +1,472 @@
+
+liba.a(a1.o):
+
+section header:
+
+entry: 0
+ sh_name:
+ sh_type: SHT_NULL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 0
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 0
+ sh_entsize: 0
+
+entry: 1
+ sh_name: .text
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0
+ sh_offset: 64
+ sh_size: 31
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 2
+ sh_name: .rel.text
+ sh_type: SHT_REL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 696
+ sh_size: 16
+ sh_link: 7
+ sh_info: 1
+ sh_addralign: 4
+ sh_entsize: 8
+
+entry: 3
+ sh_name: .data
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 96
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 4
+ sh_name: .bss
+ sh_type: SHT_NOBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 96
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 5
+ sh_name: .comment
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 96
+ sh_size: 38
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 6
+ sh_name: .shstrtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 134
+ sh_size: 57
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 7
+ sh_name: .symtab
+ sh_type: SHT_SYMTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 552
+ sh_size: 128
+ sh_link: 8
+ sh_info: 6
+ sh_addralign: 4
+ sh_entsize: 16
+
+entry: 8
+ sh_name: .strtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 680
+ sh_size: 15
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+liba.a(a2.o):
+
+section header:
+
+entry: 0
+ sh_name:
+ sh_type: SHT_NULL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 0
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 0
+ sh_entsize: 0
+
+entry: 1
+ sh_name: .text
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0
+ sh_offset: 64
+ sh_size: 28
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 2
+ sh_name: .rel.text
+ sh_type: SHT_REL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 808
+ sh_size: 24
+ sh_link: 8
+ sh_info: 1
+ sh_addralign: 4
+ sh_entsize: 8
+
+entry: 3
+ sh_name: .data
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 92
+ sh_size: 13
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 4
+ sh_name: .bss
+ sh_type: SHT_NOBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 108
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 5
+ sh_name: .rodata
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 108
+ sh_size: 9
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 6
+ sh_name: .comment
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 117
+ sh_size: 38
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 7
+ sh_name: .shstrtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 155
+ sh_size: 65
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 8
+ sh_name: .symtab
+ sh_type: SHT_SYMTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 620
+ sh_size: 160
+ sh_link: 9
+ sh_info: 7
+ sh_addralign: 4
+ sh_entsize: 16
+
+entry: 9
+ sh_name: .strtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 780
+ sh_size: 26
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+liba.a(a3.o):
+
+section header:
+
+entry: 0
+ sh_name:
+ sh_type: SHT_NULL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 0
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 0
+ sh_entsize: 0
+
+entry: 1
+ sh_name: .text
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0
+ sh_offset: 64
+ sh_size: 51
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 2
+ sh_name: .rel.text
+ sh_type: SHT_REL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 736
+ sh_size: 32
+ sh_link: 7
+ sh_info: 1
+ sh_addralign: 4
+ sh_entsize: 8
+
+entry: 3
+ sh_name: .data
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 116
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 4
+ sh_name: .bss
+ sh_type: SHT_NOBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 116
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 5
+ sh_name: .comment
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 116
+ sh_size: 38
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 6
+ sh_name: .shstrtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 154
+ sh_size: 57
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 7
+ sh_name: .symtab
+ sh_type: SHT_SYMTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 572
+ sh_size: 144
+ sh_link: 8
+ sh_info: 6
+ sh_addralign: 4
+ sh_entsize: 16
+
+entry: 8
+ sh_name: .strtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 716
+ sh_size: 20
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+liba.a(a4.o):
+
+section header:
+
+entry: 0
+ sh_name:
+ sh_type: SHT_NULL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 0
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 0
+ sh_entsize: 0
+
+entry: 1
+ sh_name: .text
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0
+ sh_offset: 64
+ sh_size: 36
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 2
+ sh_name: .rel.text
+ sh_type: SHT_REL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 856
+ sh_size: 32
+ sh_link: 8
+ sh_info: 1
+ sh_addralign: 4
+ sh_entsize: 8
+
+entry: 3
+ sh_name: .data
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 100
+ sh_size: 18
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 4
+ sh_name: .bss
+ sh_type: SHT_NOBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 120
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 5
+ sh_name: .rodata
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 120
+ sh_size: 21
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 6
+ sh_name: .comment
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 141
+ sh_size: 38
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 7
+ sh_name: .shstrtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 179
+ sh_size: 65
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 8
+ sh_name: .symtab
+ sh_type: SHT_SYMTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 644
+ sh_size: 176
+ sh_link: 9
+ sh_info: 7
+ sh_addralign: 4
+ sh_entsize: 16
+
+entry: 9
+ sh_name: .strtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 820
+ sh_size: 33
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
diff --git a/test/elfdump/ts/archive1/@c@s%liba.a.err b/test/elfdump/ts/archive1/@c@s%liba.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive1/@c@s%liba.a.err
diff --git a/test/elfdump/ts/archive1/@c@s%liba.a.out b/test/elfdump/ts/archive1/@c@s%liba.a.out
new file mode 100644
index 0000000000000..fcb3c9d9f88af
--- /dev/null
+++ b/test/elfdump/ts/archive1/@c@s%liba.a.out
@@ -0,0 +1,798 @@
+
+symbol table (archive):
+
+entry: 0
+ offset: 0xa8
+ member: a1.o
+ symbol: summul
+
+entry: 1
+ offset: 0xa8
+ member: a1.o
+ symbol: a
+
+entry: 2
+ offset: 0x3ac
+ member: a2.o
+ symbol: msg
+
+entry: 3
+ offset: 0x3ac
+ member: a2.o
+ symbol: printmsg
+
+entry: 4
+ offset: 0x728
+ member: a3.o
+ symbol: substract
+
+entry: 5
+ offset: 0x728
+ member: a3.o
+ symbol: x
+
+entry: 6
+ offset: 0x728
+ member: a3.o
+ symbol: y
+
+entry: 7
+ offset: 0xa64
+ member: a4.o
+ symbol: msg1
+
+entry: 8
+ offset: 0xa64
+ member: a4.o
+ symbol: msg2
+
+entry: 9
+ offset: 0xa64
+ member: a4.o
+ symbol: outputmsg
+
+liba.a(a1.o):
+
+section header:
+
+entry: 0
+ sh_name:
+ sh_type: SHT_NULL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 0
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 0
+ sh_entsize: 0
+
+entry: 1
+ sh_name: .text
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0
+ sh_offset: 64
+ sh_size: 31
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 2
+ sh_name: .rel.text
+ sh_type: SHT_REL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 696
+ sh_size: 16
+ sh_link: 7
+ sh_info: 1
+ sh_addralign: 4
+ sh_entsize: 8
+
+entry: 3
+ sh_name: .data
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 96
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 4
+ sh_name: .bss
+ sh_type: SHT_NOBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 96
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 5
+ sh_name: .comment
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 96
+ sh_size: 38
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 6
+ sh_name: .shstrtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 134
+ sh_size: 57
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 7
+ sh_name: .symtab
+ sh_type: SHT_SYMTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 552
+ sh_size: 128
+ sh_link: 8
+ sh_info: 6
+ sh_addralign: 4
+ sh_entsize: 16
+
+entry: 8
+ sh_name: .strtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 680
+ sh_size: 15
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+symbol table (.symtab):
+
+entry: 0
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_LOCAL
+ st_shndx: 0
+
+entry: 1
+ st_name: a1.c
+ st_value: 0
+ st_size: 0
+ st_info: STT_FILE STB_LOCAL
+ st_shndx: 65521
+
+entry: 2
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 1
+
+entry: 3
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 3
+
+entry: 4
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 4
+
+entry: 5
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 5
+
+entry: 6
+ st_name: summul
+ st_value: 0
+ st_size: 31
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+entry: 7
+ st_name: a
+ st_value: 0x4
+ st_size: 4
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 65522
+
+liba.a(a2.o):
+
+section header:
+
+entry: 0
+ sh_name:
+ sh_type: SHT_NULL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 0
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 0
+ sh_entsize: 0
+
+entry: 1
+ sh_name: .text
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0
+ sh_offset: 64
+ sh_size: 28
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 2
+ sh_name: .rel.text
+ sh_type: SHT_REL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 808
+ sh_size: 24
+ sh_link: 8
+ sh_info: 1
+ sh_addralign: 4
+ sh_entsize: 8
+
+entry: 3
+ sh_name: .data
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 92
+ sh_size: 13
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 4
+ sh_name: .bss
+ sh_type: SHT_NOBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 108
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 5
+ sh_name: .rodata
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 108
+ sh_size: 9
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 6
+ sh_name: .comment
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 117
+ sh_size: 38
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 7
+ sh_name: .shstrtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 155
+ sh_size: 65
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 8
+ sh_name: .symtab
+ sh_type: SHT_SYMTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 620
+ sh_size: 160
+ sh_link: 9
+ sh_info: 7
+ sh_addralign: 4
+ sh_entsize: 16
+
+entry: 9
+ sh_name: .strtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 780
+ sh_size: 26
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+symbol table (.symtab):
+
+entry: 0
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_LOCAL
+ st_shndx: 0
+
+entry: 1
+ st_name: a2.c
+ st_value: 0
+ st_size: 0
+ st_info: STT_FILE STB_LOCAL
+ st_shndx: 65521
+
+entry: 2
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 1
+
+entry: 3
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 3
+
+entry: 4
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 4
+
+entry: 5
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 5
+
+entry: 6
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 6
+
+entry: 7
+ st_name: msg
+ st_value: 0
+ st_size: 13
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 3
+
+entry: 8
+ st_name: printmsg
+ st_value: 0
+ st_size: 28
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+entry: 9
+ st_name: printf
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+liba.a(a3.o):
+
+section header:
+
+entry: 0
+ sh_name:
+ sh_type: SHT_NULL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 0
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 0
+ sh_entsize: 0
+
+entry: 1
+ sh_name: .text
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0
+ sh_offset: 64
+ sh_size: 51
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 2
+ sh_name: .rel.text
+ sh_type: SHT_REL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 736
+ sh_size: 32
+ sh_link: 7
+ sh_info: 1
+ sh_addralign: 4
+ sh_entsize: 8
+
+entry: 3
+ sh_name: .data
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 116
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 4
+ sh_name: .bss
+ sh_type: SHT_NOBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 116
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 5
+ sh_name: .comment
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 116
+ sh_size: 38
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 6
+ sh_name: .shstrtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 154
+ sh_size: 57
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 7
+ sh_name: .symtab
+ sh_type: SHT_SYMTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 572
+ sh_size: 144
+ sh_link: 8
+ sh_info: 6
+ sh_addralign: 4
+ sh_entsize: 16
+
+entry: 8
+ sh_name: .strtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 716
+ sh_size: 20
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+symbol table (.symtab):
+
+entry: 0
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_LOCAL
+ st_shndx: 0
+
+entry: 1
+ st_name: a3.c
+ st_value: 0
+ st_size: 0
+ st_info: STT_FILE STB_LOCAL
+ st_shndx: 65521
+
+entry: 2
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 1
+
+entry: 3
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 3
+
+entry: 4
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 4
+
+entry: 5
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 5
+
+entry: 6
+ st_name: substract
+ st_value: 0
+ st_size: 51
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+entry: 7
+ st_name: x
+ st_value: 0x4
+ st_size: 4
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 65522
+
+entry: 8
+ st_name: y
+ st_value: 0x4
+ st_size: 4
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 65522
+
+liba.a(a4.o):
+
+section header:
+
+entry: 0
+ sh_name:
+ sh_type: SHT_NULL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 0
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 0
+ sh_entsize: 0
+
+entry: 1
+ sh_name: .text
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0
+ sh_offset: 64
+ sh_size: 36
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 2
+ sh_name: .rel.text
+ sh_type: SHT_REL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 856
+ sh_size: 32
+ sh_link: 8
+ sh_info: 1
+ sh_addralign: 4
+ sh_entsize: 8
+
+entry: 3
+ sh_name: .data
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 100
+ sh_size: 18
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 4
+ sh_name: .bss
+ sh_type: SHT_NOBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 120
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 5
+ sh_name: .rodata
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 120
+ sh_size: 21
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 6
+ sh_name: .comment
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 141
+ sh_size: 38
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 7
+ sh_name: .shstrtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 179
+ sh_size: 65
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 8
+ sh_name: .symtab
+ sh_type: SHT_SYMTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 644
+ sh_size: 176
+ sh_link: 9
+ sh_info: 7
+ sh_addralign: 4
+ sh_entsize: 16
+
+entry: 9
+ sh_name: .strtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 820
+ sh_size: 33
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+symbol table (.symtab):
+
+entry: 0
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_LOCAL
+ st_shndx: 0
+
+entry: 1
+ st_name: a4.c
+ st_value: 0
+ st_size: 0
+ st_info: STT_FILE STB_LOCAL
+ st_shndx: 65521
+
+entry: 2
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 1
+
+entry: 3
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 3
+
+entry: 4
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 4
+
+entry: 5
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 5
+
+entry: 6
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 6
+
+entry: 7
+ st_name: msg1
+ st_value: 0
+ st_size: 9
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 3
+
+entry: 8
+ st_name: msg2
+ st_value: 0x9
+ st_size: 9
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 3
+
+entry: 9
+ st_name: outputmsg
+ st_value: 0
+ st_size: 36
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+entry: 10
+ st_name: printf
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
diff --git a/test/elfdump/ts/archive1/@d%liba.a.err b/test/elfdump/ts/archive1/@d%liba.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive1/@d%liba.a.err
diff --git a/test/elfdump/ts/archive1/@d%liba.a.out b/test/elfdump/ts/archive1/@d%liba.a.out
new file mode 100644
index 0000000000000..52c013f355187
--- /dev/null
+++ b/test/elfdump/ts/archive1/@d%liba.a.out
@@ -0,0 +1,8 @@
+
+liba.a(a1.o):
+
+liba.a(a2.o):
+
+liba.a(a3.o):
+
+liba.a(a4.o):
diff --git a/test/elfdump/ts/archive1/@e%liba.a.err b/test/elfdump/ts/archive1/@e%liba.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive1/@e%liba.a.err
diff --git a/test/elfdump/ts/archive1/@e%liba.a.out b/test/elfdump/ts/archive1/@e%liba.a.out
new file mode 100644
index 0000000000000..2047433ad1613
--- /dev/null
+++ b/test/elfdump/ts/archive1/@e%liba.a.out
@@ -0,0 +1,76 @@
+
+liba.a(a1.o):
+
+elf header:
+
+ e_ident: ELFCLASS32 ELFDATA2LSB ELFOSABI_FREEBSD
+ e_type: ET_REL
+ e_machine: EM_386
+ e_version: EV_CURRENT
+ e_entry: 0
+ e_phoff: 0
+ e_shoff: 192
+ e_flags: 0
+ e_ehsize: 52
+ e_phentsize: 0
+ e_phnum: 0
+ e_shentsize: 40
+ e_shnum: 9
+ e_shstrndx: 6
+
+liba.a(a2.o):
+
+elf header:
+
+ e_ident: ELFCLASS32 ELFDATA2LSB ELFOSABI_FREEBSD
+ e_type: ET_REL
+ e_machine: EM_386
+ e_version: EV_CURRENT
+ e_entry: 0
+ e_phoff: 0
+ e_shoff: 220
+ e_flags: 0
+ e_ehsize: 52
+ e_phentsize: 0
+ e_phnum: 0
+ e_shentsize: 40
+ e_shnum: 10
+ e_shstrndx: 7
+
+liba.a(a3.o):
+
+elf header:
+
+ e_ident: ELFCLASS32 ELFDATA2LSB ELFOSABI_FREEBSD
+ e_type: ET_REL
+ e_machine: EM_386
+ e_version: EV_CURRENT
+ e_entry: 0
+ e_phoff: 0
+ e_shoff: 212
+ e_flags: 0
+ e_ehsize: 52
+ e_phentsize: 0
+ e_phnum: 0
+ e_shentsize: 40
+ e_shnum: 9
+ e_shstrndx: 6
+
+liba.a(a4.o):
+
+elf header:
+
+ e_ident: ELFCLASS32 ELFDATA2LSB ELFOSABI_FREEBSD
+ e_type: ET_REL
+ e_machine: EM_386
+ e_version: EV_CURRENT
+ e_entry: 0
+ e_phoff: 0
+ e_shoff: 244
+ e_flags: 0
+ e_ehsize: 52
+ e_phentsize: 0
+ e_phnum: 0
+ e_shentsize: 40
+ e_shnum: 10
+ e_shstrndx: 7
diff --git a/test/elfdump/ts/archive1/@e@i%liba.a.err b/test/elfdump/ts/archive1/@e@i%liba.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive1/@e@i%liba.a.err
diff --git a/test/elfdump/ts/archive1/@e@i%liba.a.out b/test/elfdump/ts/archive1/@e@i%liba.a.out
new file mode 100644
index 0000000000000..2047433ad1613
--- /dev/null
+++ b/test/elfdump/ts/archive1/@e@i%liba.a.out
@@ -0,0 +1,76 @@
+
+liba.a(a1.o):
+
+elf header:
+
+ e_ident: ELFCLASS32 ELFDATA2LSB ELFOSABI_FREEBSD
+ e_type: ET_REL
+ e_machine: EM_386
+ e_version: EV_CURRENT
+ e_entry: 0
+ e_phoff: 0
+ e_shoff: 192
+ e_flags: 0
+ e_ehsize: 52
+ e_phentsize: 0
+ e_phnum: 0
+ e_shentsize: 40
+ e_shnum: 9
+ e_shstrndx: 6
+
+liba.a(a2.o):
+
+elf header:
+
+ e_ident: ELFCLASS32 ELFDATA2LSB ELFOSABI_FREEBSD
+ e_type: ET_REL
+ e_machine: EM_386
+ e_version: EV_CURRENT
+ e_entry: 0
+ e_phoff: 0
+ e_shoff: 220
+ e_flags: 0
+ e_ehsize: 52
+ e_phentsize: 0
+ e_phnum: 0
+ e_shentsize: 40
+ e_shnum: 10
+ e_shstrndx: 7
+
+liba.a(a3.o):
+
+elf header:
+
+ e_ident: ELFCLASS32 ELFDATA2LSB ELFOSABI_FREEBSD
+ e_type: ET_REL
+ e_machine: EM_386
+ e_version: EV_CURRENT
+ e_entry: 0
+ e_phoff: 0
+ e_shoff: 212
+ e_flags: 0
+ e_ehsize: 52
+ e_phentsize: 0
+ e_phnum: 0
+ e_shentsize: 40
+ e_shnum: 9
+ e_shstrndx: 6
+
+liba.a(a4.o):
+
+elf header:
+
+ e_ident: ELFCLASS32 ELFDATA2LSB ELFOSABI_FREEBSD
+ e_type: ET_REL
+ e_machine: EM_386
+ e_version: EV_CURRENT
+ e_entry: 0
+ e_phoff: 0
+ e_shoff: 244
+ e_flags: 0
+ e_ehsize: 52
+ e_phentsize: 0
+ e_phnum: 0
+ e_shentsize: 40
+ e_shnum: 10
+ e_shstrndx: 7
diff --git a/test/elfdump/ts/archive1/@e@p@c%liba.a.err b/test/elfdump/ts/archive1/@e@p@c%liba.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive1/@e@p@c%liba.a.err
diff --git a/test/elfdump/ts/archive1/@e@p@c%liba.a.out b/test/elfdump/ts/archive1/@e@p@c%liba.a.out
new file mode 100644
index 0000000000000..b598a2ebcbd7b
--- /dev/null
+++ b/test/elfdump/ts/archive1/@e@p@c%liba.a.out
@@ -0,0 +1,540 @@
+
+liba.a(a1.o):
+
+elf header:
+
+ e_ident: ELFCLASS32 ELFDATA2LSB ELFOSABI_FREEBSD
+ e_type: ET_REL
+ e_machine: EM_386
+ e_version: EV_CURRENT
+ e_entry: 0
+ e_phoff: 0
+ e_shoff: 192
+ e_flags: 0
+ e_ehsize: 52
+ e_phentsize: 0
+ e_phnum: 0
+ e_shentsize: 40
+ e_shnum: 9
+ e_shstrndx: 6
+
+section header:
+
+entry: 0
+ sh_name:
+ sh_type: SHT_NULL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 0
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 0
+ sh_entsize: 0
+
+entry: 1
+ sh_name: .text
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0
+ sh_offset: 64
+ sh_size: 31
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 2
+ sh_name: .rel.text
+ sh_type: SHT_REL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 696
+ sh_size: 16
+ sh_link: 7
+ sh_info: 1
+ sh_addralign: 4
+ sh_entsize: 8
+
+entry: 3
+ sh_name: .data
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 96
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 4
+ sh_name: .bss
+ sh_type: SHT_NOBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 96
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 5
+ sh_name: .comment
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 96
+ sh_size: 38
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 6
+ sh_name: .shstrtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 134
+ sh_size: 57
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 7
+ sh_name: .symtab
+ sh_type: SHT_SYMTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 552
+ sh_size: 128
+ sh_link: 8
+ sh_info: 6
+ sh_addralign: 4
+ sh_entsize: 16
+
+entry: 8
+ sh_name: .strtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 680
+ sh_size: 15
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+liba.a(a2.o):
+
+elf header:
+
+ e_ident: ELFCLASS32 ELFDATA2LSB ELFOSABI_FREEBSD
+ e_type: ET_REL
+ e_machine: EM_386
+ e_version: EV_CURRENT
+ e_entry: 0
+ e_phoff: 0
+ e_shoff: 220
+ e_flags: 0
+ e_ehsize: 52
+ e_phentsize: 0
+ e_phnum: 0
+ e_shentsize: 40
+ e_shnum: 10
+ e_shstrndx: 7
+
+section header:
+
+entry: 0
+ sh_name:
+ sh_type: SHT_NULL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 0
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 0
+ sh_entsize: 0
+
+entry: 1
+ sh_name: .text
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0
+ sh_offset: 64
+ sh_size: 28
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 2
+ sh_name: .rel.text
+ sh_type: SHT_REL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 808
+ sh_size: 24
+ sh_link: 8
+ sh_info: 1
+ sh_addralign: 4
+ sh_entsize: 8
+
+entry: 3
+ sh_name: .data
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 92
+ sh_size: 13
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 4
+ sh_name: .bss
+ sh_type: SHT_NOBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 108
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 5
+ sh_name: .rodata
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 108
+ sh_size: 9
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 6
+ sh_name: .comment
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 117
+ sh_size: 38
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 7
+ sh_name: .shstrtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 155
+ sh_size: 65
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 8
+ sh_name: .symtab
+ sh_type: SHT_SYMTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 620
+ sh_size: 160
+ sh_link: 9
+ sh_info: 7
+ sh_addralign: 4
+ sh_entsize: 16
+
+entry: 9
+ sh_name: .strtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 780
+ sh_size: 26
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+liba.a(a3.o):
+
+elf header:
+
+ e_ident: ELFCLASS32 ELFDATA2LSB ELFOSABI_FREEBSD
+ e_type: ET_REL
+ e_machine: EM_386
+ e_version: EV_CURRENT
+ e_entry: 0
+ e_phoff: 0
+ e_shoff: 212
+ e_flags: 0
+ e_ehsize: 52
+ e_phentsize: 0
+ e_phnum: 0
+ e_shentsize: 40
+ e_shnum: 9
+ e_shstrndx: 6
+
+section header:
+
+entry: 0
+ sh_name:
+ sh_type: SHT_NULL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 0
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 0
+ sh_entsize: 0
+
+entry: 1
+ sh_name: .text
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0
+ sh_offset: 64
+ sh_size: 51
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 2
+ sh_name: .rel.text
+ sh_type: SHT_REL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 736
+ sh_size: 32
+ sh_link: 7
+ sh_info: 1
+ sh_addralign: 4
+ sh_entsize: 8
+
+entry: 3
+ sh_name: .data
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 116
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 4
+ sh_name: .bss
+ sh_type: SHT_NOBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 116
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 5
+ sh_name: .comment
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 116
+ sh_size: 38
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 6
+ sh_name: .shstrtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 154
+ sh_size: 57
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 7
+ sh_name: .symtab
+ sh_type: SHT_SYMTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 572
+ sh_size: 144
+ sh_link: 8
+ sh_info: 6
+ sh_addralign: 4
+ sh_entsize: 16
+
+entry: 8
+ sh_name: .strtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 716
+ sh_size: 20
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+liba.a(a4.o):
+
+elf header:
+
+ e_ident: ELFCLASS32 ELFDATA2LSB ELFOSABI_FREEBSD
+ e_type: ET_REL
+ e_machine: EM_386
+ e_version: EV_CURRENT
+ e_entry: 0
+ e_phoff: 0
+ e_shoff: 244
+ e_flags: 0
+ e_ehsize: 52
+ e_phentsize: 0
+ e_phnum: 0
+ e_shentsize: 40
+ e_shnum: 10
+ e_shstrndx: 7
+
+section header:
+
+entry: 0
+ sh_name:
+ sh_type: SHT_NULL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 0
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 0
+ sh_entsize: 0
+
+entry: 1
+ sh_name: .text
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0
+ sh_offset: 64
+ sh_size: 36
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 2
+ sh_name: .rel.text
+ sh_type: SHT_REL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 856
+ sh_size: 32
+ sh_link: 8
+ sh_info: 1
+ sh_addralign: 4
+ sh_entsize: 8
+
+entry: 3
+ sh_name: .data
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 100
+ sh_size: 18
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 4
+ sh_name: .bss
+ sh_type: SHT_NOBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 120
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 5
+ sh_name: .rodata
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 120
+ sh_size: 21
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 6
+ sh_name: .comment
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 141
+ sh_size: 38
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 7
+ sh_name: .shstrtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 179
+ sh_size: 65
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 8
+ sh_name: .symtab
+ sh_type: SHT_SYMTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 644
+ sh_size: 176
+ sh_link: 9
+ sh_info: 7
+ sh_addralign: 4
+ sh_entsize: 16
+
+entry: 9
+ sh_name: .strtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 820
+ sh_size: 33
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
diff --git a/test/elfdump/ts/archive1/@h%liba.a.err b/test/elfdump/ts/archive1/@h%liba.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive1/@h%liba.a.err
diff --git a/test/elfdump/ts/archive1/@h%liba.a.out b/test/elfdump/ts/archive1/@h%liba.a.out
new file mode 100644
index 0000000000000..52c013f355187
--- /dev/null
+++ b/test/elfdump/ts/archive1/@h%liba.a.out
@@ -0,0 +1,8 @@
+
+liba.a(a1.o):
+
+liba.a(a2.o):
+
+liba.a(a3.o):
+
+liba.a(a4.o):
diff --git a/test/elfdump/ts/archive1/@n%liba.a.err b/test/elfdump/ts/archive1/@n%liba.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive1/@n%liba.a.err
diff --git a/test/elfdump/ts/archive1/@n%liba.a.out b/test/elfdump/ts/archive1/@n%liba.a.out
new file mode 100644
index 0000000000000..52c013f355187
--- /dev/null
+++ b/test/elfdump/ts/archive1/@n%liba.a.out
@@ -0,0 +1,8 @@
+
+liba.a(a1.o):
+
+liba.a(a2.o):
+
+liba.a(a3.o):
+
+liba.a(a4.o):
diff --git a/test/elfdump/ts/archive1/@p%liba.a.err b/test/elfdump/ts/archive1/@p%liba.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive1/@p%liba.a.err
diff --git a/test/elfdump/ts/archive1/@p%liba.a.out b/test/elfdump/ts/archive1/@p%liba.a.out
new file mode 100644
index 0000000000000..52c013f355187
--- /dev/null
+++ b/test/elfdump/ts/archive1/@p%liba.a.out
@@ -0,0 +1,8 @@
+
+liba.a(a1.o):
+
+liba.a(a2.o):
+
+liba.a(a3.o):
+
+liba.a(a4.o):
diff --git a/test/elfdump/ts/archive1/@p@s%liba.a.err b/test/elfdump/ts/archive1/@p@s%liba.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive1/@p@s%liba.a.err
diff --git a/test/elfdump/ts/archive1/@p@s%liba.a.out b/test/elfdump/ts/archive1/@p@s%liba.a.out
new file mode 100644
index 0000000000000..b2420a9998adb
--- /dev/null
+++ b/test/elfdump/ts/archive1/@p@s%liba.a.out
@@ -0,0 +1,334 @@
+
+symbol table (archive):
+
+entry: 0
+ offset: 0xa8
+ member: a1.o
+ symbol: summul
+
+entry: 1
+ offset: 0xa8
+ member: a1.o
+ symbol: a
+
+entry: 2
+ offset: 0x3ac
+ member: a2.o
+ symbol: msg
+
+entry: 3
+ offset: 0x3ac
+ member: a2.o
+ symbol: printmsg
+
+entry: 4
+ offset: 0x728
+ member: a3.o
+ symbol: substract
+
+entry: 5
+ offset: 0x728
+ member: a3.o
+ symbol: x
+
+entry: 6
+ offset: 0x728
+ member: a3.o
+ symbol: y
+
+entry: 7
+ offset: 0xa64
+ member: a4.o
+ symbol: msg1
+
+entry: 8
+ offset: 0xa64
+ member: a4.o
+ symbol: msg2
+
+entry: 9
+ offset: 0xa64
+ member: a4.o
+ symbol: outputmsg
+
+liba.a(a1.o):
+
+symbol table (.symtab):
+
+entry: 0
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_LOCAL
+ st_shndx: 0
+
+entry: 1
+ st_name: a1.c
+ st_value: 0
+ st_size: 0
+ st_info: STT_FILE STB_LOCAL
+ st_shndx: 65521
+
+entry: 2
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 1
+
+entry: 3
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 3
+
+entry: 4
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 4
+
+entry: 5
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 5
+
+entry: 6
+ st_name: summul
+ st_value: 0
+ st_size: 31
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+entry: 7
+ st_name: a
+ st_value: 0x4
+ st_size: 4
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 65522
+
+liba.a(a2.o):
+
+symbol table (.symtab):
+
+entry: 0
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_LOCAL
+ st_shndx: 0
+
+entry: 1
+ st_name: a2.c
+ st_value: 0
+ st_size: 0
+ st_info: STT_FILE STB_LOCAL
+ st_shndx: 65521
+
+entry: 2
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 1
+
+entry: 3
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 3
+
+entry: 4
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 4
+
+entry: 5
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 5
+
+entry: 6
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 6
+
+entry: 7
+ st_name: msg
+ st_value: 0
+ st_size: 13
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 3
+
+entry: 8
+ st_name: printmsg
+ st_value: 0
+ st_size: 28
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+entry: 9
+ st_name: printf
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+liba.a(a3.o):
+
+symbol table (.symtab):
+
+entry: 0
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_LOCAL
+ st_shndx: 0
+
+entry: 1
+ st_name: a3.c
+ st_value: 0
+ st_size: 0
+ st_info: STT_FILE STB_LOCAL
+ st_shndx: 65521
+
+entry: 2
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 1
+
+entry: 3
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 3
+
+entry: 4
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 4
+
+entry: 5
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 5
+
+entry: 6
+ st_name: substract
+ st_value: 0
+ st_size: 51
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+entry: 7
+ st_name: x
+ st_value: 0x4
+ st_size: 4
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 65522
+
+entry: 8
+ st_name: y
+ st_value: 0x4
+ st_size: 4
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 65522
+
+liba.a(a4.o):
+
+symbol table (.symtab):
+
+entry: 0
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_LOCAL
+ st_shndx: 0
+
+entry: 1
+ st_name: a4.c
+ st_value: 0
+ st_size: 0
+ st_info: STT_FILE STB_LOCAL
+ st_shndx: 65521
+
+entry: 2
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 1
+
+entry: 3
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 3
+
+entry: 4
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 4
+
+entry: 5
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 5
+
+entry: 6
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 6
+
+entry: 7
+ st_name: msg1
+ st_value: 0
+ st_size: 9
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 3
+
+entry: 8
+ st_name: msg2
+ st_value: 0x9
+ st_size: 9
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 3
+
+entry: 9
+ st_name: outputmsg
+ st_value: 0
+ st_size: 36
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+entry: 10
+ st_name: printf
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
diff --git a/test/elfdump/ts/archive1/@r%liba.a.err b/test/elfdump/ts/archive1/@r%liba.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive1/@r%liba.a.err
diff --git a/test/elfdump/ts/archive1/@r%liba.a.out b/test/elfdump/ts/archive1/@r%liba.a.out
new file mode 100644
index 0000000000000..48c90b2ab0037
--- /dev/null
+++ b/test/elfdump/ts/archive1/@r%liba.a.out
@@ -0,0 +1,68 @@
+
+liba.a(a1.o):
+
+relocation (.rel.text):
+
+entry: 0
+ r_offset: 0x5
+ r_info: 0x701
+
+entry: 1
+ r_offset: 0x16
+ r_info: 0x701
+
+liba.a(a2.o):
+
+relocation (.rel.text):
+
+entry: 0
+ r_offset: 0xa
+ r_info: 0x701
+
+entry: 1
+ r_offset: 0x11
+ r_info: 0x501
+
+entry: 2
+ r_offset: 0x16
+ r_info: 0x902
+
+liba.a(a3.o):
+
+relocation (.rel.text):
+
+entry: 0
+ r_offset: 0x5
+ r_info: 0x701
+
+entry: 1
+ r_offset: 0xf
+ r_info: 0x801
+
+entry: 2
+ r_offset: 0x19
+ r_info: 0x701
+
+entry: 3
+ r_offset: 0x27
+ r_info: 0x801
+
+liba.a(a4.o):
+
+relocation (.rel.text):
+
+entry: 0
+ r_offset: 0xa
+ r_info: 0x801
+
+entry: 1
+ r_offset: 0x12
+ r_info: 0x701
+
+entry: 2
+ r_offset: 0x19
+ r_info: 0x501
+
+entry: 3
+ r_offset: 0x1e
+ r_info: 0xa02
diff --git a/test/elfdump/ts/archive1/liba.a b/test/elfdump/ts/archive1/liba.a
new file mode 100644
index 0000000000000..a2174bc576bd1
--- /dev/null
+++ b/test/elfdump/ts/archive1/liba.a
Binary files differ
diff --git a/test/elfdump/ts/archive1/tc b/test/elfdump/ts/archive1/tc
new file mode 100755
index 0000000000000..18894e288fbb6
--- /dev/null
+++ b/test/elfdump/ts/archive1/tc
@@ -0,0 +1,168 @@
+#!/bin/sh
+#
+# $Id: tc 2083 2011-10-27 04:41:39Z jkoshy $
+
+tp1()
+{
+ run "@e%liba.a"
+}
+
+tp2()
+{
+ run "@p%liba.a"
+}
+
+tp3()
+{
+ run "@G%liba.a"
+}
+
+tp4()
+{
+ run "@n%liba.a"
+}
+
+tp5()
+{
+ run "@p@s%liba.a"
+}
+
+tp6()
+{
+ run "@c%liba.a"
+}
+
+tp7()
+{
+ run "@c@s%liba.a"
+}
+
+tp8()
+{
+ run "@c@p@n%liba.a"
+}
+
+tp9()
+{
+ run "@d%liba.a"
+}
+
+tp10()
+{
+ run "@e@i%liba.a"
+}
+
+tp11()
+{
+ run "@r%liba.a"
+}
+
+tp12()
+{
+ run "@h%liba.a"
+}
+
+tp13()
+{
+ run "@e@p@c%liba.a"
+}
+
+tp14()
+{
+ run "@S@e%liba.a"
+}
+
+tp15()
+{
+ run "@S@p%liba.a"
+}
+
+tp16()
+{
+ run "@S@G%liba.a"
+}
+
+tp17()
+{
+ run "@S@r%liba.a"
+}
+
+tp18()
+{
+ run "@S@d%liba.a"
+}
+
+tp19()
+{
+ run "@S@n%liba.a"
+}
+
+tp20()
+{
+ run "@S@c%liba.a"
+}
+
+tp21()
+{
+ run "@S@s%liba.a"
+}
+
+tp22()
+{
+ run "@S@k%liba.a"
+}
+
+tp23()
+{
+ run "@S@v%liba.a"
+}
+
+tp24()
+{
+ run "@S@h%liba.a"
+}
+
+tp25()
+{
+ run "@S@s@N%ARSYM%liba.a"
+}
+
+tp26()
+{
+ run "@S@s@N%.symtab%liba.a"
+}
+
+tet_startup=""
+tet_cleanup="cleanup"
+
+iclist="ic1 ic2 ic3 ic4 ic5 ic6 ic7 ic8 ic9 ic10 ic11 ic12 ic13 ic14 ic15 ic16 ic17 ic18 ic19 ic20 ic21 ic22 ic23 ic24 ic25 ic26"
+
+ic1="tp1"
+ic2="tp2"
+ic3="tp3"
+ic4="tp4"
+ic5="tp5"
+ic6="tp6"
+ic7="tp7"
+ic8="tp8"
+ic9="tp9"
+ic10="tp10"
+ic11="tp11"
+ic12="tp12"
+ic13="tp13"
+ic14="tp14"
+ic15="tp15"
+ic16="tp16"
+ic17="tp17"
+ic18="tp18"
+ic19="tp19"
+ic20="tp20"
+ic21="tp21"
+ic22="tp22"
+ic23="tp23"
+ic24="tp24"
+ic25="tp25"
+ic26="tp26"
+
+. $TET_SUITE_ROOT/ts/common/func.sh
+. $TET_ROOT/lib/xpg3sh/tcm.sh
diff --git a/test/elfdump/ts/archive2/@G%libdwarf.a.err b/test/elfdump/ts/archive2/@G%libdwarf.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive2/@G%libdwarf.a.err
diff --git a/test/elfdump/ts/archive2/@G%libdwarf.a.out b/test/elfdump/ts/archive2/@G%libdwarf.a.out
new file mode 100644
index 0000000000000..cc108c437ca3b
--- /dev/null
+++ b/test/elfdump/ts/archive2/@G%libdwarf.a.out
@@ -0,0 +1,26 @@
+
+libdwarf.a(dwarf_loc.o):
+
+libdwarf.a(dwarf_init.o):
+
+libdwarf.a(dwarf_form.o):
+
+libdwarf.a(dwarf_finish.o):
+
+libdwarf.a(dwarf_errno.o):
+
+libdwarf.a(dwarf_dealloc.o):
+
+libdwarf.a(dwarf_attrval.o):
+
+libdwarf.a(dwarf_attr.o):
+
+libdwarf.a(dwarf_abbrev.o):
+
+libdwarf.a(dwarf_dump.o):
+
+libdwarf.a(dwarf_die.o):
+
+libdwarf.a(dwarf_cu.o):
+
+libdwarf.a(dwarf_errmsg.o):
diff --git a/test/elfdump/ts/archive2/@S@G%libdwarf.a.err b/test/elfdump/ts/archive2/@S@G%libdwarf.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive2/@S@G%libdwarf.a.err
diff --git a/test/elfdump/ts/archive2/@S@G%libdwarf.a.out b/test/elfdump/ts/archive2/@S@G%libdwarf.a.out
new file mode 100644
index 0000000000000..cc108c437ca3b
--- /dev/null
+++ b/test/elfdump/ts/archive2/@S@G%libdwarf.a.out
@@ -0,0 +1,26 @@
+
+libdwarf.a(dwarf_loc.o):
+
+libdwarf.a(dwarf_init.o):
+
+libdwarf.a(dwarf_form.o):
+
+libdwarf.a(dwarf_finish.o):
+
+libdwarf.a(dwarf_errno.o):
+
+libdwarf.a(dwarf_dealloc.o):
+
+libdwarf.a(dwarf_attrval.o):
+
+libdwarf.a(dwarf_attr.o):
+
+libdwarf.a(dwarf_abbrev.o):
+
+libdwarf.a(dwarf_dump.o):
+
+libdwarf.a(dwarf_die.o):
+
+libdwarf.a(dwarf_cu.o):
+
+libdwarf.a(dwarf_errmsg.o):
diff --git a/test/elfdump/ts/archive2/@S@c%libdwarf.a.err b/test/elfdump/ts/archive2/@S@c%libdwarf.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive2/@S@c%libdwarf.a.err
diff --git a/test/elfdump/ts/archive2/@S@c%libdwarf.a.out b/test/elfdump/ts/archive2/@S@c%libdwarf.a.out
new file mode 100644
index 0000000000000..fbdea32e1a46c
--- /dev/null
+++ b/test/elfdump/ts/archive2/@S@c%libdwarf.a.out
@@ -0,0 +1,1090 @@
+
+libdwarf.a(dwarf_loc.o):
+
+Section Header[1]: sh_name: .text
+ sh_addr: 0 sh_flags: [ SHF_ALLOC|SHF_EXECINSTR ]
+ sh_size: 0x4fc sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x40 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x10
+
+Section Header[2]: sh_name: .rela.text
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x1e0 sh_type: [ SHT_RELA ]
+ sh_offset: 0x1638 sh_entsize: 0x18
+ sh_link: 12 sh_info: 1
+ sh_addralign: 0x8
+
+Section Header[3]: sh_name: .data
+ sh_addr: 0 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x53c sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[4]: sh_name: .bss
+ sh_addr: 0 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0 sh_type: [ SHT_NOBITS ]
+ sh_offset: 0x53c sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[5]: sh_name: .rodata
+ sh_addr: 0 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x961 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x540 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x10
+
+Section Header[6]: sh_name: .rela.rodata
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x1ba8 sh_type: [ SHT_RELA ]
+ sh_offset: 0x1818 sh_entsize: 0x18
+ sh_link: 12 sh_info: 5
+ sh_addralign: 0x8
+
+Section Header[7]: sh_name: .rodata.str1.1
+ sh_addr: 0 sh_flags: [ SHF_ALLOC|SHF_MERGE|SHF_STRINGS ]
+ sh_size: 0x1d sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0xea1 sh_entsize: 0x1
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[8]: sh_name: .eh_frame
+ sh_addr: 0 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0xb8 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0xec0 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x8
+
+Section Header[9]: sh_name: .rela.eh_frame
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x78 sh_type: [ SHT_RELA ]
+ sh_offset: 0x33c0 sh_entsize: 0x18
+ sh_link: 12 sh_info: 8
+ sh_addralign: 0x8
+
+Section Header[10]: sh_name: .comment
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x26 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0xf78 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[11]: sh_name: .shstrtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x65 sh_type: [ SHT_STRTAB ]
+ sh_offset: 0xf9e sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[12]: sh_name: .symtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x1f8 sh_type: [ SHT_SYMTAB ]
+ sh_offset: 0x1388 sh_entsize: 0x18
+ sh_link: 13 sh_info: 13
+ sh_addralign: 0x8
+
+Section Header[13]: sh_name: .strtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0xb5 sh_type: [ SHT_STRTAB ]
+ sh_offset: 0x1580 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+libdwarf.a(dwarf_init.o):
+
+Section Header[1]: sh_name: .text
+ sh_addr: 0 sh_flags: [ SHF_ALLOC|SHF_EXECINSTR ]
+ sh_size: 0x11f5 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x40 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x10
+
+Section Header[2]: sh_name: .rela.text
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x810 sh_type: [ SHT_RELA ]
+ sh_offset: 0x21e8 sh_entsize: 0x18
+ sh_link: 13 sh_info: 1
+ sh_addralign: 0x8
+
+Section Header[3]: sh_name: .data
+ sh_addr: 0 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x1238 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[4]: sh_name: .bss
+ sh_addr: 0 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0x10 sh_type: [ SHT_NOBITS ]
+ sh_offset: 0x1238 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x8
+
+Section Header[5]: sh_name: .rodata
+ sh_addr: 0 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x1b0 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x1240 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x20
+
+Section Header[6]: sh_name: .rela.rodata
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x3d8 sh_type: [ SHT_RELA ]
+ sh_offset: 0x29f8 sh_entsize: 0x18
+ sh_link: 13 sh_info: 5
+ sh_addralign: 0x8
+
+Section Header[7]: sh_name: .rodata.str1.8
+ sh_addr: 0 sh_flags: [ SHF_ALLOC|SHF_MERGE|SHF_STRINGS ]
+ sh_size: 0x2f sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x13f0 sh_entsize: 0x1
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x8
+
+Section Header[8]: sh_name: .rodata.str1.1
+ sh_addr: 0 sh_flags: [ SHF_ALLOC|SHF_MERGE|SHF_STRINGS ]
+ sh_size: 0xf3 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x141f sh_entsize: 0x1
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[9]: sh_name: .eh_frame
+ sh_addr: 0 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x130 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x1518 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x8
+
+Section Header[10]: sh_name: .rela.eh_frame
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0xd8 sh_type: [ SHT_RELA ]
+ sh_offset: 0x2dd0 sh_entsize: 0x18
+ sh_link: 13 sh_info: 9
+ sh_addralign: 0x8
+
+Section Header[11]: sh_name: .comment
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x26 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x1648 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[12]: sh_name: .shstrtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x74 sh_type: [ SHT_STRTAB ]
+ sh_offset: 0x166e sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[13]: sh_name: .symtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x4f8 sh_type: [ SHT_SYMTAB ]
+ sh_offset: 0x1aa8 sh_entsize: 0x18
+ sh_link: 14 sh_info: 26
+ sh_addralign: 0x8
+
+Section Header[14]: sh_name: .strtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x247 sh_type: [ SHT_STRTAB ]
+ sh_offset: 0x1fa0 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+libdwarf.a(dwarf_form.o):
+
+Section Header[1]: sh_name: .text
+ sh_addr: 0 sh_flags: [ SHF_ALLOC|SHF_EXECINSTR ]
+ sh_size: 0x48 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x40 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x10
+
+Section Header[2]: sh_name: .rela.text
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x18 sh_type: [ SHT_RELA ]
+ sh_offset: 0x560 sh_entsize: 0x18
+ sh_link: 10 sh_info: 1
+ sh_addralign: 0x8
+
+Section Header[3]: sh_name: .data
+ sh_addr: 0 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x88 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[4]: sh_name: .bss
+ sh_addr: 0 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0 sh_type: [ SHT_NOBITS ]
+ sh_offset: 0x88 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[5]: sh_name: .rodata
+ sh_addr: 0 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0xf sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x88 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[6]: sh_name: .eh_frame
+ sh_addr: 0 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x30 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x98 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x8
+
+Section Header[7]: sh_name: .rela.eh_frame
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x18 sh_type: [ SHT_RELA ]
+ sh_offset: 0x578 sh_entsize: 0x18
+ sh_link: 10 sh_info: 6
+ sh_addralign: 0x8
+
+Section Header[8]: sh_name: .comment
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x26 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0xc8 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[9]: sh_name: .shstrtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x51 sh_type: [ SHT_STRTAB ]
+ sh_offset: 0xee sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[10]: sh_name: .symtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0xf0 sh_type: [ SHT_SYMTAB ]
+ sh_offset: 0x440 sh_entsize: 0x18
+ sh_link: 11 sh_info: 9
+ sh_addralign: 0x8
+
+Section Header[11]: sh_name: .strtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x2b sh_type: [ SHT_STRTAB ]
+ sh_offset: 0x530 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+libdwarf.a(dwarf_finish.o):
+
+Section Header[1]: sh_name: .text
+ sh_addr: 0 sh_flags: [ SHF_ALLOC|SHF_EXECINSTR ]
+ sh_size: 0x353 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x40 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x10
+
+Section Header[2]: sh_name: .rela.text
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x120 sh_type: [ SHT_RELA ]
+ sh_offset: 0x8c8 sh_entsize: 0x18
+ sh_link: 10 sh_info: 1
+ sh_addralign: 0x8
+
+Section Header[3]: sh_name: .data
+ sh_addr: 0 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x394 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[4]: sh_name: .bss
+ sh_addr: 0 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0 sh_type: [ SHT_NOBITS ]
+ sh_offset: 0x394 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[5]: sh_name: .rodata
+ sh_addr: 0 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0xd sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x394 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[6]: sh_name: .eh_frame
+ sh_addr: 0 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x50 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x3a8 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x8
+
+Section Header[7]: sh_name: .rela.eh_frame
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x18 sh_type: [ SHT_RELA ]
+ sh_offset: 0x9e8 sh_entsize: 0x18
+ sh_link: 10 sh_info: 6
+ sh_addralign: 0x8
+
+Section Header[8]: sh_name: .comment
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x26 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x3f8 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[9]: sh_name: .shstrtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x51 sh_type: [ SHT_STRTAB ]
+ sh_offset: 0x41e sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[10]: sh_name: .symtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x120 sh_type: [ SHT_SYMTAB ]
+ sh_offset: 0x770 sh_entsize: 0x18
+ sh_link: 11 sh_info: 9
+ sh_addralign: 0x8
+
+Section Header[11]: sh_name: .strtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x38 sh_type: [ SHT_STRTAB ]
+ sh_offset: 0x890 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+libdwarf.a(dwarf_errno.o):
+
+Section Header[1]: sh_name: .text
+ sh_addr: 0 sh_flags: [ SHF_ALLOC|SHF_EXECINSTR ]
+ sh_size: 0xe sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x40 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x10
+
+Section Header[2]: sh_name: .data
+ sh_addr: 0 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x50 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[3]: sh_name: .bss
+ sh_addr: 0 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0 sh_type: [ SHT_NOBITS ]
+ sh_offset: 0x50 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[4]: sh_name: .eh_frame
+ sh_addr: 0 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x30 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x50 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x8
+
+Section Header[5]: sh_name: .rela.eh_frame
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x18 sh_type: [ SHT_RELA ]
+ sh_offset: 0x450 sh_entsize: 0x18
+ sh_link: 8 sh_info: 4
+ sh_addralign: 0x8
+
+Section Header[6]: sh_name: .comment
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x26 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x80 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[7]: sh_name: .shstrtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x44 sh_type: [ SHT_STRTAB ]
+ sh_offset: 0xa6 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[8]: sh_name: .symtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0xc0 sh_type: [ SHT_SYMTAB ]
+ sh_offset: 0x370 sh_entsize: 0x18
+ sh_link: 9 sh_info: 7
+ sh_addralign: 0x8
+
+Section Header[9]: sh_name: .strtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x1b sh_type: [ SHT_STRTAB ]
+ sh_offset: 0x430 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+libdwarf.a(dwarf_dealloc.o):
+
+Section Header[1]: sh_name: .text
+ sh_addr: 0 sh_flags: [ SHF_ALLOC|SHF_EXECINSTR ]
+ sh_size: 0x2 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x40 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x10
+
+Section Header[2]: sh_name: .data
+ sh_addr: 0 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x44 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[3]: sh_name: .bss
+ sh_addr: 0 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0 sh_type: [ SHT_NOBITS ]
+ sh_offset: 0x44 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[4]: sh_name: .eh_frame
+ sh_addr: 0 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x30 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x48 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x8
+
+Section Header[5]: sh_name: .rela.eh_frame
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x18 sh_type: [ SHT_RELA ]
+ sh_offset: 0x448 sh_entsize: 0x18
+ sh_link: 8 sh_info: 4
+ sh_addralign: 0x8
+
+Section Header[6]: sh_name: .comment
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x26 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x78 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[7]: sh_name: .shstrtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x44 sh_type: [ SHT_STRTAB ]
+ sh_offset: 0x9e sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[8]: sh_name: .symtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0xc0 sh_type: [ SHT_SYMTAB ]
+ sh_offset: 0x368 sh_entsize: 0x18
+ sh_link: 9 sh_info: 7
+ sh_addralign: 0x8
+
+Section Header[9]: sh_name: .strtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x1f sh_type: [ SHT_STRTAB ]
+ sh_offset: 0x428 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+libdwarf.a(dwarf_attrval.o):
+
+Section Header[1]: sh_name: .text
+ sh_addr: 0 sh_flags: [ SHF_ALLOC|SHF_EXECINSTR ]
+ sh_size: 0x6d8 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x40 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x10
+
+Section Header[2]: sh_name: .rela.text
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x408 sh_type: [ SHT_RELA ]
+ sh_offset: 0xfc0 sh_entsize: 0x18
+ sh_link: 11 sh_info: 1
+ sh_addralign: 0x8
+
+Section Header[3]: sh_name: .data
+ sh_addr: 0 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x718 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[4]: sh_name: .bss
+ sh_addr: 0 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0 sh_type: [ SHT_NOBITS ]
+ sh_offset: 0x718 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[5]: sh_name: .rodata.str1.8
+ sh_addr: 0 sh_flags: [ SHF_ALLOC|SHF_MERGE|SHF_STRINGS ]
+ sh_size: 0x2e sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x718 sh_entsize: 0x1
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x8
+
+Section Header[6]: sh_name: .rodata
+ sh_addr: 0 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x92 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x750 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x10
+
+Section Header[7]: sh_name: .eh_frame
+ sh_addr: 0 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0xd0 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x7e8 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x8
+
+Section Header[8]: sh_name: .rela.eh_frame
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x90 sh_type: [ SHT_RELA ]
+ sh_offset: 0x13c8 sh_entsize: 0x18
+ sh_link: 11 sh_info: 7
+ sh_addralign: 0x8
+
+Section Header[9]: sh_name: .comment
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x26 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x8b8 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[10]: sh_name: .shstrtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x60 sh_type: [ SHT_STRTAB ]
+ sh_offset: 0x8de sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[11]: sh_name: .symtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x240 sh_type: [ SHT_SYMTAB ]
+ sh_offset: 0xc80 sh_entsize: 0x18
+ sh_link: 12 sh_info: 14
+ sh_addralign: 0x8
+
+Section Header[12]: sh_name: .strtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0xfb sh_type: [ SHT_STRTAB ]
+ sh_offset: 0xec0 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+libdwarf.a(dwarf_attr.o):
+
+Section Header[1]: sh_name: .text
+ sh_addr: 0 sh_flags: [ SHF_ALLOC|SHF_EXECINSTR ]
+ sh_size: 0x181 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x40 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x10
+
+Section Header[2]: sh_name: .rela.text
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x78 sh_type: [ SHT_RELA ]
+ sh_offset: 0x730 sh_entsize: 0x18
+ sh_link: 10 sh_info: 1
+ sh_addralign: 0x8
+
+Section Header[3]: sh_name: .data
+ sh_addr: 0 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x1c4 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[4]: sh_name: .bss
+ sh_addr: 0 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0 sh_type: [ SHT_NOBITS ]
+ sh_offset: 0x1c4 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[5]: sh_name: .rodata
+ sh_addr: 0 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x1a sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x1c4 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[6]: sh_name: .eh_frame
+ sh_addr: 0 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x50 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x1e0 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x8
+
+Section Header[7]: sh_name: .rela.eh_frame
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x30 sh_type: [ SHT_RELA ]
+ sh_offset: 0x7a8 sh_entsize: 0x18
+ sh_link: 10 sh_info: 6
+ sh_addralign: 0x8
+
+Section Header[8]: sh_name: .comment
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x26 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x230 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[9]: sh_name: .shstrtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x51 sh_type: [ SHT_STRTAB ]
+ sh_offset: 0x256 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[10]: sh_name: .symtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x138 sh_type: [ SHT_SYMTAB ]
+ sh_offset: 0x5a8 sh_entsize: 0x18
+ sh_link: 11 sh_info: 10
+ sh_addralign: 0x8
+
+Section Header[11]: sh_name: .strtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x4b sh_type: [ SHT_STRTAB ]
+ sh_offset: 0x6e0 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+libdwarf.a(dwarf_abbrev.o):
+
+Section Header[1]: sh_name: .text
+ sh_addr: 0 sh_flags: [ SHF_ALLOC|SHF_EXECINSTR ]
+ sh_size: 0xfe sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x40 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x10
+
+Section Header[2]: sh_name: .rela.text
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x30 sh_type: [ SHT_RELA ]
+ sh_offset: 0x690 sh_entsize: 0x18
+ sh_link: 10 sh_info: 1
+ sh_addralign: 0x8
+
+Section Header[3]: sh_name: .data
+ sh_addr: 0 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x140 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[4]: sh_name: .bss
+ sh_addr: 0 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0 sh_type: [ SHT_NOBITS ]
+ sh_offset: 0x140 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[5]: sh_name: .rodata
+ sh_addr: 0 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x11 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x140 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x10
+
+Section Header[6]: sh_name: .eh_frame
+ sh_addr: 0 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x58 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x158 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x8
+
+Section Header[7]: sh_name: .rela.eh_frame
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x30 sh_type: [ SHT_RELA ]
+ sh_offset: 0x6c0 sh_entsize: 0x18
+ sh_link: 10 sh_info: 6
+ sh_addralign: 0x8
+
+Section Header[8]: sh_name: .comment
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x26 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x1b0 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[9]: sh_name: .shstrtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x51 sh_type: [ SHT_STRTAB ]
+ sh_offset: 0x1d6 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[10]: sh_name: .symtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x120 sh_type: [ SHT_SYMTAB ]
+ sh_offset: 0x528 sh_entsize: 0x18
+ sh_link: 11 sh_info: 9
+ sh_addralign: 0x8
+
+Section Header[11]: sh_name: .strtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x48 sh_type: [ SHT_STRTAB ]
+ sh_offset: 0x648 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+libdwarf.a(dwarf_dump.o):
+
+Section Header[1]: sh_name: .text
+ sh_addr: 0 sh_flags: [ SHF_ALLOC|SHF_EXECINSTR ]
+ sh_size: 0xc85 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x40 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x10
+
+Section Header[2]: sh_name: .rela.text
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x1aa0 sh_type: [ SHT_RELA ]
+ sh_offset: 0x2db0 sh_entsize: 0x18
+ sh_link: 13 sh_info: 1
+ sh_addralign: 0x8
+
+Section Header[3]: sh_name: .data
+ sh_addr: 0 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0xcc8 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[4]: sh_name: .bss
+ sh_addr: 0 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0 sh_type: [ SHT_NOBITS ]
+ sh_offset: 0xcc8 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[5]: sh_name: .rodata.str1.1
+ sh_addr: 0 sh_flags: [ SHF_ALLOC|SHF_MERGE|SHF_STRINGS ]
+ sh_size: 0xbee sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0xcc8 sh_entsize: 0x1
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[6]: sh_name: .rodata.str1.8
+ sh_addr: 0 sh_flags: [ SHF_ALLOC|SHF_MERGE|SHF_STRINGS ]
+ sh_size: 0x31a sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x18b8 sh_entsize: 0x1
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x8
+
+Section Header[7]: sh_name: .rodata
+ sh_addr: 0 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x5e0 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x1bd8 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x8
+
+Section Header[8]: sh_name: .rela.rodata
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x11a0 sh_type: [ SHT_RELA ]
+ sh_offset: 0x4850 sh_entsize: 0x18
+ sh_link: 13 sh_info: 7
+ sh_addralign: 0x8
+
+Section Header[9]: sh_name: .eh_frame
+ sh_addr: 0 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x238 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x21b8 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x8
+
+Section Header[10]: sh_name: .rela.eh_frame
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x198 sh_type: [ SHT_RELA ]
+ sh_offset: 0x59f0 sh_entsize: 0x18
+ sh_link: 13 sh_info: 9
+ sh_addralign: 0x8
+
+Section Header[11]: sh_name: .comment
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x26 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x23f0 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[12]: sh_name: .shstrtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x74 sh_type: [ SHT_STRTAB ]
+ sh_offset: 0x2416 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[13]: sh_name: .symtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x3a8 sh_type: [ SHT_SYMTAB ]
+ sh_offset: 0x2850 sh_entsize: 0x18
+ sh_link: 14 sh_info: 11
+ sh_addralign: 0x8
+
+Section Header[14]: sh_name: .strtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x1b8 sh_type: [ SHT_STRTAB ]
+ sh_offset: 0x2bf8 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+libdwarf.a(dwarf_die.o):
+
+Section Header[1]: sh_name: .text
+ sh_addr: 0 sh_flags: [ SHF_ALLOC|SHF_EXECINSTR ]
+ sh_size: 0x3ae sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x40 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x10
+
+Section Header[2]: sh_name: .rela.text
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x108 sh_type: [ SHT_RELA ]
+ sh_offset: 0xba8 sh_entsize: 0x18
+ sh_link: 12 sh_info: 1
+ sh_addralign: 0x8
+
+Section Header[3]: sh_name: .data
+ sh_addr: 0 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x3f0 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[4]: sh_name: .bss
+ sh_addr: 0 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0 sh_type: [ SHT_NOBITS ]
+ sh_offset: 0x3f0 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[5]: sh_name: .rodata
+ sh_addr: 0 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x3e sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x3f0 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x10
+
+Section Header[6]: sh_name: .rela.rodata
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x18 sh_type: [ SHT_RELA ]
+ sh_offset: 0xcb0 sh_entsize: 0x18
+ sh_link: 12 sh_info: 5
+ sh_addralign: 0x8
+
+Section Header[7]: sh_name: .rodata.str1.1
+ sh_addr: 0 sh_flags: [ SHF_ALLOC|SHF_MERGE|SHF_STRINGS ]
+ sh_size: 0x9 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x42e sh_entsize: 0x1
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[8]: sh_name: .eh_frame
+ sh_addr: 0 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0xb8 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x438 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x8
+
+Section Header[9]: sh_name: .rela.eh_frame
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x90 sh_type: [ SHT_RELA ]
+ sh_offset: 0xcc8 sh_entsize: 0x18
+ sh_link: 12 sh_info: 8
+ sh_addralign: 0x8
+
+Section Header[10]: sh_name: .comment
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x26 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x4f0 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[11]: sh_name: .shstrtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x65 sh_type: [ SHT_STRTAB ]
+ sh_offset: 0x516 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[12]: sh_name: .symtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x1f8 sh_type: [ SHT_SYMTAB ]
+ sh_offset: 0x900 sh_entsize: 0x18
+ sh_link: 13 sh_info: 14
+ sh_addralign: 0x8
+
+Section Header[13]: sh_name: .strtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0xa9 sh_type: [ SHT_STRTAB ]
+ sh_offset: 0xaf8 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+libdwarf.a(dwarf_cu.o):
+
+Section Header[1]: sh_name: .text
+ sh_addr: 0 sh_flags: [ SHF_ALLOC|SHF_EXECINSTR ]
+ sh_size: 0x10b sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x40 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x10
+
+Section Header[2]: sh_name: .rela.text
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x48 sh_type: [ SHT_RELA ]
+ sh_offset: 0x630 sh_entsize: 0x18
+ sh_link: 10 sh_info: 1
+ sh_addralign: 0x8
+
+Section Header[3]: sh_name: .data
+ sh_addr: 0 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x14c sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[4]: sh_name: .bss
+ sh_addr: 0 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0 sh_type: [ SHT_NOBITS ]
+ sh_offset: 0x14c sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[5]: sh_name: .rodata
+ sh_addr: 0 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x15 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x150 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x10
+
+Section Header[6]: sh_name: .eh_frame
+ sh_addr: 0 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x30 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x168 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x8
+
+Section Header[7]: sh_name: .rela.eh_frame
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x18 sh_type: [ SHT_RELA ]
+ sh_offset: 0x678 sh_entsize: 0x18
+ sh_link: 10 sh_info: 6
+ sh_addralign: 0x8
+
+Section Header[8]: sh_name: .comment
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x26 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x198 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[9]: sh_name: .shstrtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x51 sh_type: [ SHT_STRTAB ]
+ sh_offset: 0x1be sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[10]: sh_name: .symtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0xf0 sh_type: [ SHT_SYMTAB ]
+ sh_offset: 0x510 sh_entsize: 0x18
+ sh_link: 11 sh_info: 9
+ sh_addralign: 0x8
+
+Section Header[11]: sh_name: .strtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x2f sh_type: [ SHT_STRTAB ]
+ sh_offset: 0x600 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+libdwarf.a(dwarf_errmsg.o):
+
+Section Header[1]: sh_name: .text
+ sh_addr: 0 sh_flags: [ SHF_ALLOC|SHF_EXECINSTR ]
+ sh_size: 0xc7 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x40 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x10
+
+Section Header[2]: sh_name: .rela.text
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0xc0 sh_type: [ SHT_RELA ]
+ sh_offset: 0x8d8 sh_entsize: 0x18
+ sh_link: 12 sh_info: 1
+ sh_addralign: 0x8
+
+Section Header[3]: sh_name: .data
+ sh_addr: 0 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0x78 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x120 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x20
+
+Section Header[4]: sh_name: .rela.data
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x168 sh_type: [ SHT_RELA ]
+ sh_offset: 0x998 sh_entsize: 0x18
+ sh_link: 12 sh_info: 3
+ sh_addralign: 0x8
+
+Section Header[5]: sh_name: .bss
+ sh_addr: 0 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0 sh_type: [ SHT_NOBITS ]
+ sh_offset: 0x198 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[6]: sh_name: .rodata.str1.1
+ sh_addr: 0 sh_flags: [ SHF_ALLOC|SHF_MERGE|SHF_STRINGS ]
+ sh_size: 0x112 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x198 sh_entsize: 0x1
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[7]: sh_name: .rodata.str1.8
+ sh_addr: 0 sh_flags: [ SHF_ALLOC|SHF_MERGE|SHF_STRINGS ]
+ sh_size: 0x54 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x2b0 sh_entsize: 0x1
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x8
+
+Section Header[8]: sh_name: .eh_frame
+ sh_addr: 0 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x38 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x308 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x8
+
+Section Header[9]: sh_name: .rela.eh_frame
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x18 sh_type: [ SHT_RELA ]
+ sh_offset: 0xb00 sh_entsize: 0x18
+ sh_link: 12 sh_info: 8
+ sh_addralign: 0x8
+
+Section Header[10]: sh_name: .comment
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x26 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x340 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[11]: sh_name: .shstrtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x6c sh_type: [ SHT_STRTAB ]
+ sh_offset: 0x366 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[12]: sh_name: .symtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x138 sh_type: [ SHT_SYMTAB ]
+ sh_offset: 0x758 sh_entsize: 0x18
+ sh_link: 13 sh_info: 9
+ sh_addralign: 0x8
+
+Section Header[13]: sh_name: .strtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x42 sh_type: [ SHT_STRTAB ]
+ sh_offset: 0x890 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
diff --git a/test/elfdump/ts/archive2/@S@d%libdwarf.a.err b/test/elfdump/ts/archive2/@S@d%libdwarf.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive2/@S@d%libdwarf.a.err
diff --git a/test/elfdump/ts/archive2/@S@d%libdwarf.a.out b/test/elfdump/ts/archive2/@S@d%libdwarf.a.out
new file mode 100644
index 0000000000000..cc108c437ca3b
--- /dev/null
+++ b/test/elfdump/ts/archive2/@S@d%libdwarf.a.out
@@ -0,0 +1,26 @@
+
+libdwarf.a(dwarf_loc.o):
+
+libdwarf.a(dwarf_init.o):
+
+libdwarf.a(dwarf_form.o):
+
+libdwarf.a(dwarf_finish.o):
+
+libdwarf.a(dwarf_errno.o):
+
+libdwarf.a(dwarf_dealloc.o):
+
+libdwarf.a(dwarf_attrval.o):
+
+libdwarf.a(dwarf_attr.o):
+
+libdwarf.a(dwarf_abbrev.o):
+
+libdwarf.a(dwarf_dump.o):
+
+libdwarf.a(dwarf_die.o):
+
+libdwarf.a(dwarf_cu.o):
+
+libdwarf.a(dwarf_errmsg.o):
diff --git a/test/elfdump/ts/archive2/@S@e%libdwarf.a.err b/test/elfdump/ts/archive2/@S@e%libdwarf.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive2/@S@e%libdwarf.a.err
diff --git a/test/elfdump/ts/archive2/@S@e%libdwarf.a.out b/test/elfdump/ts/archive2/@S@e%libdwarf.a.out
new file mode 100644
index 0000000000000..5cc220b691452
--- /dev/null
+++ b/test/elfdump/ts/archive2/@S@e%libdwarf.a.out
@@ -0,0 +1,156 @@
+
+libdwarf.a(dwarf_loc.o):
+
+ELF Header
+ ei_magic: { 0x7f, E, L, F }
+ ei_class: ELFCLASS64 ei_data: ELFDATA2LSB
+ e_machine: EM_X86_64 e_version: EV_CURRENT
+ e_type: ET_REL
+ e_flags: 0
+ e_entry: 0 e_ehsize: 64 e_shstrndx: 11
+ e_shoff: 0x1008 e_shentsize: 64 e_shnum: 14
+ e_phoff: 0 e_phentsize: 0 e_phnum: 0
+
+libdwarf.a(dwarf_init.o):
+
+ELF Header
+ ei_magic: { 0x7f, E, L, F }
+ ei_class: ELFCLASS64 ei_data: ELFDATA2LSB
+ e_machine: EM_X86_64 e_version: EV_CURRENT
+ e_type: ET_REL
+ e_flags: 0
+ e_entry: 0 e_ehsize: 64 e_shstrndx: 12
+ e_shoff: 0x16e8 e_shentsize: 64 e_shnum: 15
+ e_phoff: 0 e_phentsize: 0 e_phnum: 0
+
+libdwarf.a(dwarf_form.o):
+
+ELF Header
+ ei_magic: { 0x7f, E, L, F }
+ ei_class: ELFCLASS64 ei_data: ELFDATA2LSB
+ e_machine: EM_X86_64 e_version: EV_CURRENT
+ e_type: ET_REL
+ e_flags: 0
+ e_entry: 0 e_ehsize: 64 e_shstrndx: 9
+ e_shoff: 0x140 e_shentsize: 64 e_shnum: 12
+ e_phoff: 0 e_phentsize: 0 e_phnum: 0
+
+libdwarf.a(dwarf_finish.o):
+
+ELF Header
+ ei_magic: { 0x7f, E, L, F }
+ ei_class: ELFCLASS64 ei_data: ELFDATA2LSB
+ e_machine: EM_X86_64 e_version: EV_CURRENT
+ e_type: ET_REL
+ e_flags: 0
+ e_entry: 0 e_ehsize: 64 e_shstrndx: 9
+ e_shoff: 0x470 e_shentsize: 64 e_shnum: 12
+ e_phoff: 0 e_phentsize: 0 e_phnum: 0
+
+libdwarf.a(dwarf_errno.o):
+
+ELF Header
+ ei_magic: { 0x7f, E, L, F }
+ ei_class: ELFCLASS64 ei_data: ELFDATA2LSB
+ e_machine: EM_X86_64 e_version: EV_CURRENT
+ e_type: ET_REL
+ e_flags: 0
+ e_entry: 0 e_ehsize: 64 e_shstrndx: 7
+ e_shoff: 0xf0 e_shentsize: 64 e_shnum: 10
+ e_phoff: 0 e_phentsize: 0 e_phnum: 0
+
+libdwarf.a(dwarf_dealloc.o):
+
+ELF Header
+ ei_magic: { 0x7f, E, L, F }
+ ei_class: ELFCLASS64 ei_data: ELFDATA2LSB
+ e_machine: EM_X86_64 e_version: EV_CURRENT
+ e_type: ET_REL
+ e_flags: 0
+ e_entry: 0 e_ehsize: 64 e_shstrndx: 7
+ e_shoff: 0xe8 e_shentsize: 64 e_shnum: 10
+ e_phoff: 0 e_phentsize: 0 e_phnum: 0
+
+libdwarf.a(dwarf_attrval.o):
+
+ELF Header
+ ei_magic: { 0x7f, E, L, F }
+ ei_class: ELFCLASS64 ei_data: ELFDATA2LSB
+ e_machine: EM_X86_64 e_version: EV_CURRENT
+ e_type: ET_REL
+ e_flags: 0
+ e_entry: 0 e_ehsize: 64 e_shstrndx: 10
+ e_shoff: 0x940 e_shentsize: 64 e_shnum: 13
+ e_phoff: 0 e_phentsize: 0 e_phnum: 0
+
+libdwarf.a(dwarf_attr.o):
+
+ELF Header
+ ei_magic: { 0x7f, E, L, F }
+ ei_class: ELFCLASS64 ei_data: ELFDATA2LSB
+ e_machine: EM_X86_64 e_version: EV_CURRENT
+ e_type: ET_REL
+ e_flags: 0
+ e_entry: 0 e_ehsize: 64 e_shstrndx: 9
+ e_shoff: 0x2a8 e_shentsize: 64 e_shnum: 12
+ e_phoff: 0 e_phentsize: 0 e_phnum: 0
+
+libdwarf.a(dwarf_abbrev.o):
+
+ELF Header
+ ei_magic: { 0x7f, E, L, F }
+ ei_class: ELFCLASS64 ei_data: ELFDATA2LSB
+ e_machine: EM_X86_64 e_version: EV_CURRENT
+ e_type: ET_REL
+ e_flags: 0
+ e_entry: 0 e_ehsize: 64 e_shstrndx: 9
+ e_shoff: 0x228 e_shentsize: 64 e_shnum: 12
+ e_phoff: 0 e_phentsize: 0 e_phnum: 0
+
+libdwarf.a(dwarf_dump.o):
+
+ELF Header
+ ei_magic: { 0x7f, E, L, F }
+ ei_class: ELFCLASS64 ei_data: ELFDATA2LSB
+ e_machine: EM_X86_64 e_version: EV_CURRENT
+ e_type: ET_REL
+ e_flags: 0
+ e_entry: 0 e_ehsize: 64 e_shstrndx: 12
+ e_shoff: 0x2490 e_shentsize: 64 e_shnum: 15
+ e_phoff: 0 e_phentsize: 0 e_phnum: 0
+
+libdwarf.a(dwarf_die.o):
+
+ELF Header
+ ei_magic: { 0x7f, E, L, F }
+ ei_class: ELFCLASS64 ei_data: ELFDATA2LSB
+ e_machine: EM_X86_64 e_version: EV_CURRENT
+ e_type: ET_REL
+ e_flags: 0
+ e_entry: 0 e_ehsize: 64 e_shstrndx: 11
+ e_shoff: 0x580 e_shentsize: 64 e_shnum: 14
+ e_phoff: 0 e_phentsize: 0 e_phnum: 0
+
+libdwarf.a(dwarf_cu.o):
+
+ELF Header
+ ei_magic: { 0x7f, E, L, F }
+ ei_class: ELFCLASS64 ei_data: ELFDATA2LSB
+ e_machine: EM_X86_64 e_version: EV_CURRENT
+ e_type: ET_REL
+ e_flags: 0
+ e_entry: 0 e_ehsize: 64 e_shstrndx: 9
+ e_shoff: 0x210 e_shentsize: 64 e_shnum: 12
+ e_phoff: 0 e_phentsize: 0 e_phnum: 0
+
+libdwarf.a(dwarf_errmsg.o):
+
+ELF Header
+ ei_magic: { 0x7f, E, L, F }
+ ei_class: ELFCLASS64 ei_data: ELFDATA2LSB
+ e_machine: EM_X86_64 e_version: EV_CURRENT
+ e_type: ET_REL
+ e_flags: 0
+ e_entry: 0 e_ehsize: 64 e_shstrndx: 11
+ e_shoff: 0x3d8 e_shentsize: 64 e_shnum: 14
+ e_phoff: 0 e_phentsize: 0 e_phnum: 0
diff --git a/test/elfdump/ts/archive2/@S@h%libdwarf.a.err b/test/elfdump/ts/archive2/@S@h%libdwarf.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive2/@S@h%libdwarf.a.err
diff --git a/test/elfdump/ts/archive2/@S@h%libdwarf.a.out b/test/elfdump/ts/archive2/@S@h%libdwarf.a.out
new file mode 100644
index 0000000000000..cc108c437ca3b
--- /dev/null
+++ b/test/elfdump/ts/archive2/@S@h%libdwarf.a.out
@@ -0,0 +1,26 @@
+
+libdwarf.a(dwarf_loc.o):
+
+libdwarf.a(dwarf_init.o):
+
+libdwarf.a(dwarf_form.o):
+
+libdwarf.a(dwarf_finish.o):
+
+libdwarf.a(dwarf_errno.o):
+
+libdwarf.a(dwarf_dealloc.o):
+
+libdwarf.a(dwarf_attrval.o):
+
+libdwarf.a(dwarf_attr.o):
+
+libdwarf.a(dwarf_abbrev.o):
+
+libdwarf.a(dwarf_dump.o):
+
+libdwarf.a(dwarf_die.o):
+
+libdwarf.a(dwarf_cu.o):
+
+libdwarf.a(dwarf_errmsg.o):
diff --git a/test/elfdump/ts/archive2/@S@k%libdwarf.a.err b/test/elfdump/ts/archive2/@S@k%libdwarf.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive2/@S@k%libdwarf.a.err
diff --git a/test/elfdump/ts/archive2/@S@k%libdwarf.a.out b/test/elfdump/ts/archive2/@S@k%libdwarf.a.out
new file mode 100644
index 0000000000000..57f07a9624f01
--- /dev/null
+++ b/test/elfdump/ts/archive2/@S@k%libdwarf.a.out
@@ -0,0 +1,52 @@
+
+libdwarf.a(dwarf_loc.o):
+
+elf checksum: 0xfe55
+
+libdwarf.a(dwarf_init.o):
+
+elf checksum: 0xceb1
+
+libdwarf.a(dwarf_form.o):
+
+elf checksum: 0x1d0e
+
+libdwarf.a(dwarf_finish.o):
+
+elf checksum: 0x4e0b
+
+libdwarf.a(dwarf_errno.o):
+
+elf checksum: 0xb96
+
+libdwarf.a(dwarf_dealloc.o):
+
+elf checksum: 0x402
+
+libdwarf.a(dwarf_attrval.o):
+
+elf checksum: 0x70d6
+
+libdwarf.a(dwarf_attr.o):
+
+elf checksum: 0x8a25
+
+libdwarf.a(dwarf_abbrev.o):
+
+elf checksum: 0x696f
+
+libdwarf.a(dwarf_dump.o):
+
+elf checksum: 0x697e
+
+libdwarf.a(dwarf_die.o):
+
+elf checksum: 0x4e47
+
+libdwarf.a(dwarf_cu.o):
+
+elf checksum: 0x5458
+
+libdwarf.a(dwarf_errmsg.o):
+
+elf checksum: 0xc68e
diff --git a/test/elfdump/ts/archive2/@S@n%libdwarf.a.err b/test/elfdump/ts/archive2/@S@n%libdwarf.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive2/@S@n%libdwarf.a.err
diff --git a/test/elfdump/ts/archive2/@S@n%libdwarf.a.out b/test/elfdump/ts/archive2/@S@n%libdwarf.a.out
new file mode 100644
index 0000000000000..cc108c437ca3b
--- /dev/null
+++ b/test/elfdump/ts/archive2/@S@n%libdwarf.a.out
@@ -0,0 +1,26 @@
+
+libdwarf.a(dwarf_loc.o):
+
+libdwarf.a(dwarf_init.o):
+
+libdwarf.a(dwarf_form.o):
+
+libdwarf.a(dwarf_finish.o):
+
+libdwarf.a(dwarf_errno.o):
+
+libdwarf.a(dwarf_dealloc.o):
+
+libdwarf.a(dwarf_attrval.o):
+
+libdwarf.a(dwarf_attr.o):
+
+libdwarf.a(dwarf_abbrev.o):
+
+libdwarf.a(dwarf_dump.o):
+
+libdwarf.a(dwarf_die.o):
+
+libdwarf.a(dwarf_cu.o):
+
+libdwarf.a(dwarf_errmsg.o):
diff --git a/test/elfdump/ts/archive2/@S@p%libdwarf.a.err b/test/elfdump/ts/archive2/@S@p%libdwarf.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive2/@S@p%libdwarf.a.err
diff --git a/test/elfdump/ts/archive2/@S@p%libdwarf.a.out b/test/elfdump/ts/archive2/@S@p%libdwarf.a.out
new file mode 100644
index 0000000000000..cc108c437ca3b
--- /dev/null
+++ b/test/elfdump/ts/archive2/@S@p%libdwarf.a.out
@@ -0,0 +1,26 @@
+
+libdwarf.a(dwarf_loc.o):
+
+libdwarf.a(dwarf_init.o):
+
+libdwarf.a(dwarf_form.o):
+
+libdwarf.a(dwarf_finish.o):
+
+libdwarf.a(dwarf_errno.o):
+
+libdwarf.a(dwarf_dealloc.o):
+
+libdwarf.a(dwarf_attrval.o):
+
+libdwarf.a(dwarf_attr.o):
+
+libdwarf.a(dwarf_abbrev.o):
+
+libdwarf.a(dwarf_dump.o):
+
+libdwarf.a(dwarf_die.o):
+
+libdwarf.a(dwarf_cu.o):
+
+libdwarf.a(dwarf_errmsg.o):
diff --git a/test/elfdump/ts/archive2/@S@r%libdwarf.a.err b/test/elfdump/ts/archive2/@S@r%libdwarf.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive2/@S@r%libdwarf.a.err
diff --git a/test/elfdump/ts/archive2/@S@r%libdwarf.a.out b/test/elfdump/ts/archive2/@S@r%libdwarf.a.out
new file mode 100644
index 0000000000000..f8e26edd01f86
--- /dev/null
+++ b/test/elfdump/ts/archive2/@S@r%libdwarf.a.out
@@ -0,0 +1,1181 @@
+
+libdwarf.a(dwarf_loc.o):
+
+Relocation Section: .rela.text
+ type offset addend section with respect to
+ R_X86_64_32S 0xf6 0 .rela.text .rodata (section)
+ R_X86_64_32S 0x176 2368 .rela.text .rodata (section)
+ R_X86_64_PC32 0x191 -4 .rela.text free
+ R_X86_64_PC32 0x199 -4 .rela.text free
+ R_X86_64_PC32 0x20b -4 .rela.text dwarf_attrval_find
+ R_X86_64_PC32 0x226 -4 .rela.text calloc
+ R_X86_64_PC32 0x271 -4 .rela.text dwarf_op_num
+ R_X86_64_PC32 0x286 -4 .rela.text calloc
+ R_X86_64_32S 0x312 1184 .rela.text .rodata (section)
+ R_X86_64_32S 0x32c 2387 .rela.text .rodata (section)
+ R_X86_64_32S 0x409 2387 .rela.text .rodata (section)
+ R_X86_64_PC32 0x425 -4 .rela.text get_form_desc
+ R_X86_64_32 0x432 2387 .rela.text .rodata (section)
+ R_X86_64_32 0x437 0 .rela.text .rodata.str1.1 (section)
+ R_X86_64_PC32 0x43e -4 .rela.text printf
+ R_X86_64_32S 0x453 2387 .rela.text .rodata (section)
+ R_X86_64_PC32 0x466 -4 .rela.text free
+ R_X86_64_32S 0x497 2387 .rela.text .rodata (section)
+ R_X86_64_32S 0x4c1 2387 .rela.text .rodata (section)
+ R_X86_64_32S 0x4e8 2387 .rela.text .rodata (section)
+
+Relocation Section: .rela.rodata
+ type offset addend section with respect to
+ R_X86_64_64 0 314 .rela.rodata .text (section)
+ R_X86_64_64 0x8 233 .rela.rodata .text (section)
+ R_X86_64_64 0x10 233 .rela.rodata .text (section)
+ R_X86_64_64 0x18 178 .rela.rodata .text (section)
+ R_X86_64_64 0x20 233 .rela.rodata .text (section)
+ R_X86_64_64 0x28 301 .rela.rodata .text (section)
+ R_X86_64_64 0x30 301 .rela.rodata .text (section)
+ R_X86_64_64 0x38 291 .rela.rodata .text (section)
+ R_X86_64_64 0x40 291 .rela.rodata .text (section)
+ R_X86_64_64 0x48 281 .rela.rodata .text (section)
+ R_X86_64_64 0x50 281 .rela.rodata .text (section)
+ R_X86_64_64 0x58 271 .rela.rodata .text (section)
+ R_X86_64_64 0x60 271 .rela.rodata .text (section)
+ R_X86_64_64 0x68 261 .rela.rodata .text (section)
+ R_X86_64_64 0x70 261 .rela.rodata .text (section)
+ R_X86_64_64 0x78 178 .rela.rodata .text (section)
+ R_X86_64_64 0x80 178 .rela.rodata .text (section)
+ R_X86_64_64 0x88 178 .rela.rodata .text (section)
+ R_X86_64_64 0x90 301 .rela.rodata .text (section)
+ R_X86_64_64 0x98 178 .rela.rodata .text (section)
+ R_X86_64_64 0xa0 178 .rela.rodata .text (section)
+ R_X86_64_64 0xa8 178 .rela.rodata .text (section)
+ R_X86_64_64 0xb0 178 .rela.rodata .text (section)
+ R_X86_64_64 0xb8 178 .rela.rodata .text (section)
+ R_X86_64_64 0xc0 178 .rela.rodata .text (section)
+ R_X86_64_64 0xc8 178 .rela.rodata .text (section)
+ R_X86_64_64 0xd0 178 .rela.rodata .text (section)
+ R_X86_64_64 0xd8 178 .rela.rodata .text (section)
+ R_X86_64_64 0xe0 178 .rela.rodata .text (section)
+ R_X86_64_64 0xe8 178 .rela.rodata .text (section)
+ R_X86_64_64 0xf0 178 .rela.rodata .text (section)
+ R_X86_64_64 0xf8 178 .rela.rodata .text (section)
+ R_X86_64_64 0x100 261 .rela.rodata .text (section)
+ R_X86_64_64 0x108 178 .rela.rodata .text (section)
+ R_X86_64_64 0x110 178 .rela.rodata .text (section)
+ R_X86_64_64 0x118 178 .rela.rodata .text (section)
+ R_X86_64_64 0x120 178 .rela.rodata .text (section)
+ R_X86_64_64 0x128 291 .rela.rodata .text (section)
+ R_X86_64_64 0x130 178 .rela.rodata .text (section)
+ R_X86_64_64 0x138 178 .rela.rodata .text (section)
+ R_X86_64_64 0x140 178 .rela.rodata .text (section)
+ R_X86_64_64 0x148 178 .rela.rodata .text (section)
+ R_X86_64_64 0x150 178 .rela.rodata .text (section)
+ R_X86_64_64 0x158 178 .rela.rodata .text (section)
+ R_X86_64_64 0x160 291 .rela.rodata .text (section)
+ R_X86_64_64 0x168 178 .rela.rodata .text (section)
+ R_X86_64_64 0x170 178 .rela.rodata .text (section)
+ R_X86_64_64 0x178 178 .rela.rodata .text (section)
+ R_X86_64_64 0x180 178 .rela.rodata .text (section)
+ R_X86_64_64 0x188 178 .rela.rodata .text (section)
+ R_X86_64_64 0x190 178 .rela.rodata .text (section)
+ R_X86_64_64 0x198 178 .rela.rodata .text (section)
+ R_X86_64_64 0x1a0 178 .rela.rodata .text (section)
+ R_X86_64_64 0x1a8 178 .rela.rodata .text (section)
+ R_X86_64_64 0x1b0 178 .rela.rodata .text (section)
+ R_X86_64_64 0x1b8 178 .rela.rodata .text (section)
+ R_X86_64_64 0x1c0 178 .rela.rodata .text (section)
+ R_X86_64_64 0x1c8 178 .rela.rodata .text (section)
+ R_X86_64_64 0x1d0 178 .rela.rodata .text (section)
+ R_X86_64_64 0x1d8 178 .rela.rodata .text (section)
+ R_X86_64_64 0x1e0 178 .rela.rodata .text (section)
+ R_X86_64_64 0x1e8 178 .rela.rodata .text (section)
+ R_X86_64_64 0x1f0 178 .rela.rodata .text (section)
+ R_X86_64_64 0x1f8 178 .rela.rodata .text (section)
+ R_X86_64_64 0x200 178 .rela.rodata .text (section)
+ R_X86_64_64 0x208 178 .rela.rodata .text (section)
+ R_X86_64_64 0x210 178 .rela.rodata .text (section)
+ R_X86_64_64 0x218 178 .rela.rodata .text (section)
+ R_X86_64_64 0x220 178 .rela.rodata .text (section)
+ R_X86_64_64 0x228 178 .rela.rodata .text (section)
+ R_X86_64_64 0x230 178 .rela.rodata .text (section)
+ R_X86_64_64 0x238 178 .rela.rodata .text (section)
+ R_X86_64_64 0x240 178 .rela.rodata .text (section)
+ R_X86_64_64 0x248 178 .rela.rodata .text (section)
+ R_X86_64_64 0x250 178 .rela.rodata .text (section)
+ R_X86_64_64 0x258 178 .rela.rodata .text (section)
+ R_X86_64_64 0x260 178 .rela.rodata .text (section)
+ R_X86_64_64 0x268 178 .rela.rodata .text (section)
+ R_X86_64_64 0x270 178 .rela.rodata .text (section)
+ R_X86_64_64 0x278 178 .rela.rodata .text (section)
+ R_X86_64_64 0x280 178 .rela.rodata .text (section)
+ R_X86_64_64 0x288 178 .rela.rodata .text (section)
+ R_X86_64_64 0x290 178 .rela.rodata .text (section)
+ R_X86_64_64 0x298 178 .rela.rodata .text (section)
+ R_X86_64_64 0x2a0 178 .rela.rodata .text (section)
+ R_X86_64_64 0x2a8 178 .rela.rodata .text (section)
+ R_X86_64_64 0x2b0 178 .rela.rodata .text (section)
+ R_X86_64_64 0x2b8 178 .rela.rodata .text (section)
+ R_X86_64_64 0x2c0 178 .rela.rodata .text (section)
+ R_X86_64_64 0x2c8 178 .rela.rodata .text (section)
+ R_X86_64_64 0x2d0 178 .rela.rodata .text (section)
+ R_X86_64_64 0x2d8 178 .rela.rodata .text (section)
+ R_X86_64_64 0x2e0 178 .rela.rodata .text (section)
+ R_X86_64_64 0x2e8 178 .rela.rodata .text (section)
+ R_X86_64_64 0x2f0 178 .rela.rodata .text (section)
+ R_X86_64_64 0x2f8 178 .rela.rodata .text (section)
+ R_X86_64_64 0x300 178 .rela.rodata .text (section)
+ R_X86_64_64 0x308 178 .rela.rodata .text (section)
+ R_X86_64_64 0x310 178 .rela.rodata .text (section)
+ R_X86_64_64 0x318 178 .rela.rodata .text (section)
+ R_X86_64_64 0x320 178 .rela.rodata .text (section)
+ R_X86_64_64 0x328 178 .rela.rodata .text (section)
+ R_X86_64_64 0x330 178 .rela.rodata .text (section)
+ R_X86_64_64 0x338 178 .rela.rodata .text (section)
+ R_X86_64_64 0x340 178 .rela.rodata .text (section)
+ R_X86_64_64 0x348 178 .rela.rodata .text (section)
+ R_X86_64_64 0x350 178 .rela.rodata .text (section)
+ R_X86_64_64 0x358 178 .rela.rodata .text (section)
+ R_X86_64_64 0x360 178 .rela.rodata .text (section)
+ R_X86_64_64 0x368 261 .rela.rodata .text (section)
+ R_X86_64_64 0x370 261 .rela.rodata .text (section)
+ R_X86_64_64 0x378 261 .rela.rodata .text (section)
+ R_X86_64_64 0x380 261 .rela.rodata .text (section)
+ R_X86_64_64 0x388 261 .rela.rodata .text (section)
+ R_X86_64_64 0x390 261 .rela.rodata .text (section)
+ R_X86_64_64 0x398 261 .rela.rodata .text (section)
+ R_X86_64_64 0x3a0 261 .rela.rodata .text (section)
+ R_X86_64_64 0x3a8 261 .rela.rodata .text (section)
+ R_X86_64_64 0x3b0 261 .rela.rodata .text (section)
+ R_X86_64_64 0x3b8 261 .rela.rodata .text (section)
+ R_X86_64_64 0x3c0 261 .rela.rodata .text (section)
+ R_X86_64_64 0x3c8 261 .rela.rodata .text (section)
+ R_X86_64_64 0x3d0 261 .rela.rodata .text (section)
+ R_X86_64_64 0x3d8 261 .rela.rodata .text (section)
+ R_X86_64_64 0x3e0 261 .rela.rodata .text (section)
+ R_X86_64_64 0x3e8 261 .rela.rodata .text (section)
+ R_X86_64_64 0x3f0 261 .rela.rodata .text (section)
+ R_X86_64_64 0x3f8 261 .rela.rodata .text (section)
+ R_X86_64_64 0x400 261 .rela.rodata .text (section)
+ R_X86_64_64 0x408 261 .rela.rodata .text (section)
+ R_X86_64_64 0x410 261 .rela.rodata .text (section)
+ R_X86_64_64 0x418 261 .rela.rodata .text (section)
+ R_X86_64_64 0x420 261 .rela.rodata .text (section)
+ R_X86_64_64 0x428 261 .rela.rodata .text (section)
+ R_X86_64_64 0x430 261 .rela.rodata .text (section)
+ R_X86_64_64 0x438 261 .rela.rodata .text (section)
+ R_X86_64_64 0x440 261 .rela.rodata .text (section)
+ R_X86_64_64 0x448 261 .rela.rodata .text (section)
+ R_X86_64_64 0x450 261 .rela.rodata .text (section)
+ R_X86_64_64 0x458 261 .rela.rodata .text (section)
+ R_X86_64_64 0x460 261 .rela.rodata .text (section)
+ R_X86_64_64 0x468 261 .rela.rodata .text (section)
+ R_X86_64_64 0x470 261 .rela.rodata .text (section)
+ R_X86_64_64 0x478 250 .rela.rodata .text (section)
+ R_X86_64_64 0x480 261 .rela.rodata .text (section)
+ R_X86_64_64 0x488 301 .rela.rodata .text (section)
+ R_X86_64_64 0x490 301 .rela.rodata .text (section)
+ R_X86_64_64 0x498 178 .rela.rodata .text (section)
+ R_X86_64_64 0x4a0 995 .rela.rodata .text (section)
+ R_X86_64_64 0x4a8 712 .rela.rodata .text (section)
+ R_X86_64_64 0x4b0 712 .rela.rodata .text (section)
+ R_X86_64_64 0x4b8 712 .rela.rodata .text (section)
+ R_X86_64_64 0x4c0 712 .rela.rodata .text (section)
+ R_X86_64_64 0x4c8 976 .rela.rodata .text (section)
+ R_X86_64_64 0x4d0 976 .rela.rodata .text (section)
+ R_X86_64_64 0x4d8 958 .rela.rodata .text (section)
+ R_X86_64_64 0x4e0 958 .rela.rodata .text (section)
+ R_X86_64_64 0x4e8 940 .rela.rodata .text (section)
+ R_X86_64_64 0x4f0 940 .rela.rodata .text (section)
+ R_X86_64_64 0x4f8 922 .rela.rodata .text (section)
+ R_X86_64_64 0x500 922 .rela.rodata .text (section)
+ R_X86_64_64 0x508 864 .rela.rodata .text (section)
+ R_X86_64_64 0x510 864 .rela.rodata .text (section)
+ R_X86_64_64 0x518 712 .rela.rodata .text (section)
+ R_X86_64_64 0x520 712 .rela.rodata .text (section)
+ R_X86_64_64 0x528 712 .rela.rodata .text (section)
+ R_X86_64_64 0x530 976 .rela.rodata .text (section)
+ R_X86_64_64 0x538 712 .rela.rodata .text (section)
+ R_X86_64_64 0x540 712 .rela.rodata .text (section)
+ R_X86_64_64 0x548 712 .rela.rodata .text (section)
+ R_X86_64_64 0x550 712 .rela.rodata .text (section)
+ R_X86_64_64 0x558 712 .rela.rodata .text (section)
+ R_X86_64_64 0x560 712 .rela.rodata .text (section)
+ R_X86_64_64 0x568 712 .rela.rodata .text (section)
+ R_X86_64_64 0x570 712 .rela.rodata .text (section)
+ R_X86_64_64 0x578 712 .rela.rodata .text (section)
+ R_X86_64_64 0x580 712 .rela.rodata .text (section)
+ R_X86_64_64 0x588 712 .rela.rodata .text (section)
+ R_X86_64_64 0x590 712 .rela.rodata .text (section)
+ R_X86_64_64 0x598 712 .rela.rodata .text (section)
+ R_X86_64_64 0x5a0 864 .rela.rodata .text (section)
+ R_X86_64_64 0x5a8 712 .rela.rodata .text (section)
+ R_X86_64_64 0x5b0 712 .rela.rodata .text (section)
+ R_X86_64_64 0x5b8 712 .rela.rodata .text (section)
+ R_X86_64_64 0x5c0 712 .rela.rodata .text (section)
+ R_X86_64_64 0x5c8 958 .rela.rodata .text (section)
+ R_X86_64_64 0x5d0 712 .rela.rodata .text (section)
+ R_X86_64_64 0x5d8 712 .rela.rodata .text (section)
+ R_X86_64_64 0x5e0 712 .rela.rodata .text (section)
+ R_X86_64_64 0x5e8 712 .rela.rodata .text (section)
+ R_X86_64_64 0x5f0 712 .rela.rodata .text (section)
+ R_X86_64_64 0x5f8 712 .rela.rodata .text (section)
+ R_X86_64_64 0x600 958 .rela.rodata .text (section)
+ R_X86_64_64 0x608 712 .rela.rodata .text (section)
+ R_X86_64_64 0x610 712 .rela.rodata .text (section)
+ R_X86_64_64 0x618 712 .rela.rodata .text (section)
+ R_X86_64_64 0x620 712 .rela.rodata .text (section)
+ R_X86_64_64 0x628 712 .rela.rodata .text (section)
+ R_X86_64_64 0x630 712 .rela.rodata .text (section)
+ R_X86_64_64 0x638 712 .rela.rodata .text (section)
+ R_X86_64_64 0x640 712 .rela.rodata .text (section)
+ R_X86_64_64 0x648 712 .rela.rodata .text (section)
+ R_X86_64_64 0x650 712 .rela.rodata .text (section)
+ R_X86_64_64 0x658 712 .rela.rodata .text (section)
+ R_X86_64_64 0x660 712 .rela.rodata .text (section)
+ R_X86_64_64 0x668 712 .rela.rodata .text (section)
+ R_X86_64_64 0x670 712 .rela.rodata .text (section)
+ R_X86_64_64 0x678 712 .rela.rodata .text (section)
+ R_X86_64_64 0x680 712 .rela.rodata .text (section)
+ R_X86_64_64 0x688 712 .rela.rodata .text (section)
+ R_X86_64_64 0x690 712 .rela.rodata .text (section)
+ R_X86_64_64 0x698 712 .rela.rodata .text (section)
+ R_X86_64_64 0x6a0 712 .rela.rodata .text (section)
+ R_X86_64_64 0x6a8 712 .rela.rodata .text (section)
+ R_X86_64_64 0x6b0 712 .rela.rodata .text (section)
+ R_X86_64_64 0x6b8 712 .rela.rodata .text (section)
+ R_X86_64_64 0x6c0 712 .rela.rodata .text (section)
+ R_X86_64_64 0x6c8 712 .rela.rodata .text (section)
+ R_X86_64_64 0x6d0 712 .rela.rodata .text (section)
+ R_X86_64_64 0x6d8 712 .rela.rodata .text (section)
+ R_X86_64_64 0x6e0 712 .rela.rodata .text (section)
+ R_X86_64_64 0x6e8 712 .rela.rodata .text (section)
+ R_X86_64_64 0x6f0 712 .rela.rodata .text (section)
+ R_X86_64_64 0x6f8 712 .rela.rodata .text (section)
+ R_X86_64_64 0x700 712 .rela.rodata .text (section)
+ R_X86_64_64 0x708 712 .rela.rodata .text (section)
+ R_X86_64_64 0x710 712 .rela.rodata .text (section)
+ R_X86_64_64 0x718 712 .rela.rodata .text (section)
+ R_X86_64_64 0x720 712 .rela.rodata .text (section)
+ R_X86_64_64 0x728 712 .rela.rodata .text (section)
+ R_X86_64_64 0x730 712 .rela.rodata .text (section)
+ R_X86_64_64 0x738 712 .rela.rodata .text (section)
+ R_X86_64_64 0x740 712 .rela.rodata .text (section)
+ R_X86_64_64 0x748 712 .rela.rodata .text (section)
+ R_X86_64_64 0x750 712 .rela.rodata .text (section)
+ R_X86_64_64 0x758 712 .rela.rodata .text (section)
+ R_X86_64_64 0x760 712 .rela.rodata .text (section)
+ R_X86_64_64 0x768 712 .rela.rodata .text (section)
+ R_X86_64_64 0x770 712 .rela.rodata .text (section)
+ R_X86_64_64 0x778 712 .rela.rodata .text (section)
+ R_X86_64_64 0x780 712 .rela.rodata .text (section)
+ R_X86_64_64 0x788 712 .rela.rodata .text (section)
+ R_X86_64_64 0x790 712 .rela.rodata .text (section)
+ R_X86_64_64 0x798 712 .rela.rodata .text (section)
+ R_X86_64_64 0x7a0 712 .rela.rodata .text (section)
+ R_X86_64_64 0x7a8 712 .rela.rodata .text (section)
+ R_X86_64_64 0x7b0 712 .rela.rodata .text (section)
+ R_X86_64_64 0x7b8 712 .rela.rodata .text (section)
+ R_X86_64_64 0x7c0 712 .rela.rodata .text (section)
+ R_X86_64_64 0x7c8 712 .rela.rodata .text (section)
+ R_X86_64_64 0x7d0 712 .rela.rodata .text (section)
+ R_X86_64_64 0x7d8 712 .rela.rodata .text (section)
+ R_X86_64_64 0x7e0 712 .rela.rodata .text (section)
+ R_X86_64_64 0x7e8 712 .rela.rodata .text (section)
+ R_X86_64_64 0x7f0 712 .rela.rodata .text (section)
+ R_X86_64_64 0x7f8 712 .rela.rodata .text (section)
+ R_X86_64_64 0x800 712 .rela.rodata .text (section)
+ R_X86_64_64 0x808 864 .rela.rodata .text (section)
+ R_X86_64_64 0x810 864 .rela.rodata .text (section)
+ R_X86_64_64 0x818 864 .rela.rodata .text (section)
+ R_X86_64_64 0x820 864 .rela.rodata .text (section)
+ R_X86_64_64 0x828 864 .rela.rodata .text (section)
+ R_X86_64_64 0x830 864 .rela.rodata .text (section)
+ R_X86_64_64 0x838 864 .rela.rodata .text (section)
+ R_X86_64_64 0x840 864 .rela.rodata .text (section)
+ R_X86_64_64 0x848 864 .rela.rodata .text (section)
+ R_X86_64_64 0x850 864 .rela.rodata .text (section)
+ R_X86_64_64 0x858 864 .rela.rodata .text (section)
+ R_X86_64_64 0x860 864 .rela.rodata .text (section)
+ R_X86_64_64 0x868 864 .rela.rodata .text (section)
+ R_X86_64_64 0x870 864 .rela.rodata .text (section)
+ R_X86_64_64 0x878 864 .rela.rodata .text (section)
+ R_X86_64_64 0x880 864 .rela.rodata .text (section)
+ R_X86_64_64 0x888 864 .rela.rodata .text (section)
+ R_X86_64_64 0x890 864 .rela.rodata .text (section)
+ R_X86_64_64 0x898 864 .rela.rodata .text (section)
+ R_X86_64_64 0x8a0 864 .rela.rodata .text (section)
+ R_X86_64_64 0x8a8 864 .rela.rodata .text (section)
+ R_X86_64_64 0x8b0 864 .rela.rodata .text (section)
+ R_X86_64_64 0x8b8 864 .rela.rodata .text (section)
+ R_X86_64_64 0x8c0 864 .rela.rodata .text (section)
+ R_X86_64_64 0x8c8 864 .rela.rodata .text (section)
+ R_X86_64_64 0x8d0 864 .rela.rodata .text (section)
+ R_X86_64_64 0x8d8 864 .rela.rodata .text (section)
+ R_X86_64_64 0x8e0 864 .rela.rodata .text (section)
+ R_X86_64_64 0x8e8 864 .rela.rodata .text (section)
+ R_X86_64_64 0x8f0 864 .rela.rodata .text (section)
+ R_X86_64_64 0x8f8 864 .rela.rodata .text (section)
+ R_X86_64_64 0x900 864 .rela.rodata .text (section)
+ R_X86_64_64 0x908 864 .rela.rodata .text (section)
+ R_X86_64_64 0x910 864 .rela.rodata .text (section)
+ R_X86_64_64 0x918 889 .rela.rodata .text (section)
+ R_X86_64_64 0x920 864 .rela.rodata .text (section)
+ R_X86_64_64 0x928 976 .rela.rodata .text (section)
+ R_X86_64_64 0x930 976 .rela.rodata .text (section)
+
+Relocation Section: .rela.eh_frame
+ type offset addend section with respect to
+ R_X86_64_32 0x20 0 .rela.eh_frame .text (section)
+ R_X86_64_32 0x38 96 .rela.eh_frame .text (section)
+ R_X86_64_32 0x50 144 .rela.eh_frame .text (section)
+ R_X86_64_32 0x80 336 .rela.eh_frame .text (section)
+ R_X86_64_32 0x98 432 .rela.eh_frame .text (section)
+
+libdwarf.a(dwarf_init.o):
+
+Relocation Section: .rela.text
+ type offset addend section with respect to
+ R_X86_64_32S 0x353 416 .rela.text .rodata (section)
+ R_X86_64_32S 0x393 0 .rela.text .rodata (section)
+ R_X86_64_PC32 0x3a4 -4 .rela.text .bss (section)
+ R_X86_64_PC32 0x3c0 -4 .rela.text dwarf_attrval_add
+ R_X86_64_PC32 0x3d3 -4 .rela.text .bss (section)
+ R_X86_64_PC32 0x3fe -4 .rela.text .bss (section)
+ R_X86_64_PC32 0x411 -4 .rela.text .bss (section)
+ R_X86_64_PC32 0x429 -4 .rela.text .bss (section)
+ R_X86_64_PC32 0x444 -4 .rela.text .bss (section)
+ R_X86_64_PC32 0x4bb -4 .rela.text .bss (section)
+ R_X86_64_PC32 0x4d2 -4 .rela.text elf_strptr
+ R_X86_64_PC32 0x518 -4 .rela.text .bss (section)
+ R_X86_64_PC32 0x565 -4 .rela.text .bss (section)
+ R_X86_64_PC32 0x5dd -4 .rela.text .bss (section)
+ R_X86_64_PC32 0x639 -4 .rela.text calloc
+ R_X86_64_PC32 0x67c -4 .rela.text gelf_getehdr
+ R_X86_64_PC32 0x697 -8 .rela.text .bss (section)
+ R_X86_64_32S 0x69b 0 .rela.text .text (section)
+ R_X86_64_PC32 0x6a2 0 .rela.text .bss (section)
+ R_X86_64_32S 0x6a6 368 .rela.text .text (section)
+ R_X86_64_PC32 0x6b2 -4 .rela.text elf_getshstrndx
+ R_X86_64_PC32 0x6c8 -4 .rela.text elf_nextscn
+ R_X86_64_PC32 0x6e4 -4 .rela.text gelf_getshdr
+ R_X86_64_PC32 0x700 -4 .rela.text elf_strptr
+ R_X86_64_32S 0x723 224 .rela.text .rodata (section)
+ R_X86_64_PC32 0x72b -4 .rela.text strcmp
+ R_X86_64_PC32 0x756 -4 .rela.text elf_ndxscn
+ R_X86_64_PC32 0x7d4 -4 .rela.text elf_getdata
+ R_X86_64_PC32 0x7f7 -4 .rela.text elf_errno
+ R_X86_64_32S 0x7ff 368 .rela.text .rodata (section)
+ R_X86_64_32S 0x842 195 .rela.text .rodata (section)
+ R_X86_64_32S 0x86e 195 .rela.text .rodata (section)
+ R_X86_64_PC32 0x88f -4 .rela.text elf_errno
+ R_X86_64_32S 0x897 368 .rela.text .rodata (section)
+ R_X86_64_PC32 0x8b4 -8 .rela.text .bss (section)
+ R_X86_64_32S 0x8b8 160 .rela.text .text (section)
+ R_X86_64_PC32 0x8bf 0 .rela.text .bss (section)
+ R_X86_64_32S 0x8c3 496 .rela.text .text (section)
+ R_X86_64_PC32 0x921 -4 .rela.text calloc
+ R_X86_64_PC32 0x954 -4 .rela.text .bss (section)
+ R_X86_64_PC32 0x9e5 -4 .rela.text .bss (section)
+ R_X86_64_PC32 0xa03 -4 .rela.text .bss (section)
+ R_X86_64_PC32 0xa22 -4 .rela.text .bss (section)
+ R_X86_64_PC32 0xb3c -4 .rela.text .bss (section)
+ R_X86_64_PC32 0xb58 -4 .rela.text dwarf_abbrev_add
+ R_X86_64_PC32 0xbb1 -4 .rela.text dwarf_attr_add
+ R_X86_64_PC32 0xbc8 -4 .rela.text elf_nextscn
+ R_X86_64_PC32 0xbe1 -4 .rela.text gelf_getshdr
+ R_X86_64_PC32 0xc33 -4 .rela.text elf_getdata
+ R_X86_64_PC32 0xc92 4 .rela.text .bss (section)
+ R_X86_64_PC32 0xcab -4 .rela.text gelf_getrela
+ R_X86_64_PC32 0xcd1 -4 .rela.text gelf_getsym
+ R_X86_64_32 0xcde 0 .rela.text .rodata.str1.8 (section)
+ R_X86_64_PC32 0xce3 -4 .rela.text printf
+ R_X86_64_PC32 0xcf7 -4 .rela.text elf_errno
+ R_X86_64_32S 0xcff 368 .rela.text .rodata (section)
+ R_X86_64_PC32 0xd27 -4 .rela.text elf_errno
+ R_X86_64_32S 0xd2f 368 .rela.text .rodata (section)
+ R_X86_64_PC32 0xd57 -4 .rela.text elf_errno
+ R_X86_64_32S 0xd5f 368 .rela.text .rodata (section)
+ R_X86_64_32S 0xd92 368 .rela.text .rodata (section)
+ R_X86_64_PC32 0xe09 -4 .rela.text dwarf_abbrev_find
+ R_X86_64_PC32 0xe3a -4 .rela.text dwarf_die_add
+ R_X86_64_PC32 0xef1 -4 .rela.text elf_errno
+ R_X86_64_32S 0xef9 400 .rela.text .rodata (section)
+ R_X86_64_PC32 0xf37 -4 .rela.text .bss (section)
+ R_X86_64_PC32 0xf5b -4 .rela.text elf_errno
+ R_X86_64_32S 0xf63 400 .rela.text .rodata (section)
+ R_X86_64_32S 0xf96 384 .rela.text .rodata (section)
+ R_X86_64_PC32 0xfb6 -4 .rela.text free
+ R_X86_64_32S 0xfcd 384 .rela.text .rodata (section)
+ R_X86_64_32S 0xffc 384 .rela.text .rodata (section)
+ R_X86_64_32S 0x102b 384 .rela.text .rodata (section)
+ R_X86_64_PC32 0x107c -4 .rela.text __stack_chk_guard
+ R_X86_64_PC32 0x10b1 -4 .rela.text elf_version
+ R_X86_64_PC32 0x10c8 -4 .rela.text elf_begin
+ R_X86_64_PC32 0x10e5 -4 .rela.text dwarf_elf_init
+ R_X86_64_PC32 0x1113 -4 .rela.text dwarf_finish
+ R_X86_64_PC32 0x1122 -4 .rela.text __stack_chk_guard
+ R_X86_64_32S 0x1177 184 .rela.text .rodata (section)
+ R_X86_64_PC32 0x1195 -4 .rela.text elf_errno
+ R_X86_64_32S 0x119d 184 .rela.text .rodata (section)
+ R_X86_64_PC32 0x11c1 -4 .rela.text elf_errno
+ R_X86_64_32S 0x11c9 184 .rela.text .rodata (section)
+ R_X86_64_PC32 0x11e1 -4 .rela.text __stack_chk_fail
+ R_X86_64_PC32 0x11e9 -4 .rela.text elf_end
+
+Relocation Section: .rela.rodata
+ type offset addend section with respect to
+ R_X86_64_64 0 827 .rela.rodata .text (section)
+ R_X86_64_64 0x8 919 .rela.rodata .text (section)
+ R_X86_64_64 0x10 827 .rela.rodata .text (section)
+ R_X86_64_64 0x18 966 .rela.rodata .text (section)
+ R_X86_64_64 0x20 1009 .rela.rodata .text (section)
+ R_X86_64_64 0x28 1028 .rela.rodata .text (section)
+ R_X86_64_64 0x30 1052 .rela.rodata .text (section)
+ R_X86_64_64 0x38 1079 .rela.rodata .text (section)
+ R_X86_64_64 0x40 1106 .rela.rodata .text (section)
+ R_X86_64_64 0x48 1184 .rela.rodata .text (section)
+ R_X86_64_64 0x50 1488 .rela.rodata .text (section)
+ R_X86_64_64 0x58 1368 .rela.rodata .text (section)
+ R_X86_64_64 0x60 1368 .rela.rodata .text (section)
+ R_X86_64_64 0x68 1395 .rela.rodata .text (section)
+ R_X86_64_64 0x70 1200 .rela.rodata .text (section)
+ R_X86_64_64 0x78 1248 .rela.rodata .text (section)
+ R_X86_64_64 0x80 1269 .rela.rodata .text (section)
+ R_X86_64_64 0x88 1368 .rela.rodata .text (section)
+ R_X86_64_64 0x90 1028 .rela.rodata .text (section)
+ R_X86_64_64 0x98 1052 .rela.rodata .text (section)
+ R_X86_64_64 0xa0 1079 .rela.rodata .text (section)
+ R_X86_64_64 0xa8 1248 .rela.rodata .text (section)
+ R_X86_64_64 0xb0 1318 .rela.rodata .text (section)
+ R_X86_64_64 0xe0 0 .rela.rodata .rodata.str1.1 (section)
+ R_X86_64_64 0xe8 14 .rela.rodata .rodata.str1.1 (section)
+ R_X86_64_64 0xf0 29 .rela.rodata .rodata.str1.1 (section)
+ R_X86_64_64 0xf8 42 .rela.rodata .rodata.str1.1 (section)
+ R_X86_64_64 0x100 54 .rela.rodata .rodata.str1.1 (section)
+ R_X86_64_64 0x108 66 .rela.rodata .rodata.str1.1 (section)
+ R_X86_64_64 0x110 82 .rela.rodata .rodata.str1.1 (section)
+ R_X86_64_64 0x118 92 .rela.rodata .rodata.str1.1 (section)
+ R_X86_64_64 0x120 107 .rela.rodata .rodata.str1.1 (section)
+ R_X86_64_64 0x128 118 .rela.rodata .rodata.str1.1 (section)
+ R_X86_64_64 0x130 129 .rela.rodata .rodata.str1.1 (section)
+ R_X86_64_64 0x138 145 .rela.rodata .rodata.str1.1 (section)
+ R_X86_64_64 0x140 159 .rela.rodata .rodata.str1.1 (section)
+ R_X86_64_64 0x148 178 .rela.rodata .rodata.str1.1 (section)
+ R_X86_64_64 0x150 197 .rela.rodata .rodata.str1.1 (section)
+ R_X86_64_64 0x158 210 .rela.rodata .rodata.str1.1 (section)
+ R_X86_64_64 0x160 227 .rela.rodata .rodata.str1.1 (section)
+ R_X86_64_64 0x168 235 .rela.rodata .rodata.str1.1 (section)
+
+Relocation Section: .rela.eh_frame
+ type offset addend section with respect to
+ R_X86_64_32 0x20 0 .rela.eh_frame .text (section)
+ R_X86_64_32 0x38 160 .rela.eh_frame .text (section)
+ R_X86_64_32 0x50 368 .rela.eh_frame .text (section)
+ R_X86_64_32 0x68 496 .rela.eh_frame .text (section)
+ R_X86_64_32 0x80 608 .rela.eh_frame .text (section)
+ R_X86_64_32 0x98 672 .rela.eh_frame .text (section)
+ R_X86_64_32 0xb0 704 .rela.eh_frame .text (section)
+ R_X86_64_32 0xd8 1520 .rela.eh_frame .text (section)
+ R_X86_64_32 0x110 4176 .rela.eh_frame .text (section)
+
+libdwarf.a(dwarf_form.o):
+
+Relocation Section: .rela.text
+ type offset addend section with respect to
+ R_X86_64_32S 0x38 0 .rela.text .rodata (section)
+
+Relocation Section: .rela.eh_frame
+ type offset addend section with respect to
+ R_X86_64_32 0x20 0 .rela.eh_frame .text (section)
+
+libdwarf.a(dwarf_finish.o):
+
+Relocation Section: .rela.text
+ type offset addend section with respect to
+ R_X86_64_PC32 0xb1 -4 .rela.text free
+ R_X86_64_PC32 0xd7 -4 .rela.text free
+ R_X86_64_PC32 0x110 -4 .rela.text free
+ R_X86_64_PC32 0x16d -4 .rela.text free
+ R_X86_64_PC32 0x193 -4 .rela.text free
+ R_X86_64_PC32 0x1d0 -4 .rela.text free
+ R_X86_64_PC32 0x21c -4 .rela.text free
+ R_X86_64_PC32 0x235 -4 .rela.text elf_end
+ R_X86_64_PC32 0x23d -4 .rela.text free
+ R_X86_64_PC32 0x267 -4 .rela.text free
+ R_X86_64_PC32 0x2a3 -4 .rela.text free
+ R_X86_64_32S 0x33f 0 .rela.text .rodata (section)
+
+Relocation Section: .rela.eh_frame
+ type offset addend section with respect to
+ R_X86_64_32 0x20 0 .rela.eh_frame .text (section)
+
+libdwarf.a(dwarf_errno.o):
+
+Relocation Section: .rela.eh_frame
+ type offset addend section with respect to
+ R_X86_64_32 0x20 0 .rela.eh_frame .text (section)
+
+libdwarf.a(dwarf_dealloc.o):
+
+Relocation Section: .rela.eh_frame
+ type offset addend section with respect to
+ R_X86_64_32 0x20 0 .rela.eh_frame .text (section)
+
+libdwarf.a(dwarf_attrval.o):
+
+Relocation Section: .rela.text
+ type offset addend section with respect to
+ R_X86_64_PC32 0x88 -4 .rela.text dwarf_attrval_find
+ R_X86_64_PC32 0xa9 -4 .rela.text get_form_desc
+ R_X86_64_32 0xb9 0 .rela.text .rodata (section)
+ R_X86_64_32 0xbe 0 .rela.text .rodata.str1.8 (section)
+ R_X86_64_PC32 0xc5 -4 .rela.text printf
+ R_X86_64_32S 0xdf 0 .rela.text .rodata (section)
+ R_X86_64_32S 0x126 0 .rela.text .rodata (section)
+ R_X86_64_32S 0x153 0 .rela.text .rodata (section)
+ R_X86_64_PC32 0x191 -4 .rela.text dwarf_attrval_find
+ R_X86_64_PC32 0x1c5 -4 .rela.text dwarf_die_find
+ R_X86_64_PC32 0x1d5 -4 .rela.text dwarf_attrval_find
+ R_X86_64_32S 0x1fb 0 .rela.text .rodata (section)
+ R_X86_64_PC32 0x213 -4 .rela.text get_form_desc
+ R_X86_64_32 0x223 0 .rela.text .rodata (section)
+ R_X86_64_32 0x228 0 .rela.text .rodata.str1.8 (section)
+ R_X86_64_PC32 0x22f -4 .rela.text printf
+ R_X86_64_32S 0x249 0 .rela.text .rodata (section)
+ R_X86_64_PC32 0x2a4 -4 .rela.text dwarf_attrval_find
+ R_X86_64_PC32 0x2cd -4 .rela.text get_form_desc
+ R_X86_64_32 0x2dd 32 .rela.text .rodata (section)
+ R_X86_64_32 0x2e2 0 .rela.text .rodata.str1.8 (section)
+ R_X86_64_PC32 0x2e9 -4 .rela.text printf
+ R_X86_64_32S 0x303 32 .rela.text .rodata (section)
+ R_X86_64_32S 0x33b 32 .rela.text .rodata (section)
+ R_X86_64_32S 0x35f 32 .rela.text .rodata (section)
+ R_X86_64_PC32 0x3ce -4 .rela.text dwarf_attrval_find
+ R_X86_64_PC32 0x3fa -4 .rela.text get_form_desc
+ R_X86_64_32 0x40a 64 .rela.text .rodata (section)
+ R_X86_64_32 0x40f 0 .rela.text .rodata.str1.8 (section)
+ R_X86_64_PC32 0x416 -4 .rela.text printf
+ R_X86_64_32S 0x430 64 .rela.text .rodata (section)
+ R_X86_64_32S 0x469 64 .rela.text .rodata (section)
+ R_X86_64_32S 0x4b0 64 .rela.text .rodata (section)
+ R_X86_64_PC32 0x513 -4 .rela.text dwarf_attrval_find
+ R_X86_64_PC32 0x532 -4 .rela.text get_form_desc
+ R_X86_64_32 0x542 96 .rela.text .rodata (section)
+ R_X86_64_32 0x547 0 .rela.text .rodata.str1.8 (section)
+ R_X86_64_PC32 0x54e -4 .rela.text printf
+ R_X86_64_32S 0x568 96 .rela.text .rodata (section)
+ R_X86_64_32S 0x5a6 96 .rela.text .rodata (section)
+ R_X86_64_32S 0x5ca 96 .rela.text .rodata (section)
+ R_X86_64_PC32 0x61a -4 .rela.text malloc
+ R_X86_64_32S 0x63c 128 .rela.text .rodata (section)
+
+Relocation Section: .rela.eh_frame
+ type offset addend section with respect to
+ R_X86_64_32 0x20 0 .rela.eh_frame .text (section)
+ R_X86_64_32 0x38 48 .rela.eh_frame .text (section)
+ R_X86_64_32 0x58 608 .rela.eh_frame .text (section)
+ R_X86_64_32 0x78 896 .rela.eh_frame .text (section)
+ R_X86_64_32 0x98 1232 .rela.eh_frame .text (section)
+ R_X86_64_32 0xb8 1520 .rela.eh_frame .text (section)
+
+libdwarf.a(dwarf_attr.o):
+
+Relocation Section: .rela.text
+ type offset addend section with respect to
+ R_X86_64_32S 0x5b 15 .rela.text .rodata (section)
+ R_X86_64_32S 0x88 15 .rela.text .rodata (section)
+ R_X86_64_32S 0xf0 0 .rela.text .rodata (section)
+ R_X86_64_PC32 0x124 -4 .rela.text malloc
+ R_X86_64_32S 0x146 0 .rela.text .rodata (section)
+
+Relocation Section: .rela.eh_frame
+ type offset addend section with respect to
+ R_X86_64_32 0x20 0 .rela.eh_frame .text (section)
+ R_X86_64_32 0x38 160 .rela.eh_frame .text (section)
+
+libdwarf.a(dwarf_abbrev.o):
+
+Relocation Section: .rela.text
+ type offset addend section with respect to
+ R_X86_64_PC32 0x6a -4 .rela.text malloc
+ R_X86_64_32S 0x8c 0 .rela.text .rodata (section)
+
+Relocation Section: .rela.eh_frame
+ type offset addend section with respect to
+ R_X86_64_32 0x20 0 .rela.eh_frame .text (section)
+ R_X86_64_32 0x38 48 .rela.eh_frame .text (section)
+
+libdwarf.a(dwarf_dump.o):
+
+Relocation Section: .rela.text
+ type offset addend section with respect to
+ R_X86_64_32 0x4 172 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x10 228 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x1f 268 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x2f 176 .rela.text .rodata.str1.8 (section)
+ R_X86_64_32 0x41 13 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x47 243 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x56 0 .rela.text .rodata.str1.8 (section)
+ R_X86_64_32 0x62 142 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x72 155 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x7e 32 .rela.text .rodata.str1.8 (section)
+ R_X86_64_32 0x87 64 .rela.text .rodata.str1.8 (section)
+ R_X86_64_32 0x93 104 .rela.text .rodata.str1.8 (section)
+ R_X86_64_32 0x9f 136 .rela.text .rodata.str1.8 (section)
+ R_X86_64_32 0xa8 30 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0xb4 58 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0xc0 79 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0xc6 21 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0xd2 293 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0xe3 0 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0xfc 199 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x105 100 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x119 126 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x126 341 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32S 0x135 0 .rela.text .rodata (section)
+ R_X86_64_32 0x13a 314 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x140 1370 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x146 1345 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x14c 1326 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x152 1297 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x158 1207 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x15e 1169 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x164 1141 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x16a 1076 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x170 1041 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x176 1000 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x17c 873 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x182 846 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x188 829 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x18e 814 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x194 799 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x19a 745 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x1a0 695 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x1a6 679 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x1ac 663 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x1b2 645 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x1b8 618 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x1be 606 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x1c4 503 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x1ca 438 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x1d0 421 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x1d6 401 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x1dc 381 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x1e2 359 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x1e8 1308 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x1ee 1241 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x1f4 1189 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x1fa 1123 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x200 1106 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x206 1091 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x20c 982 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x212 921 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x218 908 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x21e 713 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x224 584 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x22a 566 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x230 551 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x236 528 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x23c 1259 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x242 895 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x248 1387 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x24e 762 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x254 733 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x25a 1017 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x260 939 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x266 859 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x26c 969 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x272 1225 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x278 780 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x27e 472 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x284 455 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x28a 487 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x290 1279 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x296 1061 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x29c 1030 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x2a2 954 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x2a8 1155 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x2b6 341 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32S 0x2c5 624 .rela.text .rodata (section)
+ R_X86_64_32 0x2ca 1559 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x2d0 1645 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x2d6 1615 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x2dc 1602 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x2e2 1589 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x2e8 1576 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x2ee 1628 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x2f4 1404 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x2fa 1692 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x300 1663 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x306 1546 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x30c 1490 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x312 1445 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x318 1431 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x31e 1677 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x324 1532 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x32a 1518 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x330 1504 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x336 1475 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x33c 1460 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x342 1418 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x356 1722 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32S 0x365 808 .rela.text .rodata (section)
+ R_X86_64_32 0x36a 2468 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x370 1896 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x376 2120 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x37c 2343 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x382 2689 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x388 2097 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x38e 2307 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x394 2186 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x39a 2431 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x3a0 1947 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x3a6 2764 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x3ac 2713 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x3b2 2744 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x3b8 2609 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x3be 2590 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x3c4 248 .rela.text .rodata.str1.8 (section)
+ R_X86_64_32 0x3ca 216 .rela.text .rodata.str1.8 (section)
+ R_X86_64_32 0x3d0 2528 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x3d6 2324 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x3dc 2286 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x3e2 2270 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x3e8 2055 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x3ee 2013 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x3f4 1931 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x3fa 1913 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x400 1795 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x406 1778 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x40c 1734 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x412 1705 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x418 2546 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x41e 2452 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x424 2383 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x42a 2256 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x430 2160 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x436 2141 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x43c 1852 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x442 1832 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x448 2729 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x44e 2659 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x454 2641 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x45a 2626 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x460 2567 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x466 2506 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x46c 2487 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x472 1876 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x478 2409 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x47e 2363 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x484 2242 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x48a 2221 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x490 2208 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x496 2069 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x49c 2031 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x4a2 1989 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x4a8 1970 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x4ae 1814 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x4b4 1760 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x4ca 280 .rela.text .rodata.str1.8 (section)
+ R_X86_64_PC32 0x4d3 -4 .rela.text puts
+ R_X86_64_32 0x4fc 2789 .rela.text .rodata.str1.1 (section)
+ R_X86_64_32 0x501 2785 .rela.text .rodata.str1.1 (section)
+ R_X86_64_PC32 0x50a -4 .rela.text get_tag_desc
+ R_X86_64_32 0x51b 2792 .rela.text .rodata.str1.1 (section)
+ R_X86_64_PC32 0x520 -4 .rela.text printf
+ R_X86_64_PC32 0x535 -4 .rela.text get_form_desc
+ R_X86_64_PC32 0x541 -4 .rela.text get_attr_desc
+ R_X86_64_32 0x54c 2818 .rela.text .rodata.str1.1 (section)
+ R_X86_64_PC32 0x553 -4 .rela.text printf
+ R_X86_64_32 0x59a 336 .rela.text .rodata.str1.8 (section)
+ R_X86_64_PC32 0x5a3 -4 .rela.text puts
+ R_X86_64_PC32 0x5b4 -4 .rela.text gelf_getsym
+ R_X86_64_PC32 0x5cd -4 .rela.text elf_strptr
+ R_X86_64_32 0x5e4 424 .rela.text .rodata.str1.8 (section)
+ R_X86_64_PC32 0x5eb -4 .rela.text printf
+ R_X86_64_32 0x5fc 384 .rela.text .rodata.str1.8 (section)
+ R_X86_64_PC32 0x601 -4 .rela.text printf
+ R_X86_64_32 0x616 472 .rela.text .rodata.str1.8 (section)
+ R_X86_64_PC32 0x61f -4 .rela.text puts
+ R_X86_64_32 0x62b 2834 .rela.text .rodata.str1.1 (section)
+ R_X86_64_PC32 0x632 -4 .rela.text printf
+ R_X86_64_PC32 0x63a -4 .rela.text strlen
+ R_X86_64_PC32 0x652 -4 .rela.text elf_strptr
+ R_X86_64_32 0x676 528 .rela.text .rodata.str1.8 (section)
+ R_X86_64_PC32 0x67f -4 .rela.text puts
+ R_X86_64_32 0x68b 2834 .rela.text .rodata.str1.1 (section)
+ R_X86_64_PC32 0x692 -4 .rela.text printf
+ R_X86_64_PC32 0x69a -4 .rela.text strlen
+ R_X86_64_PC32 0x6b2 -4 .rela.text elf_strptr
+ R_X86_64_32 0x6d6 576 .rela.text .rodata.str1.8 (section)
+ R_X86_64_PC32 0x6df -4 .rela.text puts
+ R_X86_64_32 0x6eb 2834 .rela.text .rodata.str1.1 (section)
+ R_X86_64_PC32 0x6f2 -4 .rela.text printf
+ R_X86_64_PC32 0x6fa -4 .rela.text strlen
+ R_X86_64_PC32 0x70f -4 .rela.text elf_strptr
+ R_X86_64_32 0x72b 2844 .rela.text .rodata.str1.1 (section)
+ R_X86_64_PC32 0x732 -4 .rela.text printf
+ R_X86_64_32 0x754 2852 .rela.text .rodata.str1.1 (section)
+ R_X86_64_PC32 0x75d -4 .rela.text printf
+ R_X86_64_32 0x777 2856 .rela.text .rodata.str1.1 (section)
+ R_X86_64_PC32 0x780 -4 .rela.text printf
+ R_X86_64_PC32 0x78f -4 .rela.text putchar
+ R_X86_64_32 0x7b1 2862 .rela.text .rodata.str1.1 (section)
+ R_X86_64_PC32 0x7b8 -4 .rela.text printf
+ R_X86_64_32 0x7c6 2852 .rela.text .rodata.str1.1 (section)
+ R_X86_64_PC32 0x7cf -4 .rela.text printf
+ R_X86_64_32 0x7e9 2856 .rela.text .rodata.str1.1 (section)
+ R_X86_64_PC32 0x7f2 -4 .rela.text printf
+ R_X86_64_PC32 0x801 -4 .rela.text putchar
+ R_X86_64_PC32 0x83e -4 .rela.text get_form_desc
+ R_X86_64_PC32 0x84a -4 .rela.text get_attr_desc
+ R_X86_64_32 0x855 2869 .rela.text .rodata.str1.1 (section)
+ R_X86_64_PC32 0x85c -4 .rela.text printf
+ R_X86_64_32 0x868 2928 .rela.text .rodata.str1.1 (section)
+ R_X86_64_PC32 0x86f -4 .rela.text printf
+ R_X86_64_32S 0x897 1328 .rela.text .rodata (section)
+ R_X86_64_32 0x8a5 2918 .rela.text .rodata.str1.1 (section)
+ R_X86_64_PC32 0x8af -4 .rela.text printf
+ R_X86_64_32 0x8ba 2890 .rela.text .rodata.str1.1 (section)
+ R_X86_64_PC32 0x8c1 -4 .rela.text printf
+ R_X86_64_32 0x8ce 2897 .rela.text .rodata.str1.1 (section)
+ R_X86_64_PC32 0x8d3 -4 .rela.text printf
+ R_X86_64_32 0x8e5 2856 .rela.text .rodata.str1.1 (section)
+ R_X86_64_PC32 0x8f4 -4 .rela.text printf
+ R_X86_64_32 0x908 2913 .rela.text .rodata.str1.1 (section)
+ R_X86_64_PC32 0x90f -4 .rela.text printf
+ R_X86_64_32 0x91d 2925 .rela.text .rodata.str1.1 (section)
+ R_X86_64_PC32 0x924 -4 .rela.text printf
+ R_X86_64_32 0x936 640 .rela.text .rodata.str1.8 (section)
+ R_X86_64_PC32 0x93d -4 .rela.text printf
+ R_X86_64_PC32 0x962 -4 .rela.text get_tag_desc
+ R_X86_64_32 0x977 680 .rela.text .rodata.str1.8 (section)
+ R_X86_64_PC32 0x97c -4 .rela.text printf
+ R_X86_64_PC32 0x997 -4 .rela.text dwarf_dump_av
+ R_X86_64_32 0x9b6 720 .rela.text .rodata.str1.8 (section)
+ R_X86_64_PC32 0x9bf -4 .rela.text puts
+ R_X86_64_32 0x9d4 760 .rela.text .rodata.str1.8 (section)
+ R_X86_64_PC32 0x9db -4 .rela.text printf
+ R_X86_64_32 0x9e3 2941 .rela.text .rodata.str1.1 (section)
+ R_X86_64_PC32 0x9ea -4 .rela.text printf
+ R_X86_64_32 0x9f3 2967 .rela.text .rodata.str1.1 (section)
+ R_X86_64_PC32 0x9fa -4 .rela.text printf
+ R_X86_64_32 0xa03 2993 .rela.text .rodata.str1.1 (section)
+ R_X86_64_PC32 0xa0a -4 .rela.text printf
+ R_X86_64_32 0xa15 3019 .rela.text .rodata.str1.1 (section)
+ R_X86_64_PC32 0xa1a -4 .rela.text printf
+ R_X86_64_PC32 0xa2b -4 .rela.text dwarf_dump_die
+ R_X86_64_PC32 0xa55 -4 .rela.text dwarf_dump_strtab
+ R_X86_64_PC32 0xa5d -4 .rela.text dwarf_dump_shstrtab
+ R_X86_64_PC32 0xa65 -4 .rela.text dwarf_dump_dbgstr
+ R_X86_64_PC32 0xa6d -4 .rela.text dwarf_dump_symtab
+ R_X86_64_PC32 0xaae -4 .rela.text dwarf_siblingof
+ R_X86_64_PC32 0xac2 -4 .rela.text dwarf_dump_die
+ R_X86_64_PC32 0xad1 -4 .rela.text dwarf_child
+ R_X86_64_PC32 0xb1e -4 .rela.text __stack_chk_guard
+ R_X86_64_PC32 0xb5c -4 .rela.text dwarf_siblingof
+ R_X86_64_32 0xb8c 760 .rela.text .rodata.str1.8 (section)
+ R_X86_64_PC32 0xb93 -4 .rela.text printf
+ R_X86_64_32 0xb9b 2941 .rela.text .rodata.str1.1 (section)
+ R_X86_64_PC32 0xba2 -4 .rela.text printf
+ R_X86_64_32 0xbab 2967 .rela.text .rodata.str1.1 (section)
+ R_X86_64_PC32 0xbb2 -4 .rela.text printf
+ R_X86_64_32 0xbbb 2993 .rela.text .rodata.str1.1 (section)
+ R_X86_64_PC32 0xbc2 -4 .rela.text printf
+ R_X86_64_32 0xbcb 3019 .rela.text .rodata.str1.1 (section)
+ R_X86_64_PC32 0xbd2 -4 .rela.text printf
+ R_X86_64_PC32 0xbf3 -4 .rela.text dwarf_next_cu_header
+ R_X86_64_PC32 0xc03 -4 .rela.text dwarf_errmsg
+ R_X86_64_32 0xc08 3044 .rela.text .rodata.str1.1 (section)
+ R_X86_64_PC32 0xc12 -4 .rela.text printf
+ R_X86_64_PC32 0xc21 -4 .rela.text __stack_chk_guard
+ R_X86_64_PC32 0xc3a -4 .rela.text __stack_chk_fail
+ R_X86_64_PC32 0x88b -4 .rela.text putchar
+ R_X86_64_PC32 0xa76 -4 .rela.text dwarf_dump_info
+ R_X86_64_PC32 0xc73 -4 .rela.text dwarf_dump_die
+
+Relocation Section: .rela.rodata
+ type offset addend section with respect to
+ R_X86_64_64 0 293 .rela.rodata .text (section)
+ R_X86_64_64 0x8 679 .rela.rodata .text (section)
+ R_X86_64_64 0x10 673 .rela.rodata .text (section)
+ R_X86_64_64 0x18 667 .rela.rodata .text (section)
+ R_X86_64_64 0x20 293 .rela.rodata .text (section)
+ R_X86_64_64 0x28 293 .rela.rodata .text (section)
+ R_X86_64_64 0x30 293 .rela.rodata .text (section)
+ R_X86_64_64 0x38 293 .rela.rodata .text (section)
+ R_X86_64_64 0x40 293 .rela.rodata .text (section)
+ R_X86_64_64 0x48 661 .rela.rodata .text (section)
+ R_X86_64_64 0x50 655 .rela.rodata .text (section)
+ R_X86_64_64 0x58 649 .rela.rodata .text (section)
+ R_X86_64_64 0x60 643 .rela.rodata .text (section)
+ R_X86_64_64 0x68 637 .rela.rodata .text (section)
+ R_X86_64_64 0x70 293 .rela.rodata .text (section)
+ R_X86_64_64 0x78 631 .rela.rodata .text (section)
+ R_X86_64_64 0x80 625 .rela.rodata .text (section)
+ R_X86_64_64 0x88 619 .rela.rodata .text (section)
+ R_X86_64_64 0x90 613 .rela.rodata .text (section)
+ R_X86_64_64 0x98 607 .rela.rodata .text (section)
+ R_X86_64_64 0xa0 601 .rela.rodata .text (section)
+ R_X86_64_64 0xa8 595 .rela.rodata .text (section)
+ R_X86_64_64 0xb0 589 .rela.rodata .text (section)
+ R_X86_64_64 0xb8 583 .rela.rodata .text (section)
+ R_X86_64_64 0xc0 577 .rela.rodata .text (section)
+ R_X86_64_64 0xc8 571 .rela.rodata .text (section)
+ R_X86_64_64 0xd0 565 .rela.rodata .text (section)
+ R_X86_64_64 0xd8 559 .rela.rodata .text (section)
+ R_X86_64_64 0xe0 553 .rela.rodata .text (section)
+ R_X86_64_64 0xe8 547 .rela.rodata .text (section)
+ R_X86_64_64 0xf0 541 .rela.rodata .text (section)
+ R_X86_64_64 0xf8 293 .rela.rodata .text (section)
+ R_X86_64_64 0x100 535 .rela.rodata .text (section)
+ R_X86_64_64 0x108 529 .rela.rodata .text (section)
+ R_X86_64_64 0x110 523 .rela.rodata .text (section)
+ R_X86_64_64 0x118 293 .rela.rodata .text (section)
+ R_X86_64_64 0x120 293 .rela.rodata .text (section)
+ R_X86_64_64 0x128 517 .rela.rodata .text (section)
+ R_X86_64_64 0x130 293 .rela.rodata .text (section)
+ R_X86_64_64 0x138 511 .rela.rodata .text (section)
+ R_X86_64_64 0x140 293 .rela.rodata .text (section)
+ R_X86_64_64 0x148 293 .rela.rodata .text (section)
+ R_X86_64_64 0x150 505 .rela.rodata .text (section)
+ R_X86_64_64 0x158 293 .rela.rodata .text (section)
+ R_X86_64_64 0x160 499 .rela.rodata .text (section)
+ R_X86_64_64 0x168 293 .rela.rodata .text (section)
+ R_X86_64_64 0x170 493 .rela.rodata .text (section)
+ R_X86_64_64 0x178 487 .rela.rodata .text (section)
+ R_X86_64_64 0x180 293 .rela.rodata .text (section)
+ R_X86_64_64 0x188 481 .rela.rodata .text (section)
+ R_X86_64_64 0x190 475 .rela.rodata .text (section)
+ R_X86_64_64 0x198 469 .rela.rodata .text (section)
+ R_X86_64_64 0x1a0 463 .rela.rodata .text (section)
+ R_X86_64_64 0x1a8 457 .rela.rodata .text (section)
+ R_X86_64_64 0x1b0 451 .rela.rodata .text (section)
+ R_X86_64_64 0x1b8 445 .rela.rodata .text (section)
+ R_X86_64_64 0x1c0 439 .rela.rodata .text (section)
+ R_X86_64_64 0x1c8 433 .rela.rodata .text (section)
+ R_X86_64_64 0x1d0 427 .rela.rodata .text (section)
+ R_X86_64_64 0x1d8 421 .rela.rodata .text (section)
+ R_X86_64_64 0x1e0 415 .rela.rodata .text (section)
+ R_X86_64_64 0x1e8 409 .rela.rodata .text (section)
+ R_X86_64_64 0x1f0 403 .rela.rodata .text (section)
+ R_X86_64_64 0x1f8 397 .rela.rodata .text (section)
+ R_X86_64_64 0x200 391 .rela.rodata .text (section)
+ R_X86_64_64 0x208 385 .rela.rodata .text (section)
+ R_X86_64_64 0x210 379 .rela.rodata .text (section)
+ R_X86_64_64 0x218 373 .rela.rodata .text (section)
+ R_X86_64_64 0x220 367 .rela.rodata .text (section)
+ R_X86_64_64 0x228 361 .rela.rodata .text (section)
+ R_X86_64_64 0x230 355 .rela.rodata .text (section)
+ R_X86_64_64 0x238 349 .rela.rodata .text (section)
+ R_X86_64_64 0x240 343 .rela.rodata .text (section)
+ R_X86_64_64 0x248 337 .rela.rodata .text (section)
+ R_X86_64_64 0x250 331 .rela.rodata .text (section)
+ R_X86_64_64 0x258 325 .rela.rodata .text (section)
+ R_X86_64_64 0x260 319 .rela.rodata .text (section)
+ R_X86_64_64 0x268 313 .rela.rodata .text (section)
+ R_X86_64_64 0x270 693 .rela.rodata .text (section)
+ R_X86_64_64 0x278 833 .rela.rodata .text (section)
+ R_X86_64_64 0x280 693 .rela.rodata .text (section)
+ R_X86_64_64 0x288 827 .rela.rodata .text (section)
+ R_X86_64_64 0x290 821 .rela.rodata .text (section)
+ R_X86_64_64 0x298 815 .rela.rodata .text (section)
+ R_X86_64_64 0x2a0 809 .rela.rodata .text (section)
+ R_X86_64_64 0x2a8 803 .rela.rodata .text (section)
+ R_X86_64_64 0x2b0 797 .rela.rodata .text (section)
+ R_X86_64_64 0x2b8 791 .rela.rodata .text (section)
+ R_X86_64_64 0x2c0 785 .rela.rodata .text (section)
+ R_X86_64_64 0x2c8 779 .rela.rodata .text (section)
+ R_X86_64_64 0x2d0 773 .rela.rodata .text (section)
+ R_X86_64_64 0x2d8 767 .rela.rodata .text (section)
+ R_X86_64_64 0x2e0 761 .rela.rodata .text (section)
+ R_X86_64_64 0x2e8 755 .rela.rodata .text (section)
+ R_X86_64_64 0x2f0 749 .rela.rodata .text (section)
+ R_X86_64_64 0x2f8 743 .rela.rodata .text (section)
+ R_X86_64_64 0x300 737 .rela.rodata .text (section)
+ R_X86_64_64 0x308 731 .rela.rodata .text (section)
+ R_X86_64_64 0x310 725 .rela.rodata .text (section)
+ R_X86_64_64 0x318 719 .rela.rodata .text (section)
+ R_X86_64_64 0x320 713 .rela.rodata .text (section)
+ R_X86_64_64 0x328 853 .rela.rodata .text (section)
+ R_X86_64_64 0x330 1203 .rela.rodata .text (section)
+ R_X86_64_64 0x338 1197 .rela.rodata .text (section)
+ R_X86_64_64 0x340 1191 .rela.rodata .text (section)
+ R_X86_64_64 0x348 1185 .rela.rodata .text (section)
+ R_X86_64_64 0x350 1179 .rela.rodata .text (section)
+ R_X86_64_64 0x358 853 .rela.rodata .text (section)
+ R_X86_64_64 0x360 853 .rela.rodata .text (section)
+ R_X86_64_64 0x368 1173 .rela.rodata .text (section)
+ R_X86_64_64 0x370 853 .rela.rodata .text (section)
+ R_X86_64_64 0x378 1167 .rela.rodata .text (section)
+ R_X86_64_64 0x380 1161 .rela.rodata .text (section)
+ R_X86_64_64 0x388 853 .rela.rodata .text (section)
+ R_X86_64_64 0x390 1155 .rela.rodata .text (section)
+ R_X86_64_64 0x398 853 .rela.rodata .text (section)
+ R_X86_64_64 0x3a0 1149 .rela.rodata .text (section)
+ R_X86_64_64 0x3a8 1143 .rela.rodata .text (section)
+ R_X86_64_64 0x3b0 1137 .rela.rodata .text (section)
+ R_X86_64_64 0x3b8 1131 .rela.rodata .text (section)
+ R_X86_64_64 0x3c0 1125 .rela.rodata .text (section)
+ R_X86_64_64 0x3c8 853 .rela.rodata .text (section)
+ R_X86_64_64 0x3d0 1119 .rela.rodata .text (section)
+ R_X86_64_64 0x3d8 1113 .rela.rodata .text (section)
+ R_X86_64_64 0x3e0 1107 .rela.rodata .text (section)
+ R_X86_64_64 0x3e8 1101 .rela.rodata .text (section)
+ R_X86_64_64 0x3f0 1095 .rela.rodata .text (section)
+ R_X86_64_64 0x3f8 1089 .rela.rodata .text (section)
+ R_X86_64_64 0x400 1083 .rela.rodata .text (section)
+ R_X86_64_64 0x408 1077 .rela.rodata .text (section)
+ R_X86_64_64 0x410 1071 .rela.rodata .text (section)
+ R_X86_64_64 0x418 1065 .rela.rodata .text (section)
+ R_X86_64_64 0x420 1059 .rela.rodata .text (section)
+ R_X86_64_64 0x428 1053 .rela.rodata .text (section)
+ R_X86_64_64 0x430 1047 .rela.rodata .text (section)
+ R_X86_64_64 0x438 1041 .rela.rodata .text (section)
+ R_X86_64_64 0x440 1035 .rela.rodata .text (section)
+ R_X86_64_64 0x448 1029 .rela.rodata .text (section)
+ R_X86_64_64 0x450 1023 .rela.rodata .text (section)
+ R_X86_64_64 0x458 1017 .rela.rodata .text (section)
+ R_X86_64_64 0x460 1011 .rela.rodata .text (section)
+ R_X86_64_64 0x468 1005 .rela.rodata .text (section)
+ R_X86_64_64 0x470 853 .rela.rodata .text (section)
+ R_X86_64_64 0x478 999 .rela.rodata .text (section)
+ R_X86_64_64 0x480 993 .rela.rodata .text (section)
+ R_X86_64_64 0x488 987 .rela.rodata .text (section)
+ R_X86_64_64 0x490 981 .rela.rodata .text (section)
+ R_X86_64_64 0x498 975 .rela.rodata .text (section)
+ R_X86_64_64 0x4a0 969 .rela.rodata .text (section)
+ R_X86_64_64 0x4a8 963 .rela.rodata .text (section)
+ R_X86_64_64 0x4b0 957 .rela.rodata .text (section)
+ R_X86_64_64 0x4b8 951 .rela.rodata .text (section)
+ R_X86_64_64 0x4c0 945 .rela.rodata .text (section)
+ R_X86_64_64 0x4c8 939 .rela.rodata .text (section)
+ R_X86_64_64 0x4d0 933 .rela.rodata .text (section)
+ R_X86_64_64 0x4d8 927 .rela.rodata .text (section)
+ R_X86_64_64 0x4e0 921 .rela.rodata .text (section)
+ R_X86_64_64 0x4e8 915 .rela.rodata .text (section)
+ R_X86_64_64 0x4f0 909 .rela.rodata .text (section)
+ R_X86_64_64 0x4f8 903 .rela.rodata .text (section)
+ R_X86_64_64 0x500 897 .rela.rodata .text (section)
+ R_X86_64_64 0x508 891 .rela.rodata .text (section)
+ R_X86_64_64 0x510 885 .rela.rodata .text (section)
+ R_X86_64_64 0x518 853 .rela.rodata .text (section)
+ R_X86_64_64 0x520 879 .rela.rodata .text (section)
+ R_X86_64_64 0x528 873 .rela.rodata .text (section)
+ R_X86_64_64 0x530 2151 .rela.rodata .text (section)
+ R_X86_64_64 0x538 2229 .rela.rodata .text (section)
+ R_X86_64_64 0x540 2151 .rela.rodata .text (section)
+ R_X86_64_64 0x548 2247 .rela.rodata .text (section)
+ R_X86_64_64 0x550 2247 .rela.rodata .text (section)
+ R_X86_64_64 0x558 2307 .rela.rodata .text (section)
+ R_X86_64_64 0x560 2307 .rela.rodata .text (section)
+ R_X86_64_64 0x568 2307 .rela.rodata .text (section)
+ R_X86_64_64 0x570 2328 .rela.rodata .text (section)
+ R_X86_64_64 0x578 2247 .rela.rodata .text (section)
+ R_X86_64_64 0x580 2247 .rela.rodata .text (section)
+ R_X86_64_64 0x588 2307 .rela.rodata .text (section)
+ R_X86_64_64 0x590 2307 .rela.rodata .text (section)
+ R_X86_64_64 0x598 2151 .rela.rodata .text (section)
+ R_X86_64_64 0x5a0 2349 .rela.rodata .text (section)
+ R_X86_64_64 0x5a8 2151 .rela.rodata .text (section)
+ R_X86_64_64 0x5b0 2151 .rela.rodata .text (section)
+ R_X86_64_64 0x5b8 2203 .rela.rodata .text (section)
+ R_X86_64_64 0x5c0 2203 .rela.rodata .text (section)
+ R_X86_64_64 0x5c8 2203 .rela.rodata .text (section)
+ R_X86_64_64 0x5d0 2203 .rela.rodata .text (section)
+ R_X86_64_64 0x5d8 2203 .rela.rodata .text (section)
+
+Relocation Section: .rela.eh_frame
+ type offset addend section with respect to
+ R_X86_64_32 0x20 0 .rela.eh_frame .text (section)
+ R_X86_64_32 0x38 288 .rela.eh_frame .text (section)
+ R_X86_64_32 0x50 688 .rela.eh_frame .text (section)
+ R_X86_64_32 0x68 848 .rela.eh_frame .text (section)
+ R_X86_64_32 0x80 1216 .rela.eh_frame .text (section)
+ R_X86_64_32 0xa8 1424 .rela.eh_frame .text (section)
+ R_X86_64_32 0xd0 1552 .rela.eh_frame .text (section)
+ R_X86_64_32 0xf0 1648 .rela.eh_frame .text (section)
+ R_X86_64_32 0x110 1744 .rela.eh_frame .text (section)
+ R_X86_64_32 0x130 1824 .rela.eh_frame .text (section)
+ R_X86_64_32 0x150 2080 .rela.eh_frame .text (section)
+ R_X86_64_32 0x170 2384 .rela.eh_frame .text (section)
+ R_X86_64_32 0x190 2480 .rela.eh_frame .text (section)
+ R_X86_64_32 0x1b0 2640 .rela.eh_frame .text (section)
+ R_X86_64_32 0x1c8 2688 .rela.eh_frame .text (section)
+ R_X86_64_32 0x1f0 2816 .rela.eh_frame .text (section)
+ R_X86_64_32 0x228 3136 .rela.eh_frame .text (section)
+
+libdwarf.a(dwarf_die.o):
+
+Relocation Section: .rela.text
+ type offset addend section with respect to
+ R_X86_64_32S 0x53 26 .rela.text .rodata (section)
+ R_X86_64_32S 0x86 26 .rela.text .rodata (section)
+ R_X86_64_32S 0xde 16 .rela.text .rodata (section)
+ R_X86_64_32S 0x128 0 .rela.text .rodata (section)
+ R_X86_64_32S 0x15a 0 .rela.text .rodata (section)
+ R_X86_64_32S 0x1aa 0 .rela.text .rodata (section)
+ R_X86_64_32S 0x1e5 0 .rela.text .rodata (section)
+ R_X86_64_PC32 0x284 -4 .rela.text malloc
+ R_X86_64_32S 0x2a6 48 .rela.text .rodata (section)
+ R_X86_64_32S 0x2ee 48 .rela.text .rodata (section)
+ R_X86_64_PC32 0x31f 36 .rela.text .rodata (section)
+
+Relocation Section: .rela.rodata
+ type offset addend section with respect to
+ R_X86_64_64 0x28 0 .rela.rodata .rodata.str1.1 (section)
+
+Relocation Section: .rela.eh_frame
+ type offset addend section with respect to
+ R_X86_64_32 0x20 0 .rela.eh_frame .text (section)
+ R_X86_64_32 0x38 16 .rela.eh_frame .text (section)
+ R_X86_64_32 0x50 160 .rela.eh_frame .text (section)
+ R_X86_64_32 0x68 240 .rela.eh_frame .text (section)
+ R_X86_64_32 0x80 512 .rela.eh_frame .text (section)
+ R_X86_64_32 0x98 560 .rela.eh_frame .text (section)
+
+libdwarf.a(dwarf_cu.o):
+
+Relocation Section: .rela.text
+ type offset addend section with respect to
+ R_X86_64_32S 0x66 0 .rela.text .rodata (section)
+ R_X86_64_32S 0x8c 0 .rela.text .rodata (section)
+ R_X86_64_32S 0xfb 0 .rela.text .rodata (section)
+
+Relocation Section: .rela.eh_frame
+ type offset addend section with respect to
+ R_X86_64_32 0x20 0 .rela.eh_frame .text (section)
+
+libdwarf.a(dwarf_errmsg.o):
+
+Relocation Section: .rela.text
+ type offset addend section with respect to
+ R_X86_64_PC32 0x30 -4 .rela.text _libdwarf_errors
+ R_X86_64_PC32 0x53 108 .rela.text _libdwarf_errors
+ R_X86_64_32S 0x6a 0 .rela.text _libdwarf_errors
+ R_X86_64_32 0x7d 24 .rela.text .rodata.str1.1 (section)
+ R_X86_64_PC32 0x8c -4 .rela.text snprintf
+ R_X86_64_PC32 0xa4 -4 .rela.text elf_errmsg
+ R_X86_64_32 0xb2 0 .rela.text .rodata.str1.1 (section)
+ R_X86_64_PC32 0xc1 -4 .rela.text snprintf
+
+Relocation Section: .rela.data
+ type offset addend section with respect to
+ R_X86_64_64 0 36 .rela.data .rodata.str1.1 (section)
+ R_X86_64_64 0x8 45 .rela.data .rodata.str1.1 (section)
+ R_X86_64_64 0x10 54 .rela.data .rodata.str1.1 (section)
+ R_X86_64_64 0x18 69 .rela.data .rodata.str1.1 (section)
+ R_X86_64_64 0x20 86 .rela.data .rodata.str1.1 (section)
+ R_X86_64_64 0x28 102 .rela.data .rodata.str1.1 (section)
+ R_X86_64_64 0x30 122 .rela.data .rodata.str1.1 (section)
+ R_X86_64_64 0x38 132 .rela.data .rodata.str1.1 (section)
+ R_X86_64_64 0x40 0 .rela.data .rodata.str1.8 (section)
+ R_X86_64_64 0x48 162 .rela.data .rodata.str1.1 (section)
+ R_X86_64_64 0x50 179 .rela.data .rodata.str1.1 (section)
+ R_X86_64_64 0x58 201 .rela.data .rodata.str1.1 (section)
+ R_X86_64_64 0x60 48 .rela.data .rodata.str1.8 (section)
+ R_X86_64_64 0x68 229 .rela.data .rodata.str1.1 (section)
+ R_X86_64_64 0x70 254 .rela.data .rodata.str1.1 (section)
+
+Relocation Section: .rela.eh_frame
+ type offset addend section with respect to
+ R_X86_64_32 0x20 0 .rela.eh_frame .text (section)
diff --git a/test/elfdump/ts/archive2/@S@s%libdwarf.a.err b/test/elfdump/ts/archive2/@S@s%libdwarf.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive2/@S@s%libdwarf.a.err
diff --git a/test/elfdump/ts/archive2/@S@s%libdwarf.a.out b/test/elfdump/ts/archive2/@S@s%libdwarf.a.out
new file mode 100644
index 0000000000000..6f2d95e129ec4
--- /dev/null
+++ b/test/elfdump/ts/archive2/@S@s%libdwarf.a.out
@@ -0,0 +1,356 @@
+
+Symbol Table: (archive)
+ index offset member name and symbol
+ [0] 0x000003b4 (dwarf_loc.o):dwarf_op_num
+ [1] 0x000003b4 (dwarf_loc.o):dwarf_locdesc_free
+ [2] 0x000003b4 (dwarf_loc.o):dwarf_locdesc
+ [3] 0x00003828 (dwarf_init.o):dwarf_elf_init
+ [4] 0x00003828 (dwarf_init.o):dwarf_init
+ [5] 0x0000670c (dwarf_form.o):dwarf_whatform
+ [6] 0x00006cd8 (dwarf_finish.o):dwarf_finish
+ [7] 0x00007714 (dwarf_errno.o):dwarf_errno
+ [8] 0x00007bb8 (dwarf_dealloc.o):dwarf_dealloc
+ [9] 0x00008054 (dwarf_attrval.o):dwarf_attrval_find
+ [10] 0x00008054 (dwarf_attrval.o):dwarf_attrval_unsigned
+ [11] 0x00008054 (dwarf_attrval.o):dwarf_attrval_signed
+ [12] 0x00008054 (dwarf_attrval.o):dwarf_attrval_string
+ [13] 0x00008054 (dwarf_attrval.o):dwarf_attrval_flag
+ [14] 0x00008054 (dwarf_attrval.o):dwarf_attrval_add
+ [15] 0x000094e8 (dwarf_attr.o):dwarf_attr
+ [16] 0x000094e8 (dwarf_attr.o):dwarf_attr_add
+ [17] 0x00009cfc (dwarf_abbrev.o):dwarf_abbrev_find
+ [18] 0x00009cfc (dwarf_abbrev.o):dwarf_abbrev_add
+ [19] 0x0000a428 (dwarf_dump.o):get_sht_desc
+ [20] 0x0000a428 (dwarf_dump.o):get_attr_desc
+ [21] 0x0000a428 (dwarf_dump.o):get_form_desc
+ [22] 0x0000a428 (dwarf_dump.o):get_tag_desc
+ [23] 0x0000a428 (dwarf_dump.o):dwarf_dump_abbrev
+ [24] 0x0000a428 (dwarf_dump.o):dwarf_dump_symtab
+ [25] 0x0000a428 (dwarf_dump.o):dwarf_dump_dbgstr
+ [26] 0x0000a428 (dwarf_dump.o):dwarf_dump_strtab
+ [27] 0x0000a428 (dwarf_dump.o):dwarf_dump_shstrtab
+ [28] 0x0000a428 (dwarf_dump.o):dwarf_dump_raw
+ [29] 0x0000a428 (dwarf_dump.o):dwarf_dump_av
+ [30] 0x0000a428 (dwarf_dump.o):dwarf_dump_die
+ [31] 0x0000a428 (dwarf_dump.o):dwarf_dump_info
+ [32] 0x0000a428 (dwarf_dump.o):dwarf_dump
+ [33] 0x0000a428 (dwarf_dump.o):dwarf_dump_tree
+ [34] 0x0000a428 (dwarf_dump.o):dwarf_dump_die_at_offset
+ [35] 0x0000ffec (dwarf_die.o):dwarf_dieoffset
+ [36] 0x0000ffec (dwarf_die.o):dwarf_child
+ [37] 0x0000ffec (dwarf_die.o):dwarf_tag
+ [38] 0x0000ffec (dwarf_die.o):dwarf_siblingof
+ [39] 0x0000ffec (dwarf_die.o):dwarf_die_find
+ [40] 0x0000ffec (dwarf_die.o):dwarf_die_add
+ [41] 0x00010d80 (dwarf_cu.o):dwarf_next_cu_header
+ [42] 0x0001144c (dwarf_errmsg.o):dwarf_errmsg
+ [43] 0x0001144c (dwarf_errmsg.o):_libdwarf_errors
+
+libdwarf.a(dwarf_loc.o):
+
+Symbol Table Section: .symtab
+ index value size type bind oth ver shndx name
+ [0] 0x00000000 0x000000000000 NOTY LOCL D 0 UNDEF
+ [1] 0x00000000 0x000000000000 FILE LOCL D 0 ABS dwarf_loc.c
+ [2] 0x00000000 0x000000000000 SECT LOCL D 0 .text
+ [3] 0x00000000 0x000000000000 SECT LOCL D 0 .data
+ [4] 0x00000000 0x000000000000 SECT LOCL D 0 .bss
+ [5] 0x00000000 0x000000000053 FUNC LOCL D 0 .text dwarf_decode_sleb128
+ [6] 0x00000060 0x00000000002c FUNC LOCL D 0 .text dwarf_decode_uleb128
+ [7] 0x00000000 0x000000000000 SECT LOCL D 0 .rodata
+ [8] 0x00000940 0x000000000013 OBJT LOCL D 0 .rodata __func__.4319
+ [9] 0x00000000 0x000000000000 SECT LOCL D 0 .rodata.str
+ [10] 0x00000953 0x00000000000e OBJT LOCL D 0 .rodata __func__.4283
+ [11] 0x00000000 0x000000000000 SECT LOCL D 0 .eh_frame
+ [12] 0x00000000 0x000000000000 SECT LOCL D 0 .comment
+ [13] 0x00000090 0x0000000000b7 FUNC GLOB D 0 .text dwarf_op_num
+ [14] 0x00000150 0x000000000051 FUNC GLOB D 0 .text dwarf_locdesc_free
+ [15] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF free
+ [16] 0x000001b0 0x00000000034c FUNC GLOB D 0 .text dwarf_locdesc
+ [17] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF dwarf_attrval_find
+ [18] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF calloc
+ [19] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF get_form_desc
+ [20] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF printf
+
+libdwarf.a(dwarf_init.o):
+
+Symbol Table Section: .symtab
+ index value size type bind oth ver shndx name
+ [0] 0x00000000 0x000000000000 NOTY LOCL D 0 UNDEF
+ [1] 0x00000000 0x000000000000 FILE LOCL D 0 ABS dwarf_init.c
+ [2] 0x00000000 0x000000000000 SECT LOCL D 0 .text
+ [3] 0x00000000 0x000000000000 SECT LOCL D 0 .data
+ [4] 0x00000000 0x000000000000 SECT LOCL D 0 .bss
+ [5] 0x00000000 0x000000000099 FUNC LOCL D 0 .text dwarf_read_lsb
+ [6] 0x000000a0 0x0000000000c9 FUNC LOCL D 0 .text dwarf_read_msb
+ [7] 0x00000170 0x000000000079 FUNC LOCL D 0 .text dwarf_write_lsb
+ [8] 0x000001f0 0x000000000067 FUNC LOCL D 0 .text dwarf_write_msb
+ [9] 0x00000260 0x00000000003a FUNC LOCL D 0 .text dwarf_read_uleb128
+ [10] 0x000002a0 0x000000000017 FUNC LOCL D 0 .text dwarf_read_block
+ [11] 0x000002c0 0x000000000326 FUNC LOCL D 0 .text dwarf_init_attr
+ [12] 0x000001a0 0x000000000010 OBJT LOCL D 0 .rodata __func__.4419
+ [13] 0x00000000 0x000000000000 SECT LOCL D 0 .rodata
+ [14] 0x00000000 0x000000000008 OBJT LOCL D 0 .bss dwarf_read
+ [15] 0x00000000 0x000000000000 SECT LOCL D 0 .rodata.str
+ [16] 0x00000008 0x000000000008 OBJT LOCL D 0 .bss dwarf_write
+ [17] 0x000000e0 0x000000000090 OBJT LOCL D 0 .rodata debug_snames
+ [18] 0x00000170 0x00000000000f OBJT LOCL D 0 .rodata __func__.4570
+ [19] 0x000000c3 0x00000000000f OBJT LOCL D 0 .rodata __func__.4622
+ [20] 0x00000190 0x00000000000f OBJT LOCL D 0 .rodata __func__.4362
+ [21] 0x00000180 0x000000000010 OBJT LOCL D 0 .rodata __func__.4504
+ [22] 0x000000b8 0x00000000000b OBJT LOCL D 0 .rodata __func__.4640
+ [23] 0x00000000 0x000000000000 SECT LOCL D 0 .rodata.str
+ [24] 0x00000000 0x000000000000 SECT LOCL D 0 .eh_frame
+ [25] 0x00000000 0x000000000000 SECT LOCL D 0 .comment
+ [26] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF dwarf_attrval_add
+ [27] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF elf_strptr
+ [28] 0x000005f0 0x000000000a51 FUNC GLOB D 0 .text dwarf_elf_init
+ [29] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF calloc
+ [30] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF gelf_getehdr
+ [31] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF elf_getshstrndx
+ [32] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF elf_nextscn
+ [33] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF gelf_getshdr
+ [34] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF strcmp
+ [35] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF elf_ndxscn
+ [36] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF elf_getdata
+ [37] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF elf_errno
+ [38] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF dwarf_abbrev_add
+ [39] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF dwarf_attr_add
+ [40] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF gelf_getrela
+ [41] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF gelf_getsym
+ [42] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF printf
+ [43] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF dwarf_abbrev_find
+ [44] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF dwarf_die_add
+ [45] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF free
+ [46] 0x00001050 0x0000000001a5 FUNC GLOB D 0 .text dwarf_init
+ [47] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF __stack_chk_guard
+ [48] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF elf_version
+ [49] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF elf_begin
+ [50] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF dwarf_finish
+ [51] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF __stack_chk_fail
+ [52] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF elf_end
+
+libdwarf.a(dwarf_form.o):
+
+Symbol Table Section: .symtab
+ index value size type bind oth ver shndx name
+ [0] 0x00000000 0x000000000000 NOTY LOCL D 0 UNDEF
+ [1] 0x00000000 0x000000000000 FILE LOCL D 0 ABS dwarf_form.c
+ [2] 0x00000000 0x000000000000 SECT LOCL D 0 .text
+ [3] 0x00000000 0x000000000000 SECT LOCL D 0 .data
+ [4] 0x00000000 0x000000000000 SECT LOCL D 0 .bss
+ [5] 0x00000000 0x00000000000f OBJT LOCL D 0 .rodata __func__.3546
+ [6] 0x00000000 0x000000000000 SECT LOCL D 0 .rodata
+ [7] 0x00000000 0x000000000000 SECT LOCL D 0 .eh_frame
+ [8] 0x00000000 0x000000000000 SECT LOCL D 0 .comment
+ [9] 0x00000000 0x000000000048 FUNC GLOB D 0 .text dwarf_whatform
+
+libdwarf.a(dwarf_finish.o):
+
+Symbol Table Section: .symtab
+ index value size type bind oth ver shndx name
+ [0] 0x00000000 0x000000000000 NOTY LOCL D 0 UNDEF
+ [1] 0x00000000 0x000000000000 FILE LOCL D 0 ABS dwarf_finish.c
+ [2] 0x00000000 0x000000000000 SECT LOCL D 0 .text
+ [3] 0x00000000 0x000000000000 SECT LOCL D 0 .data
+ [4] 0x00000000 0x000000000000 SECT LOCL D 0 .bss
+ [5] 0x00000000 0x00000000000d OBJT LOCL D 0 .rodata __func__.3889
+ [6] 0x00000000 0x000000000000 SECT LOCL D 0 .rodata
+ [7] 0x00000000 0x000000000000 SECT LOCL D 0 .eh_frame
+ [8] 0x00000000 0x000000000000 SECT LOCL D 0 .comment
+ [9] 0x00000000 0x000000000353 FUNC GLOB D 0 .text dwarf_finish
+ [10] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF free
+ [11] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF elf_end
+
+libdwarf.a(dwarf_errno.o):
+
+Symbol Table Section: .symtab
+ index value size type bind oth ver shndx name
+ [0] 0x00000000 0x000000000000 NOTY LOCL D 0 UNDEF
+ [1] 0x00000000 0x000000000000 FILE LOCL D 0 ABS dwarf_errno.c
+ [2] 0x00000000 0x000000000000 SECT LOCL D 0 .text
+ [3] 0x00000000 0x000000000000 SECT LOCL D 0 .data
+ [4] 0x00000000 0x000000000000 SECT LOCL D 0 .bss
+ [5] 0x00000000 0x000000000000 SECT LOCL D 0 .eh_frame
+ [6] 0x00000000 0x000000000000 SECT LOCL D 0 .comment
+ [7] 0x00000000 0x00000000000e FUNC GLOB D 0 .text dwarf_errno
+
+libdwarf.a(dwarf_dealloc.o):
+
+Symbol Table Section: .symtab
+ index value size type bind oth ver shndx name
+ [0] 0x00000000 0x000000000000 NOTY LOCL D 0 UNDEF
+ [1] 0x00000000 0x000000000000 FILE LOCL D 0 ABS dwarf_dealloc.c
+ [2] 0x00000000 0x000000000000 SECT LOCL D 0 .text
+ [3] 0x00000000 0x000000000000 SECT LOCL D 0 .data
+ [4] 0x00000000 0x000000000000 SECT LOCL D 0 .bss
+ [5] 0x00000000 0x000000000000 SECT LOCL D 0 .eh_frame
+ [6] 0x00000000 0x000000000000 SECT LOCL D 0 .comment
+ [7] 0x00000000 0x000000000002 FUNC GLOB D 0 .text dwarf_dealloc
+
+libdwarf.a(dwarf_attrval.o):
+
+Symbol Table Section: .symtab
+ index value size type bind oth ver shndx name
+ [0] 0x00000000 0x000000000000 NOTY LOCL D 0 UNDEF
+ [1] 0x00000000 0x000000000000 FILE LOCL D 0 ABS dwarf_attrval.c
+ [2] 0x00000000 0x000000000000 SECT LOCL D 0 .text
+ [3] 0x00000000 0x000000000000 SECT LOCL D 0 .data
+ [4] 0x00000000 0x000000000000 SECT LOCL D 0 .bss
+ [5] 0x00000000 0x000000000000 SECT LOCL D 0 .rodata.str
+ [6] 0x00000000 0x000000000017 OBJT LOCL D 0 .rodata __func__.4602
+ [7] 0x00000020 0x000000000015 OBJT LOCL D 0 .rodata __func__.4578
+ [8] 0x00000040 0x000000000015 OBJT LOCL D 0 .rodata __func__.4552
+ [9] 0x00000060 0x000000000013 OBJT LOCL D 0 .rodata __func__.4528
+ [10] 0x00000080 0x000000000012 OBJT LOCL D 0 .rodata __func__.4507
+ [11] 0x00000000 0x000000000000 SECT LOCL D 0 .rodata
+ [12] 0x00000000 0x000000000000 SECT LOCL D 0 .eh_frame
+ [13] 0x00000000 0x000000000000 SECT LOCL D 0 .comment
+ [14] 0x00000000 0x000000000026 FUNC GLOB D 0 .text dwarf_attrval_find
+ [15] 0x00000030 0x00000000022d FUNC GLOB D 0 .text dwarf_attrval_unsigned
+ [16] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF get_form_desc
+ [17] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF printf
+ [18] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF dwarf_die_find
+ [19] 0x00000260 0x00000000011c FUNC GLOB D 0 .text dwarf_attrval_signed
+ [20] 0x00000380 0x000000000144 FUNC GLOB D 0 .text dwarf_attrval_string
+ [21] 0x000004d0 0x000000000116 FUNC GLOB D 0 .text dwarf_attrval_flag
+ [22] 0x000005f0 0x0000000000e8 FUNC GLOB D 0 .text dwarf_attrval_add
+ [23] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF malloc
+
+libdwarf.a(dwarf_attr.o):
+
+Symbol Table Section: .symtab
+ index value size type bind oth ver shndx name
+ [0] 0x00000000 0x000000000000 NOTY LOCL D 0 UNDEF
+ [1] 0x00000000 0x000000000000 FILE LOCL D 0 ABS dwarf_attr.c
+ [2] 0x00000000 0x000000000000 SECT LOCL D 0 .text
+ [3] 0x00000000 0x000000000000 SECT LOCL D 0 .data
+ [4] 0x00000000 0x000000000000 SECT LOCL D 0 .bss
+ [5] 0x0000000f 0x00000000000b OBJT LOCL D 0 .rodata __func__.4056
+ [6] 0x00000000 0x00000000000f OBJT LOCL D 0 .rodata __func__.4077
+ [7] 0x00000000 0x000000000000 SECT LOCL D 0 .rodata
+ [8] 0x00000000 0x000000000000 SECT LOCL D 0 .eh_frame
+ [9] 0x00000000 0x000000000000 SECT LOCL D 0 .comment
+ [10] 0x00000000 0x00000000009e FUNC GLOB D 0 .text dwarf_attr
+ [11] 0x000000a0 0x0000000000e1 FUNC GLOB D 0 .text dwarf_attr_add
+ [12] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF malloc
+
+libdwarf.a(dwarf_abbrev.o):
+
+Symbol Table Section: .symtab
+ index value size type bind oth ver shndx name
+ [0] 0x00000000 0x000000000000 NOTY LOCL D 0 UNDEF
+ [1] 0x00000000 0x000000000000 FILE LOCL D 0 ABS dwarf_abbrev.c
+ [2] 0x00000000 0x000000000000 SECT LOCL D 0 .text
+ [3] 0x00000000 0x000000000000 SECT LOCL D 0 .data
+ [4] 0x00000000 0x000000000000 SECT LOCL D 0 .bss
+ [5] 0x00000000 0x000000000011 OBJT LOCL D 0 .rodata __func__.3884
+ [6] 0x00000000 0x000000000000 SECT LOCL D 0 .rodata
+ [7] 0x00000000 0x000000000000 SECT LOCL D 0 .eh_frame
+ [8] 0x00000000 0x000000000000 SECT LOCL D 0 .comment
+ [9] 0x00000000 0x000000000026 FUNC GLOB D 0 .text dwarf_abbrev_find
+ [10] 0x00000030 0x0000000000ce FUNC GLOB D 0 .text dwarf_abbrev_add
+ [11] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF malloc
+
+libdwarf.a(dwarf_dump.o):
+
+Symbol Table Section: .symtab
+ index value size type bind oth ver shndx name
+ [0] 0x00000000 0x000000000000 NOTY LOCL D 0 UNDEF
+ [1] 0x00000000 0x000000000000 FILE LOCL D 0 ABS dwarf_dump.c
+ [2] 0x00000000 0x000000000000 SECT LOCL D 0 .text
+ [3] 0x00000000 0x000000000000 SECT LOCL D 0 .data
+ [4] 0x00000000 0x000000000000 SECT LOCL D 0 .bss
+ [5] 0x00000000 0x000000000000 SECT LOCL D 0 .rodata.str
+ [6] 0x00000000 0x000000000000 SECT LOCL D 0 .rodata.str
+ [7] 0x00000000 0x000000000000 SECT LOCL D 0 .rodata
+ [8] 0x00000a80 0x00000000007b FUNC LOCL D 0 .text dwarf_dump_tree_dies
+ [9] 0x00000000 0x000000000000 SECT LOCL D 0 .eh_frame
+ [10] 0x00000000 0x000000000000 SECT LOCL D 0 .comment
+ [11] 0x00000000 0x00000000011e FUNC GLOB D 0 .text get_sht_desc
+ [12] 0x00000120 0x00000000018d FUNC GLOB D 0 .text get_attr_desc
+ [13] 0x000002b0 0x000000000097 FUNC GLOB D 0 .text get_form_desc
+ [14] 0x00000350 0x000000000169 FUNC GLOB D 0 .text get_tag_desc
+ [15] 0x000004c0 0x0000000000c5 FUNC GLOB D 0 .text dwarf_dump_abbrev
+ [16] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF puts
+ [17] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF printf
+ [18] 0x00000590 0x000000000080 FUNC GLOB D 0 .text dwarf_dump_symtab
+ [19] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF gelf_getsym
+ [20] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF elf_strptr
+ [21] 0x00000610 0x000000000053 FUNC GLOB D 0 .text dwarf_dump_dbgstr
+ [22] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF strlen
+ [23] 0x00000670 0x000000000053 FUNC GLOB D 0 .text dwarf_dump_strtab
+ [24] 0x000006d0 0x000000000050 FUNC GLOB D 0 .text dwarf_dump_shstrtab
+ [25] 0x00000720 0x0000000000f7 FUNC GLOB D 0 .text dwarf_dump_raw
+ [26] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF putchar
+ [27] 0x00000820 0x000000000126 FUNC GLOB D 0 .text dwarf_dump_av
+ [28] 0x00000950 0x00000000005b FUNC GLOB D 0 .text dwarf_dump_die
+ [29] 0x000009b0 0x00000000009b FUNC GLOB D 0 .text dwarf_dump_info
+ [30] 0x00000a50 0x00000000002a FUNC GLOB D 0 .text dwarf_dump
+ [31] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF dwarf_siblingof
+ [32] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF dwarf_child
+ [33] 0x00000b00 0x00000000013e FUNC GLOB D 0 .text dwarf_dump_tree
+ [34] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF __stack_chk_guard
+ [35] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF dwarf_next_cu_header
+ [36] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF dwarf_errmsg
+ [37] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF __stack_chk_fail
+ [38] 0x00000c40 0x000000000045 FUNC GLOB D 0 .text dwarf_dump_die_at_offset
+
+libdwarf.a(dwarf_die.o):
+
+Symbol Table Section: .symtab
+ index value size type bind oth ver shndx name
+ [0] 0x00000000 0x000000000000 NOTY LOCL D 0 UNDEF
+ [1] 0x00000000 0x000000000000 FILE LOCL D 0 ABS dwarf_die.c
+ [2] 0x00000000 0x000000000000 SECT LOCL D 0 .text
+ [3] 0x00000000 0x000000000000 SECT LOCL D 0 .data
+ [4] 0x00000000 0x000000000000 SECT LOCL D 0 .bss
+ [5] 0x0000001a 0x00000000000c OBJT LOCL D 0 .rodata __func__.3918
+ [6] 0x00000010 0x00000000000a OBJT LOCL D 0 .rodata __func__.3935
+ [7] 0x00000000 0x000000000010 OBJT LOCL D 0 .rodata __func__.3953
+ [8] 0x00000030 0x00000000000e OBJT LOCL D 0 .rodata __func__.3887
+ [9] 0x00000028 0x000000000008 OBJT LOCL D 0 .rodata anon_name
+ [10] 0x00000000 0x000000000000 SECT LOCL D 0 .rodata
+ [11] 0x00000000 0x000000000000 SECT LOCL D 0 .rodata.str
+ [12] 0x00000000 0x000000000000 SECT LOCL D 0 .eh_frame
+ [13] 0x00000000 0x000000000000 SECT LOCL D 0 .comment
+ [14] 0x00000000 0x00000000000a FUNC GLOB D 0 .text dwarf_dieoffset
+ [15] 0x00000010 0x000000000086 FUNC GLOB D 0 .text dwarf_child
+ [16] 0x000000a0 0x00000000004e FUNC GLOB D 0 .text dwarf_tag
+ [17] 0x000000f0 0x000000000109 FUNC GLOB D 0 .text dwarf_siblingof
+ [18] 0x00000200 0x00000000002f FUNC GLOB D 0 .text dwarf_die_find
+ [19] 0x00000230 0x00000000017e FUNC GLOB D 0 .text dwarf_die_add
+ [20] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF malloc
+
+libdwarf.a(dwarf_cu.o):
+
+Symbol Table Section: .symtab
+ index value size type bind oth ver shndx name
+ [0] 0x00000000 0x000000000000 NOTY LOCL D 0 UNDEF
+ [1] 0x00000000 0x000000000000 FILE LOCL D 0 ABS dwarf_cu.c
+ [2] 0x00000000 0x000000000000 SECT LOCL D 0 .text
+ [3] 0x00000000 0x000000000000 SECT LOCL D 0 .data
+ [4] 0x00000000 0x000000000000 SECT LOCL D 0 .bss
+ [5] 0x00000000 0x000000000015 OBJT LOCL D 0 .rodata __func__.3550
+ [6] 0x00000000 0x000000000000 SECT LOCL D 0 .rodata
+ [7] 0x00000000 0x000000000000 SECT LOCL D 0 .eh_frame
+ [8] 0x00000000 0x000000000000 SECT LOCL D 0 .comment
+ [9] 0x00000000 0x00000000010b FUNC GLOB D 0 .text dwarf_next_cu_header
+
+libdwarf.a(dwarf_errmsg.o):
+
+Symbol Table Section: .symtab
+ index value size type bind oth ver shndx name
+ [0] 0x00000000 0x000000000000 NOTY LOCL D 0 UNDEF
+ [1] 0x00000000 0x000000000000 FILE LOCL D 0 ABS dwarf_errmsg.c
+ [2] 0x00000000 0x000000000000 SECT LOCL D 0 .text
+ [3] 0x00000000 0x000000000000 SECT LOCL D 0 .data
+ [4] 0x00000000 0x000000000000 SECT LOCL D 0 .bss
+ [5] 0x00000000 0x000000000000 SECT LOCL D 0 .rodata.str
+ [6] 0x00000000 0x000000000000 SECT LOCL D 0 .rodata.str
+ [7] 0x00000000 0x000000000000 SECT LOCL D 0 .eh_frame
+ [8] 0x00000000 0x000000000000 SECT LOCL D 0 .comment
+ [9] 0x00000000 0x0000000000c7 FUNC GLOB D 0 .text dwarf_errmsg
+ [10] 0x00000000 0x000000000078 OBJT GLOB D 0 .data _libdwarf_errors
+ [11] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF snprintf
+ [12] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF elf_errmsg
diff --git a/test/elfdump/ts/archive2/@S@s@N%.symtab%libdwarf.a.err b/test/elfdump/ts/archive2/@S@s@N%.symtab%libdwarf.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive2/@S@s@N%.symtab%libdwarf.a.err
diff --git a/test/elfdump/ts/archive2/@S@s@N%.symtab%libdwarf.a.out b/test/elfdump/ts/archive2/@S@s@N%.symtab%libdwarf.a.out
new file mode 100644
index 0000000000000..55a65555afcf8
--- /dev/null
+++ b/test/elfdump/ts/archive2/@S@s@N%.symtab%libdwarf.a.out
@@ -0,0 +1,309 @@
+
+libdwarf.a(dwarf_loc.o):
+
+Symbol Table Section: .symtab
+ index value size type bind oth ver shndx name
+ [0] 0x00000000 0x000000000000 NOTY LOCL D 0 UNDEF
+ [1] 0x00000000 0x000000000000 FILE LOCL D 0 ABS dwarf_loc.c
+ [2] 0x00000000 0x000000000000 SECT LOCL D 0 .text
+ [3] 0x00000000 0x000000000000 SECT LOCL D 0 .data
+ [4] 0x00000000 0x000000000000 SECT LOCL D 0 .bss
+ [5] 0x00000000 0x000000000053 FUNC LOCL D 0 .text dwarf_decode_sleb128
+ [6] 0x00000060 0x00000000002c FUNC LOCL D 0 .text dwarf_decode_uleb128
+ [7] 0x00000000 0x000000000000 SECT LOCL D 0 .rodata
+ [8] 0x00000940 0x000000000013 OBJT LOCL D 0 .rodata __func__.4319
+ [9] 0x00000000 0x000000000000 SECT LOCL D 0 .rodata.str
+ [10] 0x00000953 0x00000000000e OBJT LOCL D 0 .rodata __func__.4283
+ [11] 0x00000000 0x000000000000 SECT LOCL D 0 .eh_frame
+ [12] 0x00000000 0x000000000000 SECT LOCL D 0 .comment
+ [13] 0x00000090 0x0000000000b7 FUNC GLOB D 0 .text dwarf_op_num
+ [14] 0x00000150 0x000000000051 FUNC GLOB D 0 .text dwarf_locdesc_free
+ [15] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF free
+ [16] 0x000001b0 0x00000000034c FUNC GLOB D 0 .text dwarf_locdesc
+ [17] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF dwarf_attrval_find
+ [18] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF calloc
+ [19] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF get_form_desc
+ [20] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF printf
+
+libdwarf.a(dwarf_init.o):
+
+Symbol Table Section: .symtab
+ index value size type bind oth ver shndx name
+ [0] 0x00000000 0x000000000000 NOTY LOCL D 0 UNDEF
+ [1] 0x00000000 0x000000000000 FILE LOCL D 0 ABS dwarf_init.c
+ [2] 0x00000000 0x000000000000 SECT LOCL D 0 .text
+ [3] 0x00000000 0x000000000000 SECT LOCL D 0 .data
+ [4] 0x00000000 0x000000000000 SECT LOCL D 0 .bss
+ [5] 0x00000000 0x000000000099 FUNC LOCL D 0 .text dwarf_read_lsb
+ [6] 0x000000a0 0x0000000000c9 FUNC LOCL D 0 .text dwarf_read_msb
+ [7] 0x00000170 0x000000000079 FUNC LOCL D 0 .text dwarf_write_lsb
+ [8] 0x000001f0 0x000000000067 FUNC LOCL D 0 .text dwarf_write_msb
+ [9] 0x00000260 0x00000000003a FUNC LOCL D 0 .text dwarf_read_uleb128
+ [10] 0x000002a0 0x000000000017 FUNC LOCL D 0 .text dwarf_read_block
+ [11] 0x000002c0 0x000000000326 FUNC LOCL D 0 .text dwarf_init_attr
+ [12] 0x000001a0 0x000000000010 OBJT LOCL D 0 .rodata __func__.4419
+ [13] 0x00000000 0x000000000000 SECT LOCL D 0 .rodata
+ [14] 0x00000000 0x000000000008 OBJT LOCL D 0 .bss dwarf_read
+ [15] 0x00000000 0x000000000000 SECT LOCL D 0 .rodata.str
+ [16] 0x00000008 0x000000000008 OBJT LOCL D 0 .bss dwarf_write
+ [17] 0x000000e0 0x000000000090 OBJT LOCL D 0 .rodata debug_snames
+ [18] 0x00000170 0x00000000000f OBJT LOCL D 0 .rodata __func__.4570
+ [19] 0x000000c3 0x00000000000f OBJT LOCL D 0 .rodata __func__.4622
+ [20] 0x00000190 0x00000000000f OBJT LOCL D 0 .rodata __func__.4362
+ [21] 0x00000180 0x000000000010 OBJT LOCL D 0 .rodata __func__.4504
+ [22] 0x000000b8 0x00000000000b OBJT LOCL D 0 .rodata __func__.4640
+ [23] 0x00000000 0x000000000000 SECT LOCL D 0 .rodata.str
+ [24] 0x00000000 0x000000000000 SECT LOCL D 0 .eh_frame
+ [25] 0x00000000 0x000000000000 SECT LOCL D 0 .comment
+ [26] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF dwarf_attrval_add
+ [27] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF elf_strptr
+ [28] 0x000005f0 0x000000000a51 FUNC GLOB D 0 .text dwarf_elf_init
+ [29] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF calloc
+ [30] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF gelf_getehdr
+ [31] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF elf_getshstrndx
+ [32] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF elf_nextscn
+ [33] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF gelf_getshdr
+ [34] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF strcmp
+ [35] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF elf_ndxscn
+ [36] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF elf_getdata
+ [37] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF elf_errno
+ [38] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF dwarf_abbrev_add
+ [39] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF dwarf_attr_add
+ [40] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF gelf_getrela
+ [41] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF gelf_getsym
+ [42] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF printf
+ [43] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF dwarf_abbrev_find
+ [44] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF dwarf_die_add
+ [45] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF free
+ [46] 0x00001050 0x0000000001a5 FUNC GLOB D 0 .text dwarf_init
+ [47] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF __stack_chk_guard
+ [48] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF elf_version
+ [49] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF elf_begin
+ [50] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF dwarf_finish
+ [51] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF __stack_chk_fail
+ [52] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF elf_end
+
+libdwarf.a(dwarf_form.o):
+
+Symbol Table Section: .symtab
+ index value size type bind oth ver shndx name
+ [0] 0x00000000 0x000000000000 NOTY LOCL D 0 UNDEF
+ [1] 0x00000000 0x000000000000 FILE LOCL D 0 ABS dwarf_form.c
+ [2] 0x00000000 0x000000000000 SECT LOCL D 0 .text
+ [3] 0x00000000 0x000000000000 SECT LOCL D 0 .data
+ [4] 0x00000000 0x000000000000 SECT LOCL D 0 .bss
+ [5] 0x00000000 0x00000000000f OBJT LOCL D 0 .rodata __func__.3546
+ [6] 0x00000000 0x000000000000 SECT LOCL D 0 .rodata
+ [7] 0x00000000 0x000000000000 SECT LOCL D 0 .eh_frame
+ [8] 0x00000000 0x000000000000 SECT LOCL D 0 .comment
+ [9] 0x00000000 0x000000000048 FUNC GLOB D 0 .text dwarf_whatform
+
+libdwarf.a(dwarf_finish.o):
+
+Symbol Table Section: .symtab
+ index value size type bind oth ver shndx name
+ [0] 0x00000000 0x000000000000 NOTY LOCL D 0 UNDEF
+ [1] 0x00000000 0x000000000000 FILE LOCL D 0 ABS dwarf_finish.c
+ [2] 0x00000000 0x000000000000 SECT LOCL D 0 .text
+ [3] 0x00000000 0x000000000000 SECT LOCL D 0 .data
+ [4] 0x00000000 0x000000000000 SECT LOCL D 0 .bss
+ [5] 0x00000000 0x00000000000d OBJT LOCL D 0 .rodata __func__.3889
+ [6] 0x00000000 0x000000000000 SECT LOCL D 0 .rodata
+ [7] 0x00000000 0x000000000000 SECT LOCL D 0 .eh_frame
+ [8] 0x00000000 0x000000000000 SECT LOCL D 0 .comment
+ [9] 0x00000000 0x000000000353 FUNC GLOB D 0 .text dwarf_finish
+ [10] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF free
+ [11] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF elf_end
+
+libdwarf.a(dwarf_errno.o):
+
+Symbol Table Section: .symtab
+ index value size type bind oth ver shndx name
+ [0] 0x00000000 0x000000000000 NOTY LOCL D 0 UNDEF
+ [1] 0x00000000 0x000000000000 FILE LOCL D 0 ABS dwarf_errno.c
+ [2] 0x00000000 0x000000000000 SECT LOCL D 0 .text
+ [3] 0x00000000 0x000000000000 SECT LOCL D 0 .data
+ [4] 0x00000000 0x000000000000 SECT LOCL D 0 .bss
+ [5] 0x00000000 0x000000000000 SECT LOCL D 0 .eh_frame
+ [6] 0x00000000 0x000000000000 SECT LOCL D 0 .comment
+ [7] 0x00000000 0x00000000000e FUNC GLOB D 0 .text dwarf_errno
+
+libdwarf.a(dwarf_dealloc.o):
+
+Symbol Table Section: .symtab
+ index value size type bind oth ver shndx name
+ [0] 0x00000000 0x000000000000 NOTY LOCL D 0 UNDEF
+ [1] 0x00000000 0x000000000000 FILE LOCL D 0 ABS dwarf_dealloc.c
+ [2] 0x00000000 0x000000000000 SECT LOCL D 0 .text
+ [3] 0x00000000 0x000000000000 SECT LOCL D 0 .data
+ [4] 0x00000000 0x000000000000 SECT LOCL D 0 .bss
+ [5] 0x00000000 0x000000000000 SECT LOCL D 0 .eh_frame
+ [6] 0x00000000 0x000000000000 SECT LOCL D 0 .comment
+ [7] 0x00000000 0x000000000002 FUNC GLOB D 0 .text dwarf_dealloc
+
+libdwarf.a(dwarf_attrval.o):
+
+Symbol Table Section: .symtab
+ index value size type bind oth ver shndx name
+ [0] 0x00000000 0x000000000000 NOTY LOCL D 0 UNDEF
+ [1] 0x00000000 0x000000000000 FILE LOCL D 0 ABS dwarf_attrval.c
+ [2] 0x00000000 0x000000000000 SECT LOCL D 0 .text
+ [3] 0x00000000 0x000000000000 SECT LOCL D 0 .data
+ [4] 0x00000000 0x000000000000 SECT LOCL D 0 .bss
+ [5] 0x00000000 0x000000000000 SECT LOCL D 0 .rodata.str
+ [6] 0x00000000 0x000000000017 OBJT LOCL D 0 .rodata __func__.4602
+ [7] 0x00000020 0x000000000015 OBJT LOCL D 0 .rodata __func__.4578
+ [8] 0x00000040 0x000000000015 OBJT LOCL D 0 .rodata __func__.4552
+ [9] 0x00000060 0x000000000013 OBJT LOCL D 0 .rodata __func__.4528
+ [10] 0x00000080 0x000000000012 OBJT LOCL D 0 .rodata __func__.4507
+ [11] 0x00000000 0x000000000000 SECT LOCL D 0 .rodata
+ [12] 0x00000000 0x000000000000 SECT LOCL D 0 .eh_frame
+ [13] 0x00000000 0x000000000000 SECT LOCL D 0 .comment
+ [14] 0x00000000 0x000000000026 FUNC GLOB D 0 .text dwarf_attrval_find
+ [15] 0x00000030 0x00000000022d FUNC GLOB D 0 .text dwarf_attrval_unsigned
+ [16] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF get_form_desc
+ [17] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF printf
+ [18] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF dwarf_die_find
+ [19] 0x00000260 0x00000000011c FUNC GLOB D 0 .text dwarf_attrval_signed
+ [20] 0x00000380 0x000000000144 FUNC GLOB D 0 .text dwarf_attrval_string
+ [21] 0x000004d0 0x000000000116 FUNC GLOB D 0 .text dwarf_attrval_flag
+ [22] 0x000005f0 0x0000000000e8 FUNC GLOB D 0 .text dwarf_attrval_add
+ [23] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF malloc
+
+libdwarf.a(dwarf_attr.o):
+
+Symbol Table Section: .symtab
+ index value size type bind oth ver shndx name
+ [0] 0x00000000 0x000000000000 NOTY LOCL D 0 UNDEF
+ [1] 0x00000000 0x000000000000 FILE LOCL D 0 ABS dwarf_attr.c
+ [2] 0x00000000 0x000000000000 SECT LOCL D 0 .text
+ [3] 0x00000000 0x000000000000 SECT LOCL D 0 .data
+ [4] 0x00000000 0x000000000000 SECT LOCL D 0 .bss
+ [5] 0x0000000f 0x00000000000b OBJT LOCL D 0 .rodata __func__.4056
+ [6] 0x00000000 0x00000000000f OBJT LOCL D 0 .rodata __func__.4077
+ [7] 0x00000000 0x000000000000 SECT LOCL D 0 .rodata
+ [8] 0x00000000 0x000000000000 SECT LOCL D 0 .eh_frame
+ [9] 0x00000000 0x000000000000 SECT LOCL D 0 .comment
+ [10] 0x00000000 0x00000000009e FUNC GLOB D 0 .text dwarf_attr
+ [11] 0x000000a0 0x0000000000e1 FUNC GLOB D 0 .text dwarf_attr_add
+ [12] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF malloc
+
+libdwarf.a(dwarf_abbrev.o):
+
+Symbol Table Section: .symtab
+ index value size type bind oth ver shndx name
+ [0] 0x00000000 0x000000000000 NOTY LOCL D 0 UNDEF
+ [1] 0x00000000 0x000000000000 FILE LOCL D 0 ABS dwarf_abbrev.c
+ [2] 0x00000000 0x000000000000 SECT LOCL D 0 .text
+ [3] 0x00000000 0x000000000000 SECT LOCL D 0 .data
+ [4] 0x00000000 0x000000000000 SECT LOCL D 0 .bss
+ [5] 0x00000000 0x000000000011 OBJT LOCL D 0 .rodata __func__.3884
+ [6] 0x00000000 0x000000000000 SECT LOCL D 0 .rodata
+ [7] 0x00000000 0x000000000000 SECT LOCL D 0 .eh_frame
+ [8] 0x00000000 0x000000000000 SECT LOCL D 0 .comment
+ [9] 0x00000000 0x000000000026 FUNC GLOB D 0 .text dwarf_abbrev_find
+ [10] 0x00000030 0x0000000000ce FUNC GLOB D 0 .text dwarf_abbrev_add
+ [11] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF malloc
+
+libdwarf.a(dwarf_dump.o):
+
+Symbol Table Section: .symtab
+ index value size type bind oth ver shndx name
+ [0] 0x00000000 0x000000000000 NOTY LOCL D 0 UNDEF
+ [1] 0x00000000 0x000000000000 FILE LOCL D 0 ABS dwarf_dump.c
+ [2] 0x00000000 0x000000000000 SECT LOCL D 0 .text
+ [3] 0x00000000 0x000000000000 SECT LOCL D 0 .data
+ [4] 0x00000000 0x000000000000 SECT LOCL D 0 .bss
+ [5] 0x00000000 0x000000000000 SECT LOCL D 0 .rodata.str
+ [6] 0x00000000 0x000000000000 SECT LOCL D 0 .rodata.str
+ [7] 0x00000000 0x000000000000 SECT LOCL D 0 .rodata
+ [8] 0x00000a80 0x00000000007b FUNC LOCL D 0 .text dwarf_dump_tree_dies
+ [9] 0x00000000 0x000000000000 SECT LOCL D 0 .eh_frame
+ [10] 0x00000000 0x000000000000 SECT LOCL D 0 .comment
+ [11] 0x00000000 0x00000000011e FUNC GLOB D 0 .text get_sht_desc
+ [12] 0x00000120 0x00000000018d FUNC GLOB D 0 .text get_attr_desc
+ [13] 0x000002b0 0x000000000097 FUNC GLOB D 0 .text get_form_desc
+ [14] 0x00000350 0x000000000169 FUNC GLOB D 0 .text get_tag_desc
+ [15] 0x000004c0 0x0000000000c5 FUNC GLOB D 0 .text dwarf_dump_abbrev
+ [16] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF puts
+ [17] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF printf
+ [18] 0x00000590 0x000000000080 FUNC GLOB D 0 .text dwarf_dump_symtab
+ [19] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF gelf_getsym
+ [20] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF elf_strptr
+ [21] 0x00000610 0x000000000053 FUNC GLOB D 0 .text dwarf_dump_dbgstr
+ [22] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF strlen
+ [23] 0x00000670 0x000000000053 FUNC GLOB D 0 .text dwarf_dump_strtab
+ [24] 0x000006d0 0x000000000050 FUNC GLOB D 0 .text dwarf_dump_shstrtab
+ [25] 0x00000720 0x0000000000f7 FUNC GLOB D 0 .text dwarf_dump_raw
+ [26] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF putchar
+ [27] 0x00000820 0x000000000126 FUNC GLOB D 0 .text dwarf_dump_av
+ [28] 0x00000950 0x00000000005b FUNC GLOB D 0 .text dwarf_dump_die
+ [29] 0x000009b0 0x00000000009b FUNC GLOB D 0 .text dwarf_dump_info
+ [30] 0x00000a50 0x00000000002a FUNC GLOB D 0 .text dwarf_dump
+ [31] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF dwarf_siblingof
+ [32] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF dwarf_child
+ [33] 0x00000b00 0x00000000013e FUNC GLOB D 0 .text dwarf_dump_tree
+ [34] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF __stack_chk_guard
+ [35] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF dwarf_next_cu_header
+ [36] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF dwarf_errmsg
+ [37] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF __stack_chk_fail
+ [38] 0x00000c40 0x000000000045 FUNC GLOB D 0 .text dwarf_dump_die_at_offset
+
+libdwarf.a(dwarf_die.o):
+
+Symbol Table Section: .symtab
+ index value size type bind oth ver shndx name
+ [0] 0x00000000 0x000000000000 NOTY LOCL D 0 UNDEF
+ [1] 0x00000000 0x000000000000 FILE LOCL D 0 ABS dwarf_die.c
+ [2] 0x00000000 0x000000000000 SECT LOCL D 0 .text
+ [3] 0x00000000 0x000000000000 SECT LOCL D 0 .data
+ [4] 0x00000000 0x000000000000 SECT LOCL D 0 .bss
+ [5] 0x0000001a 0x00000000000c OBJT LOCL D 0 .rodata __func__.3918
+ [6] 0x00000010 0x00000000000a OBJT LOCL D 0 .rodata __func__.3935
+ [7] 0x00000000 0x000000000010 OBJT LOCL D 0 .rodata __func__.3953
+ [8] 0x00000030 0x00000000000e OBJT LOCL D 0 .rodata __func__.3887
+ [9] 0x00000028 0x000000000008 OBJT LOCL D 0 .rodata anon_name
+ [10] 0x00000000 0x000000000000 SECT LOCL D 0 .rodata
+ [11] 0x00000000 0x000000000000 SECT LOCL D 0 .rodata.str
+ [12] 0x00000000 0x000000000000 SECT LOCL D 0 .eh_frame
+ [13] 0x00000000 0x000000000000 SECT LOCL D 0 .comment
+ [14] 0x00000000 0x00000000000a FUNC GLOB D 0 .text dwarf_dieoffset
+ [15] 0x00000010 0x000000000086 FUNC GLOB D 0 .text dwarf_child
+ [16] 0x000000a0 0x00000000004e FUNC GLOB D 0 .text dwarf_tag
+ [17] 0x000000f0 0x000000000109 FUNC GLOB D 0 .text dwarf_siblingof
+ [18] 0x00000200 0x00000000002f FUNC GLOB D 0 .text dwarf_die_find
+ [19] 0x00000230 0x00000000017e FUNC GLOB D 0 .text dwarf_die_add
+ [20] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF malloc
+
+libdwarf.a(dwarf_cu.o):
+
+Symbol Table Section: .symtab
+ index value size type bind oth ver shndx name
+ [0] 0x00000000 0x000000000000 NOTY LOCL D 0 UNDEF
+ [1] 0x00000000 0x000000000000 FILE LOCL D 0 ABS dwarf_cu.c
+ [2] 0x00000000 0x000000000000 SECT LOCL D 0 .text
+ [3] 0x00000000 0x000000000000 SECT LOCL D 0 .data
+ [4] 0x00000000 0x000000000000 SECT LOCL D 0 .bss
+ [5] 0x00000000 0x000000000015 OBJT LOCL D 0 .rodata __func__.3550
+ [6] 0x00000000 0x000000000000 SECT LOCL D 0 .rodata
+ [7] 0x00000000 0x000000000000 SECT LOCL D 0 .eh_frame
+ [8] 0x00000000 0x000000000000 SECT LOCL D 0 .comment
+ [9] 0x00000000 0x00000000010b FUNC GLOB D 0 .text dwarf_next_cu_header
+
+libdwarf.a(dwarf_errmsg.o):
+
+Symbol Table Section: .symtab
+ index value size type bind oth ver shndx name
+ [0] 0x00000000 0x000000000000 NOTY LOCL D 0 UNDEF
+ [1] 0x00000000 0x000000000000 FILE LOCL D 0 ABS dwarf_errmsg.c
+ [2] 0x00000000 0x000000000000 SECT LOCL D 0 .text
+ [3] 0x00000000 0x000000000000 SECT LOCL D 0 .data
+ [4] 0x00000000 0x000000000000 SECT LOCL D 0 .bss
+ [5] 0x00000000 0x000000000000 SECT LOCL D 0 .rodata.str
+ [6] 0x00000000 0x000000000000 SECT LOCL D 0 .rodata.str
+ [7] 0x00000000 0x000000000000 SECT LOCL D 0 .eh_frame
+ [8] 0x00000000 0x000000000000 SECT LOCL D 0 .comment
+ [9] 0x00000000 0x0000000000c7 FUNC GLOB D 0 .text dwarf_errmsg
+ [10] 0x00000000 0x000000000078 OBJT GLOB D 0 .data _libdwarf_errors
+ [11] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF snprintf
+ [12] 0x00000000 0x000000000000 NOTY GLOB D 0 UNDEF elf_errmsg
diff --git a/test/elfdump/ts/archive2/@S@s@N%ARSYM%libdwarf.a.err b/test/elfdump/ts/archive2/@S@s@N%ARSYM%libdwarf.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive2/@S@s@N%ARSYM%libdwarf.a.err
diff --git a/test/elfdump/ts/archive2/@S@s@N%ARSYM%libdwarf.a.out b/test/elfdump/ts/archive2/@S@s@N%ARSYM%libdwarf.a.out
new file mode 100644
index 0000000000000..6b32cebc3612a
--- /dev/null
+++ b/test/elfdump/ts/archive2/@S@s@N%ARSYM%libdwarf.a.out
@@ -0,0 +1,47 @@
+
+Symbol Table: (archive)
+ index offset member name and symbol
+ [0] 0x000003b4 (dwarf_loc.o):dwarf_op_num
+ [1] 0x000003b4 (dwarf_loc.o):dwarf_locdesc_free
+ [2] 0x000003b4 (dwarf_loc.o):dwarf_locdesc
+ [3] 0x00003828 (dwarf_init.o):dwarf_elf_init
+ [4] 0x00003828 (dwarf_init.o):dwarf_init
+ [5] 0x0000670c (dwarf_form.o):dwarf_whatform
+ [6] 0x00006cd8 (dwarf_finish.o):dwarf_finish
+ [7] 0x00007714 (dwarf_errno.o):dwarf_errno
+ [8] 0x00007bb8 (dwarf_dealloc.o):dwarf_dealloc
+ [9] 0x00008054 (dwarf_attrval.o):dwarf_attrval_find
+ [10] 0x00008054 (dwarf_attrval.o):dwarf_attrval_unsigned
+ [11] 0x00008054 (dwarf_attrval.o):dwarf_attrval_signed
+ [12] 0x00008054 (dwarf_attrval.o):dwarf_attrval_string
+ [13] 0x00008054 (dwarf_attrval.o):dwarf_attrval_flag
+ [14] 0x00008054 (dwarf_attrval.o):dwarf_attrval_add
+ [15] 0x000094e8 (dwarf_attr.o):dwarf_attr
+ [16] 0x000094e8 (dwarf_attr.o):dwarf_attr_add
+ [17] 0x00009cfc (dwarf_abbrev.o):dwarf_abbrev_find
+ [18] 0x00009cfc (dwarf_abbrev.o):dwarf_abbrev_add
+ [19] 0x0000a428 (dwarf_dump.o):get_sht_desc
+ [20] 0x0000a428 (dwarf_dump.o):get_attr_desc
+ [21] 0x0000a428 (dwarf_dump.o):get_form_desc
+ [22] 0x0000a428 (dwarf_dump.o):get_tag_desc
+ [23] 0x0000a428 (dwarf_dump.o):dwarf_dump_abbrev
+ [24] 0x0000a428 (dwarf_dump.o):dwarf_dump_symtab
+ [25] 0x0000a428 (dwarf_dump.o):dwarf_dump_dbgstr
+ [26] 0x0000a428 (dwarf_dump.o):dwarf_dump_strtab
+ [27] 0x0000a428 (dwarf_dump.o):dwarf_dump_shstrtab
+ [28] 0x0000a428 (dwarf_dump.o):dwarf_dump_raw
+ [29] 0x0000a428 (dwarf_dump.o):dwarf_dump_av
+ [30] 0x0000a428 (dwarf_dump.o):dwarf_dump_die
+ [31] 0x0000a428 (dwarf_dump.o):dwarf_dump_info
+ [32] 0x0000a428 (dwarf_dump.o):dwarf_dump
+ [33] 0x0000a428 (dwarf_dump.o):dwarf_dump_tree
+ [34] 0x0000a428 (dwarf_dump.o):dwarf_dump_die_at_offset
+ [35] 0x0000ffec (dwarf_die.o):dwarf_dieoffset
+ [36] 0x0000ffec (dwarf_die.o):dwarf_child
+ [37] 0x0000ffec (dwarf_die.o):dwarf_tag
+ [38] 0x0000ffec (dwarf_die.o):dwarf_siblingof
+ [39] 0x0000ffec (dwarf_die.o):dwarf_die_find
+ [40] 0x0000ffec (dwarf_die.o):dwarf_die_add
+ [41] 0x00010d80 (dwarf_cu.o):dwarf_next_cu_header
+ [42] 0x0001144c (dwarf_errmsg.o):dwarf_errmsg
+ [43] 0x0001144c (dwarf_errmsg.o):_libdwarf_errors
diff --git a/test/elfdump/ts/archive2/@S@v%libdwarf.a.err b/test/elfdump/ts/archive2/@S@v%libdwarf.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive2/@S@v%libdwarf.a.err
diff --git a/test/elfdump/ts/archive2/@S@v%libdwarf.a.out b/test/elfdump/ts/archive2/@S@v%libdwarf.a.out
new file mode 100644
index 0000000000000..cc108c437ca3b
--- /dev/null
+++ b/test/elfdump/ts/archive2/@S@v%libdwarf.a.out
@@ -0,0 +1,26 @@
+
+libdwarf.a(dwarf_loc.o):
+
+libdwarf.a(dwarf_init.o):
+
+libdwarf.a(dwarf_form.o):
+
+libdwarf.a(dwarf_finish.o):
+
+libdwarf.a(dwarf_errno.o):
+
+libdwarf.a(dwarf_dealloc.o):
+
+libdwarf.a(dwarf_attrval.o):
+
+libdwarf.a(dwarf_attr.o):
+
+libdwarf.a(dwarf_abbrev.o):
+
+libdwarf.a(dwarf_dump.o):
+
+libdwarf.a(dwarf_die.o):
+
+libdwarf.a(dwarf_cu.o):
+
+libdwarf.a(dwarf_errmsg.o):
diff --git a/test/elfdump/ts/archive2/@c%libdwarf.a.err b/test/elfdump/ts/archive2/@c%libdwarf.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive2/@c%libdwarf.a.err
diff --git a/test/elfdump/ts/archive2/@c%libdwarf.a.out b/test/elfdump/ts/archive2/@c%libdwarf.a.out
new file mode 100644
index 0000000000000..113f1665d8b22
--- /dev/null
+++ b/test/elfdump/ts/archive2/@c%libdwarf.a.out
@@ -0,0 +1,2032 @@
+
+libdwarf.a(dwarf_loc.o):
+
+section header:
+
+entry: 0
+ sh_name:
+ sh_type: SHT_NULL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 0
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 0
+ sh_entsize: 0
+
+entry: 1
+ sh_name: .text
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0
+ sh_offset: 64
+ sh_size: 1276
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 2
+ sh_name: .rela.text
+ sh_type: SHT_RELA
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 5688
+ sh_size: 480
+ sh_link: 12
+ sh_info: 1
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 3
+ sh_name: .data
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 1340
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 4
+ sh_name: .bss
+ sh_type: SHT_NOBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 1340
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 5
+ sh_name: .rodata
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 1344
+ sh_size: 2401
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 6
+ sh_name: .rela.rodata
+ sh_type: SHT_RELA
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 6168
+ sh_size: 7080
+ sh_link: 12
+ sh_info: 5
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 7
+ sh_name: .rodata.str1.1
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_MERGE|SHF_STRINGS
+ sh_addr: 0
+ sh_offset: 3745
+ sh_size: 29
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 1
+
+entry: 8
+ sh_name: .eh_frame
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 3776
+ sh_size: 184
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 9
+ sh_name: .rela.eh_frame
+ sh_type: SHT_RELA
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 13248
+ sh_size: 120
+ sh_link: 12
+ sh_info: 8
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 10
+ sh_name: .comment
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 3960
+ sh_size: 38
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 11
+ sh_name: .shstrtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 3998
+ sh_size: 101
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 12
+ sh_name: .symtab
+ sh_type: SHT_SYMTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 5000
+ sh_size: 504
+ sh_link: 13
+ sh_info: 13
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 13
+ sh_name: .strtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 5504
+ sh_size: 181
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+libdwarf.a(dwarf_init.o):
+
+section header:
+
+entry: 0
+ sh_name:
+ sh_type: SHT_NULL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 0
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 0
+ sh_entsize: 0
+
+entry: 1
+ sh_name: .text
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0
+ sh_offset: 64
+ sh_size: 4597
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 2
+ sh_name: .rela.text
+ sh_type: SHT_RELA
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 8680
+ sh_size: 2064
+ sh_link: 13
+ sh_info: 1
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 3
+ sh_name: .data
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 4664
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 4
+ sh_name: .bss
+ sh_type: SHT_NOBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 4664
+ sh_size: 16
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 5
+ sh_name: .rodata
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 4672
+ sh_size: 432
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 32
+ sh_entsize: 0
+
+entry: 6
+ sh_name: .rela.rodata
+ sh_type: SHT_RELA
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 10744
+ sh_size: 984
+ sh_link: 13
+ sh_info: 5
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 7
+ sh_name: .rodata.str1.8
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_MERGE|SHF_STRINGS
+ sh_addr: 0
+ sh_offset: 5104
+ sh_size: 47
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 1
+
+entry: 8
+ sh_name: .rodata.str1.1
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_MERGE|SHF_STRINGS
+ sh_addr: 0
+ sh_offset: 5151
+ sh_size: 243
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 1
+
+entry: 9
+ sh_name: .eh_frame
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 5400
+ sh_size: 304
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 10
+ sh_name: .rela.eh_frame
+ sh_type: SHT_RELA
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 11728
+ sh_size: 216
+ sh_link: 13
+ sh_info: 9
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 11
+ sh_name: .comment
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 5704
+ sh_size: 38
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 12
+ sh_name: .shstrtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 5742
+ sh_size: 116
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 13
+ sh_name: .symtab
+ sh_type: SHT_SYMTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 6824
+ sh_size: 1272
+ sh_link: 14
+ sh_info: 26
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 14
+ sh_name: .strtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 8096
+ sh_size: 583
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+libdwarf.a(dwarf_form.o):
+
+section header:
+
+entry: 0
+ sh_name:
+ sh_type: SHT_NULL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 0
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 0
+ sh_entsize: 0
+
+entry: 1
+ sh_name: .text
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0
+ sh_offset: 64
+ sh_size: 72
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 2
+ sh_name: .rela.text
+ sh_type: SHT_RELA
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 1376
+ sh_size: 24
+ sh_link: 10
+ sh_info: 1
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 3
+ sh_name: .data
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 136
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 4
+ sh_name: .bss
+ sh_type: SHT_NOBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 136
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 5
+ sh_name: .rodata
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 136
+ sh_size: 15
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 6
+ sh_name: .eh_frame
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 152
+ sh_size: 48
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 7
+ sh_name: .rela.eh_frame
+ sh_type: SHT_RELA
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 1400
+ sh_size: 24
+ sh_link: 10
+ sh_info: 6
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 8
+ sh_name: .comment
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 200
+ sh_size: 38
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 9
+ sh_name: .shstrtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 238
+ sh_size: 81
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 10
+ sh_name: .symtab
+ sh_type: SHT_SYMTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 1088
+ sh_size: 240
+ sh_link: 11
+ sh_info: 9
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 11
+ sh_name: .strtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 1328
+ sh_size: 43
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+libdwarf.a(dwarf_finish.o):
+
+section header:
+
+entry: 0
+ sh_name:
+ sh_type: SHT_NULL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 0
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 0
+ sh_entsize: 0
+
+entry: 1
+ sh_name: .text
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0
+ sh_offset: 64
+ sh_size: 851
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 2
+ sh_name: .rela.text
+ sh_type: SHT_RELA
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 2248
+ sh_size: 288
+ sh_link: 10
+ sh_info: 1
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 3
+ sh_name: .data
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 916
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 4
+ sh_name: .bss
+ sh_type: SHT_NOBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 916
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 5
+ sh_name: .rodata
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 916
+ sh_size: 13
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 6
+ sh_name: .eh_frame
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 936
+ sh_size: 80
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 7
+ sh_name: .rela.eh_frame
+ sh_type: SHT_RELA
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 2536
+ sh_size: 24
+ sh_link: 10
+ sh_info: 6
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 8
+ sh_name: .comment
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 1016
+ sh_size: 38
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 9
+ sh_name: .shstrtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 1054
+ sh_size: 81
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 10
+ sh_name: .symtab
+ sh_type: SHT_SYMTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 1904
+ sh_size: 288
+ sh_link: 11
+ sh_info: 9
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 11
+ sh_name: .strtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 2192
+ sh_size: 56
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+libdwarf.a(dwarf_errno.o):
+
+section header:
+
+entry: 0
+ sh_name:
+ sh_type: SHT_NULL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 0
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 0
+ sh_entsize: 0
+
+entry: 1
+ sh_name: .text
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0
+ sh_offset: 64
+ sh_size: 14
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 2
+ sh_name: .data
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 80
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 3
+ sh_name: .bss
+ sh_type: SHT_NOBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 80
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 4
+ sh_name: .eh_frame
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 80
+ sh_size: 48
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 5
+ sh_name: .rela.eh_frame
+ sh_type: SHT_RELA
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 1104
+ sh_size: 24
+ sh_link: 8
+ sh_info: 4
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 6
+ sh_name: .comment
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 128
+ sh_size: 38
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 7
+ sh_name: .shstrtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 166
+ sh_size: 68
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 8
+ sh_name: .symtab
+ sh_type: SHT_SYMTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 880
+ sh_size: 192
+ sh_link: 9
+ sh_info: 7
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 9
+ sh_name: .strtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 1072
+ sh_size: 27
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+libdwarf.a(dwarf_dealloc.o):
+
+section header:
+
+entry: 0
+ sh_name:
+ sh_type: SHT_NULL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 0
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 0
+ sh_entsize: 0
+
+entry: 1
+ sh_name: .text
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0
+ sh_offset: 64
+ sh_size: 2
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 2
+ sh_name: .data
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 68
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 3
+ sh_name: .bss
+ sh_type: SHT_NOBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 68
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 4
+ sh_name: .eh_frame
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 72
+ sh_size: 48
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 5
+ sh_name: .rela.eh_frame
+ sh_type: SHT_RELA
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 1096
+ sh_size: 24
+ sh_link: 8
+ sh_info: 4
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 6
+ sh_name: .comment
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 120
+ sh_size: 38
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 7
+ sh_name: .shstrtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 158
+ sh_size: 68
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 8
+ sh_name: .symtab
+ sh_type: SHT_SYMTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 872
+ sh_size: 192
+ sh_link: 9
+ sh_info: 7
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 9
+ sh_name: .strtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 1064
+ sh_size: 31
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+libdwarf.a(dwarf_attrval.o):
+
+section header:
+
+entry: 0
+ sh_name:
+ sh_type: SHT_NULL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 0
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 0
+ sh_entsize: 0
+
+entry: 1
+ sh_name: .text
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0
+ sh_offset: 64
+ sh_size: 1752
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 2
+ sh_name: .rela.text
+ sh_type: SHT_RELA
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 4032
+ sh_size: 1032
+ sh_link: 11
+ sh_info: 1
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 3
+ sh_name: .data
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 1816
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 4
+ sh_name: .bss
+ sh_type: SHT_NOBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 1816
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 5
+ sh_name: .rodata.str1.8
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_MERGE|SHF_STRINGS
+ sh_addr: 0
+ sh_offset: 1816
+ sh_size: 46
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 1
+
+entry: 6
+ sh_name: .rodata
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 1872
+ sh_size: 146
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 7
+ sh_name: .eh_frame
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 2024
+ sh_size: 208
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 8
+ sh_name: .rela.eh_frame
+ sh_type: SHT_RELA
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 5064
+ sh_size: 144
+ sh_link: 11
+ sh_info: 7
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 9
+ sh_name: .comment
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 2232
+ sh_size: 38
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 10
+ sh_name: .shstrtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 2270
+ sh_size: 96
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 11
+ sh_name: .symtab
+ sh_type: SHT_SYMTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 3200
+ sh_size: 576
+ sh_link: 12
+ sh_info: 14
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 12
+ sh_name: .strtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 3776
+ sh_size: 251
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+libdwarf.a(dwarf_attr.o):
+
+section header:
+
+entry: 0
+ sh_name:
+ sh_type: SHT_NULL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 0
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 0
+ sh_entsize: 0
+
+entry: 1
+ sh_name: .text
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0
+ sh_offset: 64
+ sh_size: 385
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 2
+ sh_name: .rela.text
+ sh_type: SHT_RELA
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 1840
+ sh_size: 120
+ sh_link: 10
+ sh_info: 1
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 3
+ sh_name: .data
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 452
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 4
+ sh_name: .bss
+ sh_type: SHT_NOBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 452
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 5
+ sh_name: .rodata
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 452
+ sh_size: 26
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 6
+ sh_name: .eh_frame
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 480
+ sh_size: 80
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 7
+ sh_name: .rela.eh_frame
+ sh_type: SHT_RELA
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 1960
+ sh_size: 48
+ sh_link: 10
+ sh_info: 6
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 8
+ sh_name: .comment
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 560
+ sh_size: 38
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 9
+ sh_name: .shstrtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 598
+ sh_size: 81
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 10
+ sh_name: .symtab
+ sh_type: SHT_SYMTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 1448
+ sh_size: 312
+ sh_link: 11
+ sh_info: 10
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 11
+ sh_name: .strtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 1760
+ sh_size: 75
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+libdwarf.a(dwarf_abbrev.o):
+
+section header:
+
+entry: 0
+ sh_name:
+ sh_type: SHT_NULL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 0
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 0
+ sh_entsize: 0
+
+entry: 1
+ sh_name: .text
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0
+ sh_offset: 64
+ sh_size: 254
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 2
+ sh_name: .rela.text
+ sh_type: SHT_RELA
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 1680
+ sh_size: 48
+ sh_link: 10
+ sh_info: 1
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 3
+ sh_name: .data
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 320
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 4
+ sh_name: .bss
+ sh_type: SHT_NOBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 320
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 5
+ sh_name: .rodata
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 320
+ sh_size: 17
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 6
+ sh_name: .eh_frame
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 344
+ sh_size: 88
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 7
+ sh_name: .rela.eh_frame
+ sh_type: SHT_RELA
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 1728
+ sh_size: 48
+ sh_link: 10
+ sh_info: 6
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 8
+ sh_name: .comment
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 432
+ sh_size: 38
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 9
+ sh_name: .shstrtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 470
+ sh_size: 81
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 10
+ sh_name: .symtab
+ sh_type: SHT_SYMTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 1320
+ sh_size: 288
+ sh_link: 11
+ sh_info: 9
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 11
+ sh_name: .strtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 1608
+ sh_size: 72
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+libdwarf.a(dwarf_dump.o):
+
+section header:
+
+entry: 0
+ sh_name:
+ sh_type: SHT_NULL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 0
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 0
+ sh_entsize: 0
+
+entry: 1
+ sh_name: .text
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0
+ sh_offset: 64
+ sh_size: 3205
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 2
+ sh_name: .rela.text
+ sh_type: SHT_RELA
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 11696
+ sh_size: 6816
+ sh_link: 13
+ sh_info: 1
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 3
+ sh_name: .data
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 3272
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 4
+ sh_name: .bss
+ sh_type: SHT_NOBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 3272
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 5
+ sh_name: .rodata.str1.1
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_MERGE|SHF_STRINGS
+ sh_addr: 0
+ sh_offset: 3272
+ sh_size: 3054
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 1
+
+entry: 6
+ sh_name: .rodata.str1.8
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_MERGE|SHF_STRINGS
+ sh_addr: 0
+ sh_offset: 6328
+ sh_size: 794
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 1
+
+entry: 7
+ sh_name: .rodata
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 7128
+ sh_size: 1504
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 8
+ sh_name: .rela.rodata
+ sh_type: SHT_RELA
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 18512
+ sh_size: 4512
+ sh_link: 13
+ sh_info: 7
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 9
+ sh_name: .eh_frame
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 8632
+ sh_size: 568
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 10
+ sh_name: .rela.eh_frame
+ sh_type: SHT_RELA
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 23024
+ sh_size: 408
+ sh_link: 13
+ sh_info: 9
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 11
+ sh_name: .comment
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 9200
+ sh_size: 38
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 12
+ sh_name: .shstrtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 9238
+ sh_size: 116
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 13
+ sh_name: .symtab
+ sh_type: SHT_SYMTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 10320
+ sh_size: 936
+ sh_link: 14
+ sh_info: 11
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 14
+ sh_name: .strtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 11256
+ sh_size: 440
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+libdwarf.a(dwarf_die.o):
+
+section header:
+
+entry: 0
+ sh_name:
+ sh_type: SHT_NULL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 0
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 0
+ sh_entsize: 0
+
+entry: 1
+ sh_name: .text
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0
+ sh_offset: 64
+ sh_size: 942
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 2
+ sh_name: .rela.text
+ sh_type: SHT_RELA
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 2984
+ sh_size: 264
+ sh_link: 12
+ sh_info: 1
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 3
+ sh_name: .data
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 1008
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 4
+ sh_name: .bss
+ sh_type: SHT_NOBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 1008
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 5
+ sh_name: .rodata
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 1008
+ sh_size: 62
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 6
+ sh_name: .rela.rodata
+ sh_type: SHT_RELA
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 3248
+ sh_size: 24
+ sh_link: 12
+ sh_info: 5
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 7
+ sh_name: .rodata.str1.1
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_MERGE|SHF_STRINGS
+ sh_addr: 0
+ sh_offset: 1070
+ sh_size: 9
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 1
+
+entry: 8
+ sh_name: .eh_frame
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 1080
+ sh_size: 184
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 9
+ sh_name: .rela.eh_frame
+ sh_type: SHT_RELA
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 3272
+ sh_size: 144
+ sh_link: 12
+ sh_info: 8
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 10
+ sh_name: .comment
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 1264
+ sh_size: 38
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 11
+ sh_name: .shstrtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 1302
+ sh_size: 101
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 12
+ sh_name: .symtab
+ sh_type: SHT_SYMTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 2304
+ sh_size: 504
+ sh_link: 13
+ sh_info: 14
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 13
+ sh_name: .strtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 2808
+ sh_size: 169
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+libdwarf.a(dwarf_cu.o):
+
+section header:
+
+entry: 0
+ sh_name:
+ sh_type: SHT_NULL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 0
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 0
+ sh_entsize: 0
+
+entry: 1
+ sh_name: .text
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0
+ sh_offset: 64
+ sh_size: 267
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 2
+ sh_name: .rela.text
+ sh_type: SHT_RELA
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 1584
+ sh_size: 72
+ sh_link: 10
+ sh_info: 1
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 3
+ sh_name: .data
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 332
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 4
+ sh_name: .bss
+ sh_type: SHT_NOBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 332
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 5
+ sh_name: .rodata
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 336
+ sh_size: 21
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 6
+ sh_name: .eh_frame
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 360
+ sh_size: 48
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 7
+ sh_name: .rela.eh_frame
+ sh_type: SHT_RELA
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 1656
+ sh_size: 24
+ sh_link: 10
+ sh_info: 6
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 8
+ sh_name: .comment
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 408
+ sh_size: 38
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 9
+ sh_name: .shstrtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 446
+ sh_size: 81
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 10
+ sh_name: .symtab
+ sh_type: SHT_SYMTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 1296
+ sh_size: 240
+ sh_link: 11
+ sh_info: 9
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 11
+ sh_name: .strtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 1536
+ sh_size: 47
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+libdwarf.a(dwarf_errmsg.o):
+
+section header:
+
+entry: 0
+ sh_name:
+ sh_type: SHT_NULL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 0
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 0
+ sh_entsize: 0
+
+entry: 1
+ sh_name: .text
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0
+ sh_offset: 64
+ sh_size: 199
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 2
+ sh_name: .rela.text
+ sh_type: SHT_RELA
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 2264
+ sh_size: 192
+ sh_link: 12
+ sh_info: 1
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 3
+ sh_name: .data
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 288
+ sh_size: 120
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 32
+ sh_entsize: 0
+
+entry: 4
+ sh_name: .rela.data
+ sh_type: SHT_RELA
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 2456
+ sh_size: 360
+ sh_link: 12
+ sh_info: 3
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 5
+ sh_name: .bss
+ sh_type: SHT_NOBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 408
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 6
+ sh_name: .rodata.str1.1
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_MERGE|SHF_STRINGS
+ sh_addr: 0
+ sh_offset: 408
+ sh_size: 274
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 1
+
+entry: 7
+ sh_name: .rodata.str1.8
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_MERGE|SHF_STRINGS
+ sh_addr: 0
+ sh_offset: 688
+ sh_size: 84
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 1
+
+entry: 8
+ sh_name: .eh_frame
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0
+ sh_offset: 776
+ sh_size: 56
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 9
+ sh_name: .rela.eh_frame
+ sh_type: SHT_RELA
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 2816
+ sh_size: 24
+ sh_link: 12
+ sh_info: 8
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 10
+ sh_name: .comment
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 832
+ sh_size: 38
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 11
+ sh_name: .shstrtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 870
+ sh_size: 108
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 12
+ sh_name: .symtab
+ sh_type: SHT_SYMTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 1880
+ sh_size: 312
+ sh_link: 13
+ sh_info: 9
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 13
+ sh_name: .strtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 2192
+ sh_size: 66
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
diff --git a/test/elfdump/ts/archive2/@d%libdwarf.a.err b/test/elfdump/ts/archive2/@d%libdwarf.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive2/@d%libdwarf.a.err
diff --git a/test/elfdump/ts/archive2/@d%libdwarf.a.out b/test/elfdump/ts/archive2/@d%libdwarf.a.out
new file mode 100644
index 0000000000000..cc108c437ca3b
--- /dev/null
+++ b/test/elfdump/ts/archive2/@d%libdwarf.a.out
@@ -0,0 +1,26 @@
+
+libdwarf.a(dwarf_loc.o):
+
+libdwarf.a(dwarf_init.o):
+
+libdwarf.a(dwarf_form.o):
+
+libdwarf.a(dwarf_finish.o):
+
+libdwarf.a(dwarf_errno.o):
+
+libdwarf.a(dwarf_dealloc.o):
+
+libdwarf.a(dwarf_attrval.o):
+
+libdwarf.a(dwarf_attr.o):
+
+libdwarf.a(dwarf_abbrev.o):
+
+libdwarf.a(dwarf_dump.o):
+
+libdwarf.a(dwarf_die.o):
+
+libdwarf.a(dwarf_cu.o):
+
+libdwarf.a(dwarf_errmsg.o):
diff --git a/test/elfdump/ts/archive2/@e%libdwarf.a.err b/test/elfdump/ts/archive2/@e%libdwarf.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive2/@e%libdwarf.a.err
diff --git a/test/elfdump/ts/archive2/@e%libdwarf.a.out b/test/elfdump/ts/archive2/@e%libdwarf.a.out
new file mode 100644
index 0000000000000..813d71ac10971
--- /dev/null
+++ b/test/elfdump/ts/archive2/@e%libdwarf.a.out
@@ -0,0 +1,247 @@
+
+libdwarf.a(dwarf_loc.o):
+
+elf header:
+
+ e_ident: ELFCLASS64 ELFDATA2LSB ELFOSABI_FREEBSD
+ e_type: ET_REL
+ e_machine: EM_X86_64
+ e_version: EV_CURRENT
+ e_entry: 0
+ e_phoff: 0
+ e_shoff: 4104
+ e_flags: 0
+ e_ehsize: 64
+ e_phentsize: 0
+ e_phnum: 0
+ e_shentsize: 64
+ e_shnum: 14
+ e_shstrndx: 11
+
+libdwarf.a(dwarf_init.o):
+
+elf header:
+
+ e_ident: ELFCLASS64 ELFDATA2LSB ELFOSABI_FREEBSD
+ e_type: ET_REL
+ e_machine: EM_X86_64
+ e_version: EV_CURRENT
+ e_entry: 0
+ e_phoff: 0
+ e_shoff: 5864
+ e_flags: 0
+ e_ehsize: 64
+ e_phentsize: 0
+ e_phnum: 0
+ e_shentsize: 64
+ e_shnum: 15
+ e_shstrndx: 12
+
+libdwarf.a(dwarf_form.o):
+
+elf header:
+
+ e_ident: ELFCLASS64 ELFDATA2LSB ELFOSABI_FREEBSD
+ e_type: ET_REL
+ e_machine: EM_X86_64
+ e_version: EV_CURRENT
+ e_entry: 0
+ e_phoff: 0
+ e_shoff: 320
+ e_flags: 0
+ e_ehsize: 64
+ e_phentsize: 0
+ e_phnum: 0
+ e_shentsize: 64
+ e_shnum: 12
+ e_shstrndx: 9
+
+libdwarf.a(dwarf_finish.o):
+
+elf header:
+
+ e_ident: ELFCLASS64 ELFDATA2LSB ELFOSABI_FREEBSD
+ e_type: ET_REL
+ e_machine: EM_X86_64
+ e_version: EV_CURRENT
+ e_entry: 0
+ e_phoff: 0
+ e_shoff: 1136
+ e_flags: 0
+ e_ehsize: 64
+ e_phentsize: 0
+ e_phnum: 0
+ e_shentsize: 64
+ e_shnum: 12
+ e_shstrndx: 9
+
+libdwarf.a(dwarf_errno.o):
+
+elf header:
+
+ e_ident: ELFCLASS64 ELFDATA2LSB ELFOSABI_FREEBSD
+ e_type: ET_REL
+ e_machine: EM_X86_64
+ e_version: EV_CURRENT
+ e_entry: 0
+ e_phoff: 0
+ e_shoff: 240
+ e_flags: 0
+ e_ehsize: 64
+ e_phentsize: 0
+ e_phnum: 0
+ e_shentsize: 64
+ e_shnum: 10
+ e_shstrndx: 7
+
+libdwarf.a(dwarf_dealloc.o):
+
+elf header:
+
+ e_ident: ELFCLASS64 ELFDATA2LSB ELFOSABI_FREEBSD
+ e_type: ET_REL
+ e_machine: EM_X86_64
+ e_version: EV_CURRENT
+ e_entry: 0
+ e_phoff: 0
+ e_shoff: 232
+ e_flags: 0
+ e_ehsize: 64
+ e_phentsize: 0
+ e_phnum: 0
+ e_shentsize: 64
+ e_shnum: 10
+ e_shstrndx: 7
+
+libdwarf.a(dwarf_attrval.o):
+
+elf header:
+
+ e_ident: ELFCLASS64 ELFDATA2LSB ELFOSABI_FREEBSD
+ e_type: ET_REL
+ e_machine: EM_X86_64
+ e_version: EV_CURRENT
+ e_entry: 0
+ e_phoff: 0
+ e_shoff: 2368
+ e_flags: 0
+ e_ehsize: 64
+ e_phentsize: 0
+ e_phnum: 0
+ e_shentsize: 64
+ e_shnum: 13
+ e_shstrndx: 10
+
+libdwarf.a(dwarf_attr.o):
+
+elf header:
+
+ e_ident: ELFCLASS64 ELFDATA2LSB ELFOSABI_FREEBSD
+ e_type: ET_REL
+ e_machine: EM_X86_64
+ e_version: EV_CURRENT
+ e_entry: 0
+ e_phoff: 0
+ e_shoff: 680
+ e_flags: 0
+ e_ehsize: 64
+ e_phentsize: 0
+ e_phnum: 0
+ e_shentsize: 64
+ e_shnum: 12
+ e_shstrndx: 9
+
+libdwarf.a(dwarf_abbrev.o):
+
+elf header:
+
+ e_ident: ELFCLASS64 ELFDATA2LSB ELFOSABI_FREEBSD
+ e_type: ET_REL
+ e_machine: EM_X86_64
+ e_version: EV_CURRENT
+ e_entry: 0
+ e_phoff: 0
+ e_shoff: 552
+ e_flags: 0
+ e_ehsize: 64
+ e_phentsize: 0
+ e_phnum: 0
+ e_shentsize: 64
+ e_shnum: 12
+ e_shstrndx: 9
+
+libdwarf.a(dwarf_dump.o):
+
+elf header:
+
+ e_ident: ELFCLASS64 ELFDATA2LSB ELFOSABI_FREEBSD
+ e_type: ET_REL
+ e_machine: EM_X86_64
+ e_version: EV_CURRENT
+ e_entry: 0
+ e_phoff: 0
+ e_shoff: 9360
+ e_flags: 0
+ e_ehsize: 64
+ e_phentsize: 0
+ e_phnum: 0
+ e_shentsize: 64
+ e_shnum: 15
+ e_shstrndx: 12
+
+libdwarf.a(dwarf_die.o):
+
+elf header:
+
+ e_ident: ELFCLASS64 ELFDATA2LSB ELFOSABI_FREEBSD
+ e_type: ET_REL
+ e_machine: EM_X86_64
+ e_version: EV_CURRENT
+ e_entry: 0
+ e_phoff: 0
+ e_shoff: 1408
+ e_flags: 0
+ e_ehsize: 64
+ e_phentsize: 0
+ e_phnum: 0
+ e_shentsize: 64
+ e_shnum: 14
+ e_shstrndx: 11
+
+libdwarf.a(dwarf_cu.o):
+
+elf header:
+
+ e_ident: ELFCLASS64 ELFDATA2LSB ELFOSABI_FREEBSD
+ e_type: ET_REL
+ e_machine: EM_X86_64
+ e_version: EV_CURRENT
+ e_entry: 0
+ e_phoff: 0
+ e_shoff: 528
+ e_flags: 0
+ e_ehsize: 64
+ e_phentsize: 0
+ e_phnum: 0
+ e_shentsize: 64
+ e_shnum: 12
+ e_shstrndx: 9
+
+libdwarf.a(dwarf_errmsg.o):
+
+elf header:
+
+ e_ident: ELFCLASS64 ELFDATA2LSB ELFOSABI_FREEBSD
+ e_type: ET_REL
+ e_machine: EM_X86_64
+ e_version: EV_CURRENT
+ e_entry: 0
+ e_phoff: 0
+ e_shoff: 984
+ e_flags: 0
+ e_ehsize: 64
+ e_phentsize: 0
+ e_phnum: 0
+ e_shentsize: 64
+ e_shnum: 14
+ e_shstrndx: 11
diff --git a/test/elfdump/ts/archive2/@h%libdwarf.a.err b/test/elfdump/ts/archive2/@h%libdwarf.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive2/@h%libdwarf.a.err
diff --git a/test/elfdump/ts/archive2/@h%libdwarf.a.out b/test/elfdump/ts/archive2/@h%libdwarf.a.out
new file mode 100644
index 0000000000000..cc108c437ca3b
--- /dev/null
+++ b/test/elfdump/ts/archive2/@h%libdwarf.a.out
@@ -0,0 +1,26 @@
+
+libdwarf.a(dwarf_loc.o):
+
+libdwarf.a(dwarf_init.o):
+
+libdwarf.a(dwarf_form.o):
+
+libdwarf.a(dwarf_finish.o):
+
+libdwarf.a(dwarf_errno.o):
+
+libdwarf.a(dwarf_dealloc.o):
+
+libdwarf.a(dwarf_attrval.o):
+
+libdwarf.a(dwarf_attr.o):
+
+libdwarf.a(dwarf_abbrev.o):
+
+libdwarf.a(dwarf_dump.o):
+
+libdwarf.a(dwarf_die.o):
+
+libdwarf.a(dwarf_cu.o):
+
+libdwarf.a(dwarf_errmsg.o):
diff --git a/test/elfdump/ts/archive2/@i%libdwarf.a.err b/test/elfdump/ts/archive2/@i%libdwarf.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive2/@i%libdwarf.a.err
diff --git a/test/elfdump/ts/archive2/@i%libdwarf.a.out b/test/elfdump/ts/archive2/@i%libdwarf.a.out
new file mode 100644
index 0000000000000..cc108c437ca3b
--- /dev/null
+++ b/test/elfdump/ts/archive2/@i%libdwarf.a.out
@@ -0,0 +1,26 @@
+
+libdwarf.a(dwarf_loc.o):
+
+libdwarf.a(dwarf_init.o):
+
+libdwarf.a(dwarf_form.o):
+
+libdwarf.a(dwarf_finish.o):
+
+libdwarf.a(dwarf_errno.o):
+
+libdwarf.a(dwarf_dealloc.o):
+
+libdwarf.a(dwarf_attrval.o):
+
+libdwarf.a(dwarf_attr.o):
+
+libdwarf.a(dwarf_abbrev.o):
+
+libdwarf.a(dwarf_dump.o):
+
+libdwarf.a(dwarf_die.o):
+
+libdwarf.a(dwarf_cu.o):
+
+libdwarf.a(dwarf_errmsg.o):
diff --git a/test/elfdump/ts/archive2/@k%libdwarf.a.err b/test/elfdump/ts/archive2/@k%libdwarf.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive2/@k%libdwarf.a.err
diff --git a/test/elfdump/ts/archive2/@k%libdwarf.a.out b/test/elfdump/ts/archive2/@k%libdwarf.a.out
new file mode 100644
index 0000000000000..57f07a9624f01
--- /dev/null
+++ b/test/elfdump/ts/archive2/@k%libdwarf.a.out
@@ -0,0 +1,52 @@
+
+libdwarf.a(dwarf_loc.o):
+
+elf checksum: 0xfe55
+
+libdwarf.a(dwarf_init.o):
+
+elf checksum: 0xceb1
+
+libdwarf.a(dwarf_form.o):
+
+elf checksum: 0x1d0e
+
+libdwarf.a(dwarf_finish.o):
+
+elf checksum: 0x4e0b
+
+libdwarf.a(dwarf_errno.o):
+
+elf checksum: 0xb96
+
+libdwarf.a(dwarf_dealloc.o):
+
+elf checksum: 0x402
+
+libdwarf.a(dwarf_attrval.o):
+
+elf checksum: 0x70d6
+
+libdwarf.a(dwarf_attr.o):
+
+elf checksum: 0x8a25
+
+libdwarf.a(dwarf_abbrev.o):
+
+elf checksum: 0x696f
+
+libdwarf.a(dwarf_dump.o):
+
+elf checksum: 0x697e
+
+libdwarf.a(dwarf_die.o):
+
+elf checksum: 0x4e47
+
+libdwarf.a(dwarf_cu.o):
+
+elf checksum: 0x5458
+
+libdwarf.a(dwarf_errmsg.o):
+
+elf checksum: 0xc68e
diff --git a/test/elfdump/ts/archive2/@n%libdwarf.a.err b/test/elfdump/ts/archive2/@n%libdwarf.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive2/@n%libdwarf.a.err
diff --git a/test/elfdump/ts/archive2/@n%libdwarf.a.out b/test/elfdump/ts/archive2/@n%libdwarf.a.out
new file mode 100644
index 0000000000000..cc108c437ca3b
--- /dev/null
+++ b/test/elfdump/ts/archive2/@n%libdwarf.a.out
@@ -0,0 +1,26 @@
+
+libdwarf.a(dwarf_loc.o):
+
+libdwarf.a(dwarf_init.o):
+
+libdwarf.a(dwarf_form.o):
+
+libdwarf.a(dwarf_finish.o):
+
+libdwarf.a(dwarf_errno.o):
+
+libdwarf.a(dwarf_dealloc.o):
+
+libdwarf.a(dwarf_attrval.o):
+
+libdwarf.a(dwarf_attr.o):
+
+libdwarf.a(dwarf_abbrev.o):
+
+libdwarf.a(dwarf_dump.o):
+
+libdwarf.a(dwarf_die.o):
+
+libdwarf.a(dwarf_cu.o):
+
+libdwarf.a(dwarf_errmsg.o):
diff --git a/test/elfdump/ts/archive2/@p%libdwarf.a.err b/test/elfdump/ts/archive2/@p%libdwarf.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive2/@p%libdwarf.a.err
diff --git a/test/elfdump/ts/archive2/@p%libdwarf.a.out b/test/elfdump/ts/archive2/@p%libdwarf.a.out
new file mode 100644
index 0000000000000..cc108c437ca3b
--- /dev/null
+++ b/test/elfdump/ts/archive2/@p%libdwarf.a.out
@@ -0,0 +1,26 @@
+
+libdwarf.a(dwarf_loc.o):
+
+libdwarf.a(dwarf_init.o):
+
+libdwarf.a(dwarf_form.o):
+
+libdwarf.a(dwarf_finish.o):
+
+libdwarf.a(dwarf_errno.o):
+
+libdwarf.a(dwarf_dealloc.o):
+
+libdwarf.a(dwarf_attrval.o):
+
+libdwarf.a(dwarf_attr.o):
+
+libdwarf.a(dwarf_abbrev.o):
+
+libdwarf.a(dwarf_dump.o):
+
+libdwarf.a(dwarf_die.o):
+
+libdwarf.a(dwarf_cu.o):
+
+libdwarf.a(dwarf_errmsg.o):
diff --git a/test/elfdump/ts/archive2/@r%libdwarf.a.err b/test/elfdump/ts/archive2/@r%libdwarf.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive2/@r%libdwarf.a.err
diff --git a/test/elfdump/ts/archive2/@r%libdwarf.a.out b/test/elfdump/ts/archive2/@r%libdwarf.a.out
new file mode 100644
index 0000000000000..77ac5b8dba56b
--- /dev/null
+++ b/test/elfdump/ts/archive2/@r%libdwarf.a.out
@@ -0,0 +1,5424 @@
+
+libdwarf.a(dwarf_loc.o):
+
+relocation with addend (.rela.text):
+
+entry: 0
+ r_offset: 0xf6
+ r_info: 0x70000000b
+ r_addend: 0
+
+entry: 1
+ r_offset: 0x176
+ r_info: 0x70000000b
+ r_addend: 2368
+
+entry: 2
+ r_offset: 0x191
+ r_info: 0xf00000002
+ r_addend: -4
+
+entry: 3
+ r_offset: 0x199
+ r_info: 0xf00000002
+ r_addend: -4
+
+entry: 4
+ r_offset: 0x20b
+ r_info: 0x1100000002
+ r_addend: -4
+
+entry: 5
+ r_offset: 0x226
+ r_info: 0x1200000002
+ r_addend: -4
+
+entry: 6
+ r_offset: 0x271
+ r_info: 0xd00000002
+ r_addend: -4
+
+entry: 7
+ r_offset: 0x286
+ r_info: 0x1200000002
+ r_addend: -4
+
+entry: 8
+ r_offset: 0x312
+ r_info: 0x70000000b
+ r_addend: 1184
+
+entry: 9
+ r_offset: 0x32c
+ r_info: 0x70000000b
+ r_addend: 2387
+
+entry: 10
+ r_offset: 0x409
+ r_info: 0x70000000b
+ r_addend: 2387
+
+entry: 11
+ r_offset: 0x425
+ r_info: 0x1300000002
+ r_addend: -4
+
+entry: 12
+ r_offset: 0x432
+ r_info: 0x70000000a
+ r_addend: 2387
+
+entry: 13
+ r_offset: 0x437
+ r_info: 0x90000000a
+ r_addend: 0
+
+entry: 14
+ r_offset: 0x43e
+ r_info: 0x1400000002
+ r_addend: -4
+
+entry: 15
+ r_offset: 0x453
+ r_info: 0x70000000b
+ r_addend: 2387
+
+entry: 16
+ r_offset: 0x466
+ r_info: 0xf00000002
+ r_addend: -4
+
+entry: 17
+ r_offset: 0x497
+ r_info: 0x70000000b
+ r_addend: 2387
+
+entry: 18
+ r_offset: 0x4c1
+ r_info: 0x70000000b
+ r_addend: 2387
+
+entry: 19
+ r_offset: 0x4e8
+ r_info: 0x70000000b
+ r_addend: 2387
+
+relocation with addend (.rela.rodata):
+
+entry: 0
+ r_offset: 0
+ r_info: 0x200000001
+ r_addend: 314
+
+entry: 1
+ r_offset: 0x8
+ r_info: 0x200000001
+ r_addend: 233
+
+entry: 2
+ r_offset: 0x10
+ r_info: 0x200000001
+ r_addend: 233
+
+entry: 3
+ r_offset: 0x18
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 4
+ r_offset: 0x20
+ r_info: 0x200000001
+ r_addend: 233
+
+entry: 5
+ r_offset: 0x28
+ r_info: 0x200000001
+ r_addend: 301
+
+entry: 6
+ r_offset: 0x30
+ r_info: 0x200000001
+ r_addend: 301
+
+entry: 7
+ r_offset: 0x38
+ r_info: 0x200000001
+ r_addend: 291
+
+entry: 8
+ r_offset: 0x40
+ r_info: 0x200000001
+ r_addend: 291
+
+entry: 9
+ r_offset: 0x48
+ r_info: 0x200000001
+ r_addend: 281
+
+entry: 10
+ r_offset: 0x50
+ r_info: 0x200000001
+ r_addend: 281
+
+entry: 11
+ r_offset: 0x58
+ r_info: 0x200000001
+ r_addend: 271
+
+entry: 12
+ r_offset: 0x60
+ r_info: 0x200000001
+ r_addend: 271
+
+entry: 13
+ r_offset: 0x68
+ r_info: 0x200000001
+ r_addend: 261
+
+entry: 14
+ r_offset: 0x70
+ r_info: 0x200000001
+ r_addend: 261
+
+entry: 15
+ r_offset: 0x78
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 16
+ r_offset: 0x80
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 17
+ r_offset: 0x88
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 18
+ r_offset: 0x90
+ r_info: 0x200000001
+ r_addend: 301
+
+entry: 19
+ r_offset: 0x98
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 20
+ r_offset: 0xa0
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 21
+ r_offset: 0xa8
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 22
+ r_offset: 0xb0
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 23
+ r_offset: 0xb8
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 24
+ r_offset: 0xc0
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 25
+ r_offset: 0xc8
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 26
+ r_offset: 0xd0
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 27
+ r_offset: 0xd8
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 28
+ r_offset: 0xe0
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 29
+ r_offset: 0xe8
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 30
+ r_offset: 0xf0
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 31
+ r_offset: 0xf8
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 32
+ r_offset: 0x100
+ r_info: 0x200000001
+ r_addend: 261
+
+entry: 33
+ r_offset: 0x108
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 34
+ r_offset: 0x110
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 35
+ r_offset: 0x118
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 36
+ r_offset: 0x120
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 37
+ r_offset: 0x128
+ r_info: 0x200000001
+ r_addend: 291
+
+entry: 38
+ r_offset: 0x130
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 39
+ r_offset: 0x138
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 40
+ r_offset: 0x140
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 41
+ r_offset: 0x148
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 42
+ r_offset: 0x150
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 43
+ r_offset: 0x158
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 44
+ r_offset: 0x160
+ r_info: 0x200000001
+ r_addend: 291
+
+entry: 45
+ r_offset: 0x168
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 46
+ r_offset: 0x170
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 47
+ r_offset: 0x178
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 48
+ r_offset: 0x180
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 49
+ r_offset: 0x188
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 50
+ r_offset: 0x190
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 51
+ r_offset: 0x198
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 52
+ r_offset: 0x1a0
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 53
+ r_offset: 0x1a8
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 54
+ r_offset: 0x1b0
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 55
+ r_offset: 0x1b8
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 56
+ r_offset: 0x1c0
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 57
+ r_offset: 0x1c8
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 58
+ r_offset: 0x1d0
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 59
+ r_offset: 0x1d8
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 60
+ r_offset: 0x1e0
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 61
+ r_offset: 0x1e8
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 62
+ r_offset: 0x1f0
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 63
+ r_offset: 0x1f8
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 64
+ r_offset: 0x200
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 65
+ r_offset: 0x208
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 66
+ r_offset: 0x210
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 67
+ r_offset: 0x218
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 68
+ r_offset: 0x220
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 69
+ r_offset: 0x228
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 70
+ r_offset: 0x230
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 71
+ r_offset: 0x238
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 72
+ r_offset: 0x240
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 73
+ r_offset: 0x248
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 74
+ r_offset: 0x250
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 75
+ r_offset: 0x258
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 76
+ r_offset: 0x260
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 77
+ r_offset: 0x268
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 78
+ r_offset: 0x270
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 79
+ r_offset: 0x278
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 80
+ r_offset: 0x280
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 81
+ r_offset: 0x288
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 82
+ r_offset: 0x290
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 83
+ r_offset: 0x298
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 84
+ r_offset: 0x2a0
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 85
+ r_offset: 0x2a8
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 86
+ r_offset: 0x2b0
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 87
+ r_offset: 0x2b8
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 88
+ r_offset: 0x2c0
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 89
+ r_offset: 0x2c8
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 90
+ r_offset: 0x2d0
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 91
+ r_offset: 0x2d8
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 92
+ r_offset: 0x2e0
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 93
+ r_offset: 0x2e8
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 94
+ r_offset: 0x2f0
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 95
+ r_offset: 0x2f8
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 96
+ r_offset: 0x300
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 97
+ r_offset: 0x308
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 98
+ r_offset: 0x310
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 99
+ r_offset: 0x318
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 100
+ r_offset: 0x320
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 101
+ r_offset: 0x328
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 102
+ r_offset: 0x330
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 103
+ r_offset: 0x338
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 104
+ r_offset: 0x340
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 105
+ r_offset: 0x348
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 106
+ r_offset: 0x350
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 107
+ r_offset: 0x358
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 108
+ r_offset: 0x360
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 109
+ r_offset: 0x368
+ r_info: 0x200000001
+ r_addend: 261
+
+entry: 110
+ r_offset: 0x370
+ r_info: 0x200000001
+ r_addend: 261
+
+entry: 111
+ r_offset: 0x378
+ r_info: 0x200000001
+ r_addend: 261
+
+entry: 112
+ r_offset: 0x380
+ r_info: 0x200000001
+ r_addend: 261
+
+entry: 113
+ r_offset: 0x388
+ r_info: 0x200000001
+ r_addend: 261
+
+entry: 114
+ r_offset: 0x390
+ r_info: 0x200000001
+ r_addend: 261
+
+entry: 115
+ r_offset: 0x398
+ r_info: 0x200000001
+ r_addend: 261
+
+entry: 116
+ r_offset: 0x3a0
+ r_info: 0x200000001
+ r_addend: 261
+
+entry: 117
+ r_offset: 0x3a8
+ r_info: 0x200000001
+ r_addend: 261
+
+entry: 118
+ r_offset: 0x3b0
+ r_info: 0x200000001
+ r_addend: 261
+
+entry: 119
+ r_offset: 0x3b8
+ r_info: 0x200000001
+ r_addend: 261
+
+entry: 120
+ r_offset: 0x3c0
+ r_info: 0x200000001
+ r_addend: 261
+
+entry: 121
+ r_offset: 0x3c8
+ r_info: 0x200000001
+ r_addend: 261
+
+entry: 122
+ r_offset: 0x3d0
+ r_info: 0x200000001
+ r_addend: 261
+
+entry: 123
+ r_offset: 0x3d8
+ r_info: 0x200000001
+ r_addend: 261
+
+entry: 124
+ r_offset: 0x3e0
+ r_info: 0x200000001
+ r_addend: 261
+
+entry: 125
+ r_offset: 0x3e8
+ r_info: 0x200000001
+ r_addend: 261
+
+entry: 126
+ r_offset: 0x3f0
+ r_info: 0x200000001
+ r_addend: 261
+
+entry: 127
+ r_offset: 0x3f8
+ r_info: 0x200000001
+ r_addend: 261
+
+entry: 128
+ r_offset: 0x400
+ r_info: 0x200000001
+ r_addend: 261
+
+entry: 129
+ r_offset: 0x408
+ r_info: 0x200000001
+ r_addend: 261
+
+entry: 130
+ r_offset: 0x410
+ r_info: 0x200000001
+ r_addend: 261
+
+entry: 131
+ r_offset: 0x418
+ r_info: 0x200000001
+ r_addend: 261
+
+entry: 132
+ r_offset: 0x420
+ r_info: 0x200000001
+ r_addend: 261
+
+entry: 133
+ r_offset: 0x428
+ r_info: 0x200000001
+ r_addend: 261
+
+entry: 134
+ r_offset: 0x430
+ r_info: 0x200000001
+ r_addend: 261
+
+entry: 135
+ r_offset: 0x438
+ r_info: 0x200000001
+ r_addend: 261
+
+entry: 136
+ r_offset: 0x440
+ r_info: 0x200000001
+ r_addend: 261
+
+entry: 137
+ r_offset: 0x448
+ r_info: 0x200000001
+ r_addend: 261
+
+entry: 138
+ r_offset: 0x450
+ r_info: 0x200000001
+ r_addend: 261
+
+entry: 139
+ r_offset: 0x458
+ r_info: 0x200000001
+ r_addend: 261
+
+entry: 140
+ r_offset: 0x460
+ r_info: 0x200000001
+ r_addend: 261
+
+entry: 141
+ r_offset: 0x468
+ r_info: 0x200000001
+ r_addend: 261
+
+entry: 142
+ r_offset: 0x470
+ r_info: 0x200000001
+ r_addend: 261
+
+entry: 143
+ r_offset: 0x478
+ r_info: 0x200000001
+ r_addend: 250
+
+entry: 144
+ r_offset: 0x480
+ r_info: 0x200000001
+ r_addend: 261
+
+entry: 145
+ r_offset: 0x488
+ r_info: 0x200000001
+ r_addend: 301
+
+entry: 146
+ r_offset: 0x490
+ r_info: 0x200000001
+ r_addend: 301
+
+entry: 147
+ r_offset: 0x498
+ r_info: 0x200000001
+ r_addend: 178
+
+entry: 148
+ r_offset: 0x4a0
+ r_info: 0x200000001
+ r_addend: 995
+
+entry: 149
+ r_offset: 0x4a8
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 150
+ r_offset: 0x4b0
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 151
+ r_offset: 0x4b8
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 152
+ r_offset: 0x4c0
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 153
+ r_offset: 0x4c8
+ r_info: 0x200000001
+ r_addend: 976
+
+entry: 154
+ r_offset: 0x4d0
+ r_info: 0x200000001
+ r_addend: 976
+
+entry: 155
+ r_offset: 0x4d8
+ r_info: 0x200000001
+ r_addend: 958
+
+entry: 156
+ r_offset: 0x4e0
+ r_info: 0x200000001
+ r_addend: 958
+
+entry: 157
+ r_offset: 0x4e8
+ r_info: 0x200000001
+ r_addend: 940
+
+entry: 158
+ r_offset: 0x4f0
+ r_info: 0x200000001
+ r_addend: 940
+
+entry: 159
+ r_offset: 0x4f8
+ r_info: 0x200000001
+ r_addend: 922
+
+entry: 160
+ r_offset: 0x500
+ r_info: 0x200000001
+ r_addend: 922
+
+entry: 161
+ r_offset: 0x508
+ r_info: 0x200000001
+ r_addend: 864
+
+entry: 162
+ r_offset: 0x510
+ r_info: 0x200000001
+ r_addend: 864
+
+entry: 163
+ r_offset: 0x518
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 164
+ r_offset: 0x520
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 165
+ r_offset: 0x528
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 166
+ r_offset: 0x530
+ r_info: 0x200000001
+ r_addend: 976
+
+entry: 167
+ r_offset: 0x538
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 168
+ r_offset: 0x540
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 169
+ r_offset: 0x548
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 170
+ r_offset: 0x550
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 171
+ r_offset: 0x558
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 172
+ r_offset: 0x560
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 173
+ r_offset: 0x568
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 174
+ r_offset: 0x570
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 175
+ r_offset: 0x578
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 176
+ r_offset: 0x580
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 177
+ r_offset: 0x588
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 178
+ r_offset: 0x590
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 179
+ r_offset: 0x598
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 180
+ r_offset: 0x5a0
+ r_info: 0x200000001
+ r_addend: 864
+
+entry: 181
+ r_offset: 0x5a8
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 182
+ r_offset: 0x5b0
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 183
+ r_offset: 0x5b8
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 184
+ r_offset: 0x5c0
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 185
+ r_offset: 0x5c8
+ r_info: 0x200000001
+ r_addend: 958
+
+entry: 186
+ r_offset: 0x5d0
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 187
+ r_offset: 0x5d8
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 188
+ r_offset: 0x5e0
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 189
+ r_offset: 0x5e8
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 190
+ r_offset: 0x5f0
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 191
+ r_offset: 0x5f8
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 192
+ r_offset: 0x600
+ r_info: 0x200000001
+ r_addend: 958
+
+entry: 193
+ r_offset: 0x608
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 194
+ r_offset: 0x610
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 195
+ r_offset: 0x618
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 196
+ r_offset: 0x620
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 197
+ r_offset: 0x628
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 198
+ r_offset: 0x630
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 199
+ r_offset: 0x638
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 200
+ r_offset: 0x640
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 201
+ r_offset: 0x648
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 202
+ r_offset: 0x650
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 203
+ r_offset: 0x658
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 204
+ r_offset: 0x660
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 205
+ r_offset: 0x668
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 206
+ r_offset: 0x670
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 207
+ r_offset: 0x678
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 208
+ r_offset: 0x680
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 209
+ r_offset: 0x688
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 210
+ r_offset: 0x690
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 211
+ r_offset: 0x698
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 212
+ r_offset: 0x6a0
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 213
+ r_offset: 0x6a8
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 214
+ r_offset: 0x6b0
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 215
+ r_offset: 0x6b8
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 216
+ r_offset: 0x6c0
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 217
+ r_offset: 0x6c8
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 218
+ r_offset: 0x6d0
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 219
+ r_offset: 0x6d8
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 220
+ r_offset: 0x6e0
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 221
+ r_offset: 0x6e8
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 222
+ r_offset: 0x6f0
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 223
+ r_offset: 0x6f8
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 224
+ r_offset: 0x700
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 225
+ r_offset: 0x708
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 226
+ r_offset: 0x710
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 227
+ r_offset: 0x718
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 228
+ r_offset: 0x720
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 229
+ r_offset: 0x728
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 230
+ r_offset: 0x730
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 231
+ r_offset: 0x738
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 232
+ r_offset: 0x740
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 233
+ r_offset: 0x748
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 234
+ r_offset: 0x750
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 235
+ r_offset: 0x758
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 236
+ r_offset: 0x760
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 237
+ r_offset: 0x768
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 238
+ r_offset: 0x770
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 239
+ r_offset: 0x778
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 240
+ r_offset: 0x780
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 241
+ r_offset: 0x788
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 242
+ r_offset: 0x790
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 243
+ r_offset: 0x798
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 244
+ r_offset: 0x7a0
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 245
+ r_offset: 0x7a8
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 246
+ r_offset: 0x7b0
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 247
+ r_offset: 0x7b8
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 248
+ r_offset: 0x7c0
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 249
+ r_offset: 0x7c8
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 250
+ r_offset: 0x7d0
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 251
+ r_offset: 0x7d8
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 252
+ r_offset: 0x7e0
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 253
+ r_offset: 0x7e8
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 254
+ r_offset: 0x7f0
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 255
+ r_offset: 0x7f8
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 256
+ r_offset: 0x800
+ r_info: 0x200000001
+ r_addend: 712
+
+entry: 257
+ r_offset: 0x808
+ r_info: 0x200000001
+ r_addend: 864
+
+entry: 258
+ r_offset: 0x810
+ r_info: 0x200000001
+ r_addend: 864
+
+entry: 259
+ r_offset: 0x818
+ r_info: 0x200000001
+ r_addend: 864
+
+entry: 260
+ r_offset: 0x820
+ r_info: 0x200000001
+ r_addend: 864
+
+entry: 261
+ r_offset: 0x828
+ r_info: 0x200000001
+ r_addend: 864
+
+entry: 262
+ r_offset: 0x830
+ r_info: 0x200000001
+ r_addend: 864
+
+entry: 263
+ r_offset: 0x838
+ r_info: 0x200000001
+ r_addend: 864
+
+entry: 264
+ r_offset: 0x840
+ r_info: 0x200000001
+ r_addend: 864
+
+entry: 265
+ r_offset: 0x848
+ r_info: 0x200000001
+ r_addend: 864
+
+entry: 266
+ r_offset: 0x850
+ r_info: 0x200000001
+ r_addend: 864
+
+entry: 267
+ r_offset: 0x858
+ r_info: 0x200000001
+ r_addend: 864
+
+entry: 268
+ r_offset: 0x860
+ r_info: 0x200000001
+ r_addend: 864
+
+entry: 269
+ r_offset: 0x868
+ r_info: 0x200000001
+ r_addend: 864
+
+entry: 270
+ r_offset: 0x870
+ r_info: 0x200000001
+ r_addend: 864
+
+entry: 271
+ r_offset: 0x878
+ r_info: 0x200000001
+ r_addend: 864
+
+entry: 272
+ r_offset: 0x880
+ r_info: 0x200000001
+ r_addend: 864
+
+entry: 273
+ r_offset: 0x888
+ r_info: 0x200000001
+ r_addend: 864
+
+entry: 274
+ r_offset: 0x890
+ r_info: 0x200000001
+ r_addend: 864
+
+entry: 275
+ r_offset: 0x898
+ r_info: 0x200000001
+ r_addend: 864
+
+entry: 276
+ r_offset: 0x8a0
+ r_info: 0x200000001
+ r_addend: 864
+
+entry: 277
+ r_offset: 0x8a8
+ r_info: 0x200000001
+ r_addend: 864
+
+entry: 278
+ r_offset: 0x8b0
+ r_info: 0x200000001
+ r_addend: 864
+
+entry: 279
+ r_offset: 0x8b8
+ r_info: 0x200000001
+ r_addend: 864
+
+entry: 280
+ r_offset: 0x8c0
+ r_info: 0x200000001
+ r_addend: 864
+
+entry: 281
+ r_offset: 0x8c8
+ r_info: 0x200000001
+ r_addend: 864
+
+entry: 282
+ r_offset: 0x8d0
+ r_info: 0x200000001
+ r_addend: 864
+
+entry: 283
+ r_offset: 0x8d8
+ r_info: 0x200000001
+ r_addend: 864
+
+entry: 284
+ r_offset: 0x8e0
+ r_info: 0x200000001
+ r_addend: 864
+
+entry: 285
+ r_offset: 0x8e8
+ r_info: 0x200000001
+ r_addend: 864
+
+entry: 286
+ r_offset: 0x8f0
+ r_info: 0x200000001
+ r_addend: 864
+
+entry: 287
+ r_offset: 0x8f8
+ r_info: 0x200000001
+ r_addend: 864
+
+entry: 288
+ r_offset: 0x900
+ r_info: 0x200000001
+ r_addend: 864
+
+entry: 289
+ r_offset: 0x908
+ r_info: 0x200000001
+ r_addend: 864
+
+entry: 290
+ r_offset: 0x910
+ r_info: 0x200000001
+ r_addend: 864
+
+entry: 291
+ r_offset: 0x918
+ r_info: 0x200000001
+ r_addend: 889
+
+entry: 292
+ r_offset: 0x920
+ r_info: 0x200000001
+ r_addend: 864
+
+entry: 293
+ r_offset: 0x928
+ r_info: 0x200000001
+ r_addend: 976
+
+entry: 294
+ r_offset: 0x930
+ r_info: 0x200000001
+ r_addend: 976
+
+relocation with addend (.rela.eh_frame):
+
+entry: 0
+ r_offset: 0x20
+ r_info: 0x20000000a
+ r_addend: 0
+
+entry: 1
+ r_offset: 0x38
+ r_info: 0x20000000a
+ r_addend: 96
+
+entry: 2
+ r_offset: 0x50
+ r_info: 0x20000000a
+ r_addend: 144
+
+entry: 3
+ r_offset: 0x80
+ r_info: 0x20000000a
+ r_addend: 336
+
+entry: 4
+ r_offset: 0x98
+ r_info: 0x20000000a
+ r_addend: 432
+
+libdwarf.a(dwarf_init.o):
+
+relocation with addend (.rela.text):
+
+entry: 0
+ r_offset: 0x353
+ r_info: 0xd0000000b
+ r_addend: 416
+
+entry: 1
+ r_offset: 0x393
+ r_info: 0xd0000000b
+ r_addend: 0
+
+entry: 2
+ r_offset: 0x3a4
+ r_info: 0x400000002
+ r_addend: -4
+
+entry: 3
+ r_offset: 0x3c0
+ r_info: 0x1a00000002
+ r_addend: -4
+
+entry: 4
+ r_offset: 0x3d3
+ r_info: 0x400000002
+ r_addend: -4
+
+entry: 5
+ r_offset: 0x3fe
+ r_info: 0x400000002
+ r_addend: -4
+
+entry: 6
+ r_offset: 0x411
+ r_info: 0x400000002
+ r_addend: -4
+
+entry: 7
+ r_offset: 0x429
+ r_info: 0x400000002
+ r_addend: -4
+
+entry: 8
+ r_offset: 0x444
+ r_info: 0x400000002
+ r_addend: -4
+
+entry: 9
+ r_offset: 0x4bb
+ r_info: 0x400000002
+ r_addend: -4
+
+entry: 10
+ r_offset: 0x4d2
+ r_info: 0x1b00000002
+ r_addend: -4
+
+entry: 11
+ r_offset: 0x518
+ r_info: 0x400000002
+ r_addend: -4
+
+entry: 12
+ r_offset: 0x565
+ r_info: 0x400000002
+ r_addend: -4
+
+entry: 13
+ r_offset: 0x5dd
+ r_info: 0x400000002
+ r_addend: -4
+
+entry: 14
+ r_offset: 0x639
+ r_info: 0x1d00000002
+ r_addend: -4
+
+entry: 15
+ r_offset: 0x67c
+ r_info: 0x1e00000002
+ r_addend: -4
+
+entry: 16
+ r_offset: 0x697
+ r_info: 0x400000002
+ r_addend: -8
+
+entry: 17
+ r_offset: 0x69b
+ r_info: 0x20000000b
+ r_addend: 0
+
+entry: 18
+ r_offset: 0x6a2
+ r_info: 0x400000002
+ r_addend: 0
+
+entry: 19
+ r_offset: 0x6a6
+ r_info: 0x20000000b
+ r_addend: 368
+
+entry: 20
+ r_offset: 0x6b2
+ r_info: 0x1f00000002
+ r_addend: -4
+
+entry: 21
+ r_offset: 0x6c8
+ r_info: 0x2000000002
+ r_addend: -4
+
+entry: 22
+ r_offset: 0x6e4
+ r_info: 0x2100000002
+ r_addend: -4
+
+entry: 23
+ r_offset: 0x700
+ r_info: 0x1b00000002
+ r_addend: -4
+
+entry: 24
+ r_offset: 0x723
+ r_info: 0xd0000000b
+ r_addend: 224
+
+entry: 25
+ r_offset: 0x72b
+ r_info: 0x2200000002
+ r_addend: -4
+
+entry: 26
+ r_offset: 0x756
+ r_info: 0x2300000002
+ r_addend: -4
+
+entry: 27
+ r_offset: 0x7d4
+ r_info: 0x2400000002
+ r_addend: -4
+
+entry: 28
+ r_offset: 0x7f7
+ r_info: 0x2500000002
+ r_addend: -4
+
+entry: 29
+ r_offset: 0x7ff
+ r_info: 0xd0000000b
+ r_addend: 368
+
+entry: 30
+ r_offset: 0x842
+ r_info: 0xd0000000b
+ r_addend: 195
+
+entry: 31
+ r_offset: 0x86e
+ r_info: 0xd0000000b
+ r_addend: 195
+
+entry: 32
+ r_offset: 0x88f
+ r_info: 0x2500000002
+ r_addend: -4
+
+entry: 33
+ r_offset: 0x897
+ r_info: 0xd0000000b
+ r_addend: 368
+
+entry: 34
+ r_offset: 0x8b4
+ r_info: 0x400000002
+ r_addend: -8
+
+entry: 35
+ r_offset: 0x8b8
+ r_info: 0x20000000b
+ r_addend: 160
+
+entry: 36
+ r_offset: 0x8bf
+ r_info: 0x400000002
+ r_addend: 0
+
+entry: 37
+ r_offset: 0x8c3
+ r_info: 0x20000000b
+ r_addend: 496
+
+entry: 38
+ r_offset: 0x921
+ r_info: 0x1d00000002
+ r_addend: -4
+
+entry: 39
+ r_offset: 0x954
+ r_info: 0x400000002
+ r_addend: -4
+
+entry: 40
+ r_offset: 0x9e5
+ r_info: 0x400000002
+ r_addend: -4
+
+entry: 41
+ r_offset: 0xa03
+ r_info: 0x400000002
+ r_addend: -4
+
+entry: 42
+ r_offset: 0xa22
+ r_info: 0x400000002
+ r_addend: -4
+
+entry: 43
+ r_offset: 0xb3c
+ r_info: 0x400000002
+ r_addend: -4
+
+entry: 44
+ r_offset: 0xb58
+ r_info: 0x2600000002
+ r_addend: -4
+
+entry: 45
+ r_offset: 0xbb1
+ r_info: 0x2700000002
+ r_addend: -4
+
+entry: 46
+ r_offset: 0xbc8
+ r_info: 0x2000000002
+ r_addend: -4
+
+entry: 47
+ r_offset: 0xbe1
+ r_info: 0x2100000002
+ r_addend: -4
+
+entry: 48
+ r_offset: 0xc33
+ r_info: 0x2400000002
+ r_addend: -4
+
+entry: 49
+ r_offset: 0xc92
+ r_info: 0x400000002
+ r_addend: 4
+
+entry: 50
+ r_offset: 0xcab
+ r_info: 0x2800000002
+ r_addend: -4
+
+entry: 51
+ r_offset: 0xcd1
+ r_info: 0x2900000002
+ r_addend: -4
+
+entry: 52
+ r_offset: 0xcde
+ r_info: 0xf0000000a
+ r_addend: 0
+
+entry: 53
+ r_offset: 0xce3
+ r_info: 0x2a00000002
+ r_addend: -4
+
+entry: 54
+ r_offset: 0xcf7
+ r_info: 0x2500000002
+ r_addend: -4
+
+entry: 55
+ r_offset: 0xcff
+ r_info: 0xd0000000b
+ r_addend: 368
+
+entry: 56
+ r_offset: 0xd27
+ r_info: 0x2500000002
+ r_addend: -4
+
+entry: 57
+ r_offset: 0xd2f
+ r_info: 0xd0000000b
+ r_addend: 368
+
+entry: 58
+ r_offset: 0xd57
+ r_info: 0x2500000002
+ r_addend: -4
+
+entry: 59
+ r_offset: 0xd5f
+ r_info: 0xd0000000b
+ r_addend: 368
+
+entry: 60
+ r_offset: 0xd92
+ r_info: 0xd0000000b
+ r_addend: 368
+
+entry: 61
+ r_offset: 0xe09
+ r_info: 0x2b00000002
+ r_addend: -4
+
+entry: 62
+ r_offset: 0xe3a
+ r_info: 0x2c00000002
+ r_addend: -4
+
+entry: 63
+ r_offset: 0xef1
+ r_info: 0x2500000002
+ r_addend: -4
+
+entry: 64
+ r_offset: 0xef9
+ r_info: 0xd0000000b
+ r_addend: 400
+
+entry: 65
+ r_offset: 0xf37
+ r_info: 0x400000002
+ r_addend: -4
+
+entry: 66
+ r_offset: 0xf5b
+ r_info: 0x2500000002
+ r_addend: -4
+
+entry: 67
+ r_offset: 0xf63
+ r_info: 0xd0000000b
+ r_addend: 400
+
+entry: 68
+ r_offset: 0xf96
+ r_info: 0xd0000000b
+ r_addend: 384
+
+entry: 69
+ r_offset: 0xfb6
+ r_info: 0x2d00000002
+ r_addend: -4
+
+entry: 70
+ r_offset: 0xfcd
+ r_info: 0xd0000000b
+ r_addend: 384
+
+entry: 71
+ r_offset: 0xffc
+ r_info: 0xd0000000b
+ r_addend: 384
+
+entry: 72
+ r_offset: 0x102b
+ r_info: 0xd0000000b
+ r_addend: 384
+
+entry: 73
+ r_offset: 0x107c
+ r_info: 0x2f00000002
+ r_addend: -4
+
+entry: 74
+ r_offset: 0x10b1
+ r_info: 0x3000000002
+ r_addend: -4
+
+entry: 75
+ r_offset: 0x10c8
+ r_info: 0x3100000002
+ r_addend: -4
+
+entry: 76
+ r_offset: 0x10e5
+ r_info: 0x1c00000002
+ r_addend: -4
+
+entry: 77
+ r_offset: 0x1113
+ r_info: 0x3200000002
+ r_addend: -4
+
+entry: 78
+ r_offset: 0x1122
+ r_info: 0x2f00000002
+ r_addend: -4
+
+entry: 79
+ r_offset: 0x1177
+ r_info: 0xd0000000b
+ r_addend: 184
+
+entry: 80
+ r_offset: 0x1195
+ r_info: 0x2500000002
+ r_addend: -4
+
+entry: 81
+ r_offset: 0x119d
+ r_info: 0xd0000000b
+ r_addend: 184
+
+entry: 82
+ r_offset: 0x11c1
+ r_info: 0x2500000002
+ r_addend: -4
+
+entry: 83
+ r_offset: 0x11c9
+ r_info: 0xd0000000b
+ r_addend: 184
+
+entry: 84
+ r_offset: 0x11e1
+ r_info: 0x3300000002
+ r_addend: -4
+
+entry: 85
+ r_offset: 0x11e9
+ r_info: 0x3400000002
+ r_addend: -4
+
+relocation with addend (.rela.rodata):
+
+entry: 0
+ r_offset: 0
+ r_info: 0x200000001
+ r_addend: 827
+
+entry: 1
+ r_offset: 0x8
+ r_info: 0x200000001
+ r_addend: 919
+
+entry: 2
+ r_offset: 0x10
+ r_info: 0x200000001
+ r_addend: 827
+
+entry: 3
+ r_offset: 0x18
+ r_info: 0x200000001
+ r_addend: 966
+
+entry: 4
+ r_offset: 0x20
+ r_info: 0x200000001
+ r_addend: 1009
+
+entry: 5
+ r_offset: 0x28
+ r_info: 0x200000001
+ r_addend: 1028
+
+entry: 6
+ r_offset: 0x30
+ r_info: 0x200000001
+ r_addend: 1052
+
+entry: 7
+ r_offset: 0x38
+ r_info: 0x200000001
+ r_addend: 1079
+
+entry: 8
+ r_offset: 0x40
+ r_info: 0x200000001
+ r_addend: 1106
+
+entry: 9
+ r_offset: 0x48
+ r_info: 0x200000001
+ r_addend: 1184
+
+entry: 10
+ r_offset: 0x50
+ r_info: 0x200000001
+ r_addend: 1488
+
+entry: 11
+ r_offset: 0x58
+ r_info: 0x200000001
+ r_addend: 1368
+
+entry: 12
+ r_offset: 0x60
+ r_info: 0x200000001
+ r_addend: 1368
+
+entry: 13
+ r_offset: 0x68
+ r_info: 0x200000001
+ r_addend: 1395
+
+entry: 14
+ r_offset: 0x70
+ r_info: 0x200000001
+ r_addend: 1200
+
+entry: 15
+ r_offset: 0x78
+ r_info: 0x200000001
+ r_addend: 1248
+
+entry: 16
+ r_offset: 0x80
+ r_info: 0x200000001
+ r_addend: 1269
+
+entry: 17
+ r_offset: 0x88
+ r_info: 0x200000001
+ r_addend: 1368
+
+entry: 18
+ r_offset: 0x90
+ r_info: 0x200000001
+ r_addend: 1028
+
+entry: 19
+ r_offset: 0x98
+ r_info: 0x200000001
+ r_addend: 1052
+
+entry: 20
+ r_offset: 0xa0
+ r_info: 0x200000001
+ r_addend: 1079
+
+entry: 21
+ r_offset: 0xa8
+ r_info: 0x200000001
+ r_addend: 1248
+
+entry: 22
+ r_offset: 0xb0
+ r_info: 0x200000001
+ r_addend: 1318
+
+entry: 23
+ r_offset: 0xe0
+ r_info: 0x1700000001
+ r_addend: 0
+
+entry: 24
+ r_offset: 0xe8
+ r_info: 0x1700000001
+ r_addend: 14
+
+entry: 25
+ r_offset: 0xf0
+ r_info: 0x1700000001
+ r_addend: 29
+
+entry: 26
+ r_offset: 0xf8
+ r_info: 0x1700000001
+ r_addend: 42
+
+entry: 27
+ r_offset: 0x100
+ r_info: 0x1700000001
+ r_addend: 54
+
+entry: 28
+ r_offset: 0x108
+ r_info: 0x1700000001
+ r_addend: 66
+
+entry: 29
+ r_offset: 0x110
+ r_info: 0x1700000001
+ r_addend: 82
+
+entry: 30
+ r_offset: 0x118
+ r_info: 0x1700000001
+ r_addend: 92
+
+entry: 31
+ r_offset: 0x120
+ r_info: 0x1700000001
+ r_addend: 107
+
+entry: 32
+ r_offset: 0x128
+ r_info: 0x1700000001
+ r_addend: 118
+
+entry: 33
+ r_offset: 0x130
+ r_info: 0x1700000001
+ r_addend: 129
+
+entry: 34
+ r_offset: 0x138
+ r_info: 0x1700000001
+ r_addend: 145
+
+entry: 35
+ r_offset: 0x140
+ r_info: 0x1700000001
+ r_addend: 159
+
+entry: 36
+ r_offset: 0x148
+ r_info: 0x1700000001
+ r_addend: 178
+
+entry: 37
+ r_offset: 0x150
+ r_info: 0x1700000001
+ r_addend: 197
+
+entry: 38
+ r_offset: 0x158
+ r_info: 0x1700000001
+ r_addend: 210
+
+entry: 39
+ r_offset: 0x160
+ r_info: 0x1700000001
+ r_addend: 227
+
+entry: 40
+ r_offset: 0x168
+ r_info: 0x1700000001
+ r_addend: 235
+
+relocation with addend (.rela.eh_frame):
+
+entry: 0
+ r_offset: 0x20
+ r_info: 0x20000000a
+ r_addend: 0
+
+entry: 1
+ r_offset: 0x38
+ r_info: 0x20000000a
+ r_addend: 160
+
+entry: 2
+ r_offset: 0x50
+ r_info: 0x20000000a
+ r_addend: 368
+
+entry: 3
+ r_offset: 0x68
+ r_info: 0x20000000a
+ r_addend: 496
+
+entry: 4
+ r_offset: 0x80
+ r_info: 0x20000000a
+ r_addend: 608
+
+entry: 5
+ r_offset: 0x98
+ r_info: 0x20000000a
+ r_addend: 672
+
+entry: 6
+ r_offset: 0xb0
+ r_info: 0x20000000a
+ r_addend: 704
+
+entry: 7
+ r_offset: 0xd8
+ r_info: 0x20000000a
+ r_addend: 1520
+
+entry: 8
+ r_offset: 0x110
+ r_info: 0x20000000a
+ r_addend: 4176
+
+libdwarf.a(dwarf_form.o):
+
+relocation with addend (.rela.text):
+
+entry: 0
+ r_offset: 0x38
+ r_info: 0x60000000b
+ r_addend: 0
+
+relocation with addend (.rela.eh_frame):
+
+entry: 0
+ r_offset: 0x20
+ r_info: 0x20000000a
+ r_addend: 0
+
+libdwarf.a(dwarf_finish.o):
+
+relocation with addend (.rela.text):
+
+entry: 0
+ r_offset: 0xb1
+ r_info: 0xa00000002
+ r_addend: -4
+
+entry: 1
+ r_offset: 0xd7
+ r_info: 0xa00000002
+ r_addend: -4
+
+entry: 2
+ r_offset: 0x110
+ r_info: 0xa00000002
+ r_addend: -4
+
+entry: 3
+ r_offset: 0x16d
+ r_info: 0xa00000002
+ r_addend: -4
+
+entry: 4
+ r_offset: 0x193
+ r_info: 0xa00000002
+ r_addend: -4
+
+entry: 5
+ r_offset: 0x1d0
+ r_info: 0xa00000002
+ r_addend: -4
+
+entry: 6
+ r_offset: 0x21c
+ r_info: 0xa00000002
+ r_addend: -4
+
+entry: 7
+ r_offset: 0x235
+ r_info: 0xb00000002
+ r_addend: -4
+
+entry: 8
+ r_offset: 0x23d
+ r_info: 0xa00000002
+ r_addend: -4
+
+entry: 9
+ r_offset: 0x267
+ r_info: 0xa00000002
+ r_addend: -4
+
+entry: 10
+ r_offset: 0x2a3
+ r_info: 0xa00000002
+ r_addend: -4
+
+entry: 11
+ r_offset: 0x33f
+ r_info: 0x60000000b
+ r_addend: 0
+
+relocation with addend (.rela.eh_frame):
+
+entry: 0
+ r_offset: 0x20
+ r_info: 0x20000000a
+ r_addend: 0
+
+libdwarf.a(dwarf_errno.o):
+
+relocation with addend (.rela.eh_frame):
+
+entry: 0
+ r_offset: 0x20
+ r_info: 0x20000000a
+ r_addend: 0
+
+libdwarf.a(dwarf_dealloc.o):
+
+relocation with addend (.rela.eh_frame):
+
+entry: 0
+ r_offset: 0x20
+ r_info: 0x20000000a
+ r_addend: 0
+
+libdwarf.a(dwarf_attrval.o):
+
+relocation with addend (.rela.text):
+
+entry: 0
+ r_offset: 0x88
+ r_info: 0xe00000002
+ r_addend: -4
+
+entry: 1
+ r_offset: 0xa9
+ r_info: 0x1000000002
+ r_addend: -4
+
+entry: 2
+ r_offset: 0xb9
+ r_info: 0xb0000000a
+ r_addend: 0
+
+entry: 3
+ r_offset: 0xbe
+ r_info: 0x50000000a
+ r_addend: 0
+
+entry: 4
+ r_offset: 0xc5
+ r_info: 0x1100000002
+ r_addend: -4
+
+entry: 5
+ r_offset: 0xdf
+ r_info: 0xb0000000b
+ r_addend: 0
+
+entry: 6
+ r_offset: 0x126
+ r_info: 0xb0000000b
+ r_addend: 0
+
+entry: 7
+ r_offset: 0x153
+ r_info: 0xb0000000b
+ r_addend: 0
+
+entry: 8
+ r_offset: 0x191
+ r_info: 0xe00000002
+ r_addend: -4
+
+entry: 9
+ r_offset: 0x1c5
+ r_info: 0x1200000002
+ r_addend: -4
+
+entry: 10
+ r_offset: 0x1d5
+ r_info: 0xe00000002
+ r_addend: -4
+
+entry: 11
+ r_offset: 0x1fb
+ r_info: 0xb0000000b
+ r_addend: 0
+
+entry: 12
+ r_offset: 0x213
+ r_info: 0x1000000002
+ r_addend: -4
+
+entry: 13
+ r_offset: 0x223
+ r_info: 0xb0000000a
+ r_addend: 0
+
+entry: 14
+ r_offset: 0x228
+ r_info: 0x50000000a
+ r_addend: 0
+
+entry: 15
+ r_offset: 0x22f
+ r_info: 0x1100000002
+ r_addend: -4
+
+entry: 16
+ r_offset: 0x249
+ r_info: 0xb0000000b
+ r_addend: 0
+
+entry: 17
+ r_offset: 0x2a4
+ r_info: 0xe00000002
+ r_addend: -4
+
+entry: 18
+ r_offset: 0x2cd
+ r_info: 0x1000000002
+ r_addend: -4
+
+entry: 19
+ r_offset: 0x2dd
+ r_info: 0xb0000000a
+ r_addend: 32
+
+entry: 20
+ r_offset: 0x2e2
+ r_info: 0x50000000a
+ r_addend: 0
+
+entry: 21
+ r_offset: 0x2e9
+ r_info: 0x1100000002
+ r_addend: -4
+
+entry: 22
+ r_offset: 0x303
+ r_info: 0xb0000000b
+ r_addend: 32
+
+entry: 23
+ r_offset: 0x33b
+ r_info: 0xb0000000b
+ r_addend: 32
+
+entry: 24
+ r_offset: 0x35f
+ r_info: 0xb0000000b
+ r_addend: 32
+
+entry: 25
+ r_offset: 0x3ce
+ r_info: 0xe00000002
+ r_addend: -4
+
+entry: 26
+ r_offset: 0x3fa
+ r_info: 0x1000000002
+ r_addend: -4
+
+entry: 27
+ r_offset: 0x40a
+ r_info: 0xb0000000a
+ r_addend: 64
+
+entry: 28
+ r_offset: 0x40f
+ r_info: 0x50000000a
+ r_addend: 0
+
+entry: 29
+ r_offset: 0x416
+ r_info: 0x1100000002
+ r_addend: -4
+
+entry: 30
+ r_offset: 0x430
+ r_info: 0xb0000000b
+ r_addend: 64
+
+entry: 31
+ r_offset: 0x469
+ r_info: 0xb0000000b
+ r_addend: 64
+
+entry: 32
+ r_offset: 0x4b0
+ r_info: 0xb0000000b
+ r_addend: 64
+
+entry: 33
+ r_offset: 0x513
+ r_info: 0xe00000002
+ r_addend: -4
+
+entry: 34
+ r_offset: 0x532
+ r_info: 0x1000000002
+ r_addend: -4
+
+entry: 35
+ r_offset: 0x542
+ r_info: 0xb0000000a
+ r_addend: 96
+
+entry: 36
+ r_offset: 0x547
+ r_info: 0x50000000a
+ r_addend: 0
+
+entry: 37
+ r_offset: 0x54e
+ r_info: 0x1100000002
+ r_addend: -4
+
+entry: 38
+ r_offset: 0x568
+ r_info: 0xb0000000b
+ r_addend: 96
+
+entry: 39
+ r_offset: 0x5a6
+ r_info: 0xb0000000b
+ r_addend: 96
+
+entry: 40
+ r_offset: 0x5ca
+ r_info: 0xb0000000b
+ r_addend: 96
+
+entry: 41
+ r_offset: 0x61a
+ r_info: 0x1700000002
+ r_addend: -4
+
+entry: 42
+ r_offset: 0x63c
+ r_info: 0xb0000000b
+ r_addend: 128
+
+relocation with addend (.rela.eh_frame):
+
+entry: 0
+ r_offset: 0x20
+ r_info: 0x20000000a
+ r_addend: 0
+
+entry: 1
+ r_offset: 0x38
+ r_info: 0x20000000a
+ r_addend: 48
+
+entry: 2
+ r_offset: 0x58
+ r_info: 0x20000000a
+ r_addend: 608
+
+entry: 3
+ r_offset: 0x78
+ r_info: 0x20000000a
+ r_addend: 896
+
+entry: 4
+ r_offset: 0x98
+ r_info: 0x20000000a
+ r_addend: 1232
+
+entry: 5
+ r_offset: 0xb8
+ r_info: 0x20000000a
+ r_addend: 1520
+
+libdwarf.a(dwarf_attr.o):
+
+relocation with addend (.rela.text):
+
+entry: 0
+ r_offset: 0x5b
+ r_info: 0x70000000b
+ r_addend: 15
+
+entry: 1
+ r_offset: 0x88
+ r_info: 0x70000000b
+ r_addend: 15
+
+entry: 2
+ r_offset: 0xf0
+ r_info: 0x70000000b
+ r_addend: 0
+
+entry: 3
+ r_offset: 0x124
+ r_info: 0xc00000002
+ r_addend: -4
+
+entry: 4
+ r_offset: 0x146
+ r_info: 0x70000000b
+ r_addend: 0
+
+relocation with addend (.rela.eh_frame):
+
+entry: 0
+ r_offset: 0x20
+ r_info: 0x20000000a
+ r_addend: 0
+
+entry: 1
+ r_offset: 0x38
+ r_info: 0x20000000a
+ r_addend: 160
+
+libdwarf.a(dwarf_abbrev.o):
+
+relocation with addend (.rela.text):
+
+entry: 0
+ r_offset: 0x6a
+ r_info: 0xb00000002
+ r_addend: -4
+
+entry: 1
+ r_offset: 0x8c
+ r_info: 0x60000000b
+ r_addend: 0
+
+relocation with addend (.rela.eh_frame):
+
+entry: 0
+ r_offset: 0x20
+ r_info: 0x20000000a
+ r_addend: 0
+
+entry: 1
+ r_offset: 0x38
+ r_info: 0x20000000a
+ r_addend: 48
+
+libdwarf.a(dwarf_dump.o):
+
+relocation with addend (.rela.text):
+
+entry: 0
+ r_offset: 0x4
+ r_info: 0x50000000a
+ r_addend: 172
+
+entry: 1
+ r_offset: 0x10
+ r_info: 0x50000000a
+ r_addend: 228
+
+entry: 2
+ r_offset: 0x1f
+ r_info: 0x50000000a
+ r_addend: 268
+
+entry: 3
+ r_offset: 0x2f
+ r_info: 0x60000000a
+ r_addend: 176
+
+entry: 4
+ r_offset: 0x41
+ r_info: 0x50000000a
+ r_addend: 13
+
+entry: 5
+ r_offset: 0x47
+ r_info: 0x50000000a
+ r_addend: 243
+
+entry: 6
+ r_offset: 0x56
+ r_info: 0x60000000a
+ r_addend: 0
+
+entry: 7
+ r_offset: 0x62
+ r_info: 0x50000000a
+ r_addend: 142
+
+entry: 8
+ r_offset: 0x72
+ r_info: 0x50000000a
+ r_addend: 155
+
+entry: 9
+ r_offset: 0x7e
+ r_info: 0x60000000a
+ r_addend: 32
+
+entry: 10
+ r_offset: 0x87
+ r_info: 0x60000000a
+ r_addend: 64
+
+entry: 11
+ r_offset: 0x93
+ r_info: 0x60000000a
+ r_addend: 104
+
+entry: 12
+ r_offset: 0x9f
+ r_info: 0x60000000a
+ r_addend: 136
+
+entry: 13
+ r_offset: 0xa8
+ r_info: 0x50000000a
+ r_addend: 30
+
+entry: 14
+ r_offset: 0xb4
+ r_info: 0x50000000a
+ r_addend: 58
+
+entry: 15
+ r_offset: 0xc0
+ r_info: 0x50000000a
+ r_addend: 79
+
+entry: 16
+ r_offset: 0xc6
+ r_info: 0x50000000a
+ r_addend: 21
+
+entry: 17
+ r_offset: 0xd2
+ r_info: 0x50000000a
+ r_addend: 293
+
+entry: 18
+ r_offset: 0xe3
+ r_info: 0x50000000a
+ r_addend: 0
+
+entry: 19
+ r_offset: 0xfc
+ r_info: 0x50000000a
+ r_addend: 199
+
+entry: 20
+ r_offset: 0x105
+ r_info: 0x50000000a
+ r_addend: 100
+
+entry: 21
+ r_offset: 0x119
+ r_info: 0x50000000a
+ r_addend: 126
+
+entry: 22
+ r_offset: 0x126
+ r_info: 0x50000000a
+ r_addend: 341
+
+entry: 23
+ r_offset: 0x135
+ r_info: 0x70000000b
+ r_addend: 0
+
+entry: 24
+ r_offset: 0x13a
+ r_info: 0x50000000a
+ r_addend: 314
+
+entry: 25
+ r_offset: 0x140
+ r_info: 0x50000000a
+ r_addend: 1370
+
+entry: 26
+ r_offset: 0x146
+ r_info: 0x50000000a
+ r_addend: 1345
+
+entry: 27
+ r_offset: 0x14c
+ r_info: 0x50000000a
+ r_addend: 1326
+
+entry: 28
+ r_offset: 0x152
+ r_info: 0x50000000a
+ r_addend: 1297
+
+entry: 29
+ r_offset: 0x158
+ r_info: 0x50000000a
+ r_addend: 1207
+
+entry: 30
+ r_offset: 0x15e
+ r_info: 0x50000000a
+ r_addend: 1169
+
+entry: 31
+ r_offset: 0x164
+ r_info: 0x50000000a
+ r_addend: 1141
+
+entry: 32
+ r_offset: 0x16a
+ r_info: 0x50000000a
+ r_addend: 1076
+
+entry: 33
+ r_offset: 0x170
+ r_info: 0x50000000a
+ r_addend: 1041
+
+entry: 34
+ r_offset: 0x176
+ r_info: 0x50000000a
+ r_addend: 1000
+
+entry: 35
+ r_offset: 0x17c
+ r_info: 0x50000000a
+ r_addend: 873
+
+entry: 36
+ r_offset: 0x182
+ r_info: 0x50000000a
+ r_addend: 846
+
+entry: 37
+ r_offset: 0x188
+ r_info: 0x50000000a
+ r_addend: 829
+
+entry: 38
+ r_offset: 0x18e
+ r_info: 0x50000000a
+ r_addend: 814
+
+entry: 39
+ r_offset: 0x194
+ r_info: 0x50000000a
+ r_addend: 799
+
+entry: 40
+ r_offset: 0x19a
+ r_info: 0x50000000a
+ r_addend: 745
+
+entry: 41
+ r_offset: 0x1a0
+ r_info: 0x50000000a
+ r_addend: 695
+
+entry: 42
+ r_offset: 0x1a6
+ r_info: 0x50000000a
+ r_addend: 679
+
+entry: 43
+ r_offset: 0x1ac
+ r_info: 0x50000000a
+ r_addend: 663
+
+entry: 44
+ r_offset: 0x1b2
+ r_info: 0x50000000a
+ r_addend: 645
+
+entry: 45
+ r_offset: 0x1b8
+ r_info: 0x50000000a
+ r_addend: 618
+
+entry: 46
+ r_offset: 0x1be
+ r_info: 0x50000000a
+ r_addend: 606
+
+entry: 47
+ r_offset: 0x1c4
+ r_info: 0x50000000a
+ r_addend: 503
+
+entry: 48
+ r_offset: 0x1ca
+ r_info: 0x50000000a
+ r_addend: 438
+
+entry: 49
+ r_offset: 0x1d0
+ r_info: 0x50000000a
+ r_addend: 421
+
+entry: 50
+ r_offset: 0x1d6
+ r_info: 0x50000000a
+ r_addend: 401
+
+entry: 51
+ r_offset: 0x1dc
+ r_info: 0x50000000a
+ r_addend: 381
+
+entry: 52
+ r_offset: 0x1e2
+ r_info: 0x50000000a
+ r_addend: 359
+
+entry: 53
+ r_offset: 0x1e8
+ r_info: 0x50000000a
+ r_addend: 1308
+
+entry: 54
+ r_offset: 0x1ee
+ r_info: 0x50000000a
+ r_addend: 1241
+
+entry: 55
+ r_offset: 0x1f4
+ r_info: 0x50000000a
+ r_addend: 1189
+
+entry: 56
+ r_offset: 0x1fa
+ r_info: 0x50000000a
+ r_addend: 1123
+
+entry: 57
+ r_offset: 0x200
+ r_info: 0x50000000a
+ r_addend: 1106
+
+entry: 58
+ r_offset: 0x206
+ r_info: 0x50000000a
+ r_addend: 1091
+
+entry: 59
+ r_offset: 0x20c
+ r_info: 0x50000000a
+ r_addend: 982
+
+entry: 60
+ r_offset: 0x212
+ r_info: 0x50000000a
+ r_addend: 921
+
+entry: 61
+ r_offset: 0x218
+ r_info: 0x50000000a
+ r_addend: 908
+
+entry: 62
+ r_offset: 0x21e
+ r_info: 0x50000000a
+ r_addend: 713
+
+entry: 63
+ r_offset: 0x224
+ r_info: 0x50000000a
+ r_addend: 584
+
+entry: 64
+ r_offset: 0x22a
+ r_info: 0x50000000a
+ r_addend: 566
+
+entry: 65
+ r_offset: 0x230
+ r_info: 0x50000000a
+ r_addend: 551
+
+entry: 66
+ r_offset: 0x236
+ r_info: 0x50000000a
+ r_addend: 528
+
+entry: 67
+ r_offset: 0x23c
+ r_info: 0x50000000a
+ r_addend: 1259
+
+entry: 68
+ r_offset: 0x242
+ r_info: 0x50000000a
+ r_addend: 895
+
+entry: 69
+ r_offset: 0x248
+ r_info: 0x50000000a
+ r_addend: 1387
+
+entry: 70
+ r_offset: 0x24e
+ r_info: 0x50000000a
+ r_addend: 762
+
+entry: 71
+ r_offset: 0x254
+ r_info: 0x50000000a
+ r_addend: 733
+
+entry: 72
+ r_offset: 0x25a
+ r_info: 0x50000000a
+ r_addend: 1017
+
+entry: 73
+ r_offset: 0x260
+ r_info: 0x50000000a
+ r_addend: 939
+
+entry: 74
+ r_offset: 0x266
+ r_info: 0x50000000a
+ r_addend: 859
+
+entry: 75
+ r_offset: 0x26c
+ r_info: 0x50000000a
+ r_addend: 969
+
+entry: 76
+ r_offset: 0x272
+ r_info: 0x50000000a
+ r_addend: 1225
+
+entry: 77
+ r_offset: 0x278
+ r_info: 0x50000000a
+ r_addend: 780
+
+entry: 78
+ r_offset: 0x27e
+ r_info: 0x50000000a
+ r_addend: 472
+
+entry: 79
+ r_offset: 0x284
+ r_info: 0x50000000a
+ r_addend: 455
+
+entry: 80
+ r_offset: 0x28a
+ r_info: 0x50000000a
+ r_addend: 487
+
+entry: 81
+ r_offset: 0x290
+ r_info: 0x50000000a
+ r_addend: 1279
+
+entry: 82
+ r_offset: 0x296
+ r_info: 0x50000000a
+ r_addend: 1061
+
+entry: 83
+ r_offset: 0x29c
+ r_info: 0x50000000a
+ r_addend: 1030
+
+entry: 84
+ r_offset: 0x2a2
+ r_info: 0x50000000a
+ r_addend: 954
+
+entry: 85
+ r_offset: 0x2a8
+ r_info: 0x50000000a
+ r_addend: 1155
+
+entry: 86
+ r_offset: 0x2b6
+ r_info: 0x50000000a
+ r_addend: 341
+
+entry: 87
+ r_offset: 0x2c5
+ r_info: 0x70000000b
+ r_addend: 624
+
+entry: 88
+ r_offset: 0x2ca
+ r_info: 0x50000000a
+ r_addend: 1559
+
+entry: 89
+ r_offset: 0x2d0
+ r_info: 0x50000000a
+ r_addend: 1645
+
+entry: 90
+ r_offset: 0x2d6
+ r_info: 0x50000000a
+ r_addend: 1615
+
+entry: 91
+ r_offset: 0x2dc
+ r_info: 0x50000000a
+ r_addend: 1602
+
+entry: 92
+ r_offset: 0x2e2
+ r_info: 0x50000000a
+ r_addend: 1589
+
+entry: 93
+ r_offset: 0x2e8
+ r_info: 0x50000000a
+ r_addend: 1576
+
+entry: 94
+ r_offset: 0x2ee
+ r_info: 0x50000000a
+ r_addend: 1628
+
+entry: 95
+ r_offset: 0x2f4
+ r_info: 0x50000000a
+ r_addend: 1404
+
+entry: 96
+ r_offset: 0x2fa
+ r_info: 0x50000000a
+ r_addend: 1692
+
+entry: 97
+ r_offset: 0x300
+ r_info: 0x50000000a
+ r_addend: 1663
+
+entry: 98
+ r_offset: 0x306
+ r_info: 0x50000000a
+ r_addend: 1546
+
+entry: 99
+ r_offset: 0x30c
+ r_info: 0x50000000a
+ r_addend: 1490
+
+entry: 100
+ r_offset: 0x312
+ r_info: 0x50000000a
+ r_addend: 1445
+
+entry: 101
+ r_offset: 0x318
+ r_info: 0x50000000a
+ r_addend: 1431
+
+entry: 102
+ r_offset: 0x31e
+ r_info: 0x50000000a
+ r_addend: 1677
+
+entry: 103
+ r_offset: 0x324
+ r_info: 0x50000000a
+ r_addend: 1532
+
+entry: 104
+ r_offset: 0x32a
+ r_info: 0x50000000a
+ r_addend: 1518
+
+entry: 105
+ r_offset: 0x330
+ r_info: 0x50000000a
+ r_addend: 1504
+
+entry: 106
+ r_offset: 0x336
+ r_info: 0x50000000a
+ r_addend: 1475
+
+entry: 107
+ r_offset: 0x33c
+ r_info: 0x50000000a
+ r_addend: 1460
+
+entry: 108
+ r_offset: 0x342
+ r_info: 0x50000000a
+ r_addend: 1418
+
+entry: 109
+ r_offset: 0x356
+ r_info: 0x50000000a
+ r_addend: 1722
+
+entry: 110
+ r_offset: 0x365
+ r_info: 0x70000000b
+ r_addend: 808
+
+entry: 111
+ r_offset: 0x36a
+ r_info: 0x50000000a
+ r_addend: 2468
+
+entry: 112
+ r_offset: 0x370
+ r_info: 0x50000000a
+ r_addend: 1896
+
+entry: 113
+ r_offset: 0x376
+ r_info: 0x50000000a
+ r_addend: 2120
+
+entry: 114
+ r_offset: 0x37c
+ r_info: 0x50000000a
+ r_addend: 2343
+
+entry: 115
+ r_offset: 0x382
+ r_info: 0x50000000a
+ r_addend: 2689
+
+entry: 116
+ r_offset: 0x388
+ r_info: 0x50000000a
+ r_addend: 2097
+
+entry: 117
+ r_offset: 0x38e
+ r_info: 0x50000000a
+ r_addend: 2307
+
+entry: 118
+ r_offset: 0x394
+ r_info: 0x50000000a
+ r_addend: 2186
+
+entry: 119
+ r_offset: 0x39a
+ r_info: 0x50000000a
+ r_addend: 2431
+
+entry: 120
+ r_offset: 0x3a0
+ r_info: 0x50000000a
+ r_addend: 1947
+
+entry: 121
+ r_offset: 0x3a6
+ r_info: 0x50000000a
+ r_addend: 2764
+
+entry: 122
+ r_offset: 0x3ac
+ r_info: 0x50000000a
+ r_addend: 2713
+
+entry: 123
+ r_offset: 0x3b2
+ r_info: 0x50000000a
+ r_addend: 2744
+
+entry: 124
+ r_offset: 0x3b8
+ r_info: 0x50000000a
+ r_addend: 2609
+
+entry: 125
+ r_offset: 0x3be
+ r_info: 0x50000000a
+ r_addend: 2590
+
+entry: 126
+ r_offset: 0x3c4
+ r_info: 0x60000000a
+ r_addend: 248
+
+entry: 127
+ r_offset: 0x3ca
+ r_info: 0x60000000a
+ r_addend: 216
+
+entry: 128
+ r_offset: 0x3d0
+ r_info: 0x50000000a
+ r_addend: 2528
+
+entry: 129
+ r_offset: 0x3d6
+ r_info: 0x50000000a
+ r_addend: 2324
+
+entry: 130
+ r_offset: 0x3dc
+ r_info: 0x50000000a
+ r_addend: 2286
+
+entry: 131
+ r_offset: 0x3e2
+ r_info: 0x50000000a
+ r_addend: 2270
+
+entry: 132
+ r_offset: 0x3e8
+ r_info: 0x50000000a
+ r_addend: 2055
+
+entry: 133
+ r_offset: 0x3ee
+ r_info: 0x50000000a
+ r_addend: 2013
+
+entry: 134
+ r_offset: 0x3f4
+ r_info: 0x50000000a
+ r_addend: 1931
+
+entry: 135
+ r_offset: 0x3fa
+ r_info: 0x50000000a
+ r_addend: 1913
+
+entry: 136
+ r_offset: 0x400
+ r_info: 0x50000000a
+ r_addend: 1795
+
+entry: 137
+ r_offset: 0x406
+ r_info: 0x50000000a
+ r_addend: 1778
+
+entry: 138
+ r_offset: 0x40c
+ r_info: 0x50000000a
+ r_addend: 1734
+
+entry: 139
+ r_offset: 0x412
+ r_info: 0x50000000a
+ r_addend: 1705
+
+entry: 140
+ r_offset: 0x418
+ r_info: 0x50000000a
+ r_addend: 2546
+
+entry: 141
+ r_offset: 0x41e
+ r_info: 0x50000000a
+ r_addend: 2452
+
+entry: 142
+ r_offset: 0x424
+ r_info: 0x50000000a
+ r_addend: 2383
+
+entry: 143
+ r_offset: 0x42a
+ r_info: 0x50000000a
+ r_addend: 2256
+
+entry: 144
+ r_offset: 0x430
+ r_info: 0x50000000a
+ r_addend: 2160
+
+entry: 145
+ r_offset: 0x436
+ r_info: 0x50000000a
+ r_addend: 2141
+
+entry: 146
+ r_offset: 0x43c
+ r_info: 0x50000000a
+ r_addend: 1852
+
+entry: 147
+ r_offset: 0x442
+ r_info: 0x50000000a
+ r_addend: 1832
+
+entry: 148
+ r_offset: 0x448
+ r_info: 0x50000000a
+ r_addend: 2729
+
+entry: 149
+ r_offset: 0x44e
+ r_info: 0x50000000a
+ r_addend: 2659
+
+entry: 150
+ r_offset: 0x454
+ r_info: 0x50000000a
+ r_addend: 2641
+
+entry: 151
+ r_offset: 0x45a
+ r_info: 0x50000000a
+ r_addend: 2626
+
+entry: 152
+ r_offset: 0x460
+ r_info: 0x50000000a
+ r_addend: 2567
+
+entry: 153
+ r_offset: 0x466
+ r_info: 0x50000000a
+ r_addend: 2506
+
+entry: 154
+ r_offset: 0x46c
+ r_info: 0x50000000a
+ r_addend: 2487
+
+entry: 155
+ r_offset: 0x472
+ r_info: 0x50000000a
+ r_addend: 1876
+
+entry: 156
+ r_offset: 0x478
+ r_info: 0x50000000a
+ r_addend: 2409
+
+entry: 157
+ r_offset: 0x47e
+ r_info: 0x50000000a
+ r_addend: 2363
+
+entry: 158
+ r_offset: 0x484
+ r_info: 0x50000000a
+ r_addend: 2242
+
+entry: 159
+ r_offset: 0x48a
+ r_info: 0x50000000a
+ r_addend: 2221
+
+entry: 160
+ r_offset: 0x490
+ r_info: 0x50000000a
+ r_addend: 2208
+
+entry: 161
+ r_offset: 0x496
+ r_info: 0x50000000a
+ r_addend: 2069
+
+entry: 162
+ r_offset: 0x49c
+ r_info: 0x50000000a
+ r_addend: 2031
+
+entry: 163
+ r_offset: 0x4a2
+ r_info: 0x50000000a
+ r_addend: 1989
+
+entry: 164
+ r_offset: 0x4a8
+ r_info: 0x50000000a
+ r_addend: 1970
+
+entry: 165
+ r_offset: 0x4ae
+ r_info: 0x50000000a
+ r_addend: 1814
+
+entry: 166
+ r_offset: 0x4b4
+ r_info: 0x50000000a
+ r_addend: 1760
+
+entry: 167
+ r_offset: 0x4ca
+ r_info: 0x60000000a
+ r_addend: 280
+
+entry: 168
+ r_offset: 0x4d3
+ r_info: 0x1000000002
+ r_addend: -4
+
+entry: 169
+ r_offset: 0x4fc
+ r_info: 0x50000000a
+ r_addend: 2789
+
+entry: 170
+ r_offset: 0x501
+ r_info: 0x50000000a
+ r_addend: 2785
+
+entry: 171
+ r_offset: 0x50a
+ r_info: 0xe00000002
+ r_addend: -4
+
+entry: 172
+ r_offset: 0x51b
+ r_info: 0x50000000a
+ r_addend: 2792
+
+entry: 173
+ r_offset: 0x520
+ r_info: 0x1100000002
+ r_addend: -4
+
+entry: 174
+ r_offset: 0x535
+ r_info: 0xd00000002
+ r_addend: -4
+
+entry: 175
+ r_offset: 0x541
+ r_info: 0xc00000002
+ r_addend: -4
+
+entry: 176
+ r_offset: 0x54c
+ r_info: 0x50000000a
+ r_addend: 2818
+
+entry: 177
+ r_offset: 0x553
+ r_info: 0x1100000002
+ r_addend: -4
+
+entry: 178
+ r_offset: 0x59a
+ r_info: 0x60000000a
+ r_addend: 336
+
+entry: 179
+ r_offset: 0x5a3
+ r_info: 0x1000000002
+ r_addend: -4
+
+entry: 180
+ r_offset: 0x5b4
+ r_info: 0x1300000002
+ r_addend: -4
+
+entry: 181
+ r_offset: 0x5cd
+ r_info: 0x1400000002
+ r_addend: -4
+
+entry: 182
+ r_offset: 0x5e4
+ r_info: 0x60000000a
+ r_addend: 424
+
+entry: 183
+ r_offset: 0x5eb
+ r_info: 0x1100000002
+ r_addend: -4
+
+entry: 184
+ r_offset: 0x5fc
+ r_info: 0x60000000a
+ r_addend: 384
+
+entry: 185
+ r_offset: 0x601
+ r_info: 0x1100000002
+ r_addend: -4
+
+entry: 186
+ r_offset: 0x616
+ r_info: 0x60000000a
+ r_addend: 472
+
+entry: 187
+ r_offset: 0x61f
+ r_info: 0x1000000002
+ r_addend: -4
+
+entry: 188
+ r_offset: 0x62b
+ r_info: 0x50000000a
+ r_addend: 2834
+
+entry: 189
+ r_offset: 0x632
+ r_info: 0x1100000002
+ r_addend: -4
+
+entry: 190
+ r_offset: 0x63a
+ r_info: 0x1600000002
+ r_addend: -4
+
+entry: 191
+ r_offset: 0x652
+ r_info: 0x1400000002
+ r_addend: -4
+
+entry: 192
+ r_offset: 0x676
+ r_info: 0x60000000a
+ r_addend: 528
+
+entry: 193
+ r_offset: 0x67f
+ r_info: 0x1000000002
+ r_addend: -4
+
+entry: 194
+ r_offset: 0x68b
+ r_info: 0x50000000a
+ r_addend: 2834
+
+entry: 195
+ r_offset: 0x692
+ r_info: 0x1100000002
+ r_addend: -4
+
+entry: 196
+ r_offset: 0x69a
+ r_info: 0x1600000002
+ r_addend: -4
+
+entry: 197
+ r_offset: 0x6b2
+ r_info: 0x1400000002
+ r_addend: -4
+
+entry: 198
+ r_offset: 0x6d6
+ r_info: 0x60000000a
+ r_addend: 576
+
+entry: 199
+ r_offset: 0x6df
+ r_info: 0x1000000002
+ r_addend: -4
+
+entry: 200
+ r_offset: 0x6eb
+ r_info: 0x50000000a
+ r_addend: 2834
+
+entry: 201
+ r_offset: 0x6f2
+ r_info: 0x1100000002
+ r_addend: -4
+
+entry: 202
+ r_offset: 0x6fa
+ r_info: 0x1600000002
+ r_addend: -4
+
+entry: 203
+ r_offset: 0x70f
+ r_info: 0x1400000002
+ r_addend: -4
+
+entry: 204
+ r_offset: 0x72b
+ r_info: 0x50000000a
+ r_addend: 2844
+
+entry: 205
+ r_offset: 0x732
+ r_info: 0x1100000002
+ r_addend: -4
+
+entry: 206
+ r_offset: 0x754
+ r_info: 0x50000000a
+ r_addend: 2852
+
+entry: 207
+ r_offset: 0x75d
+ r_info: 0x1100000002
+ r_addend: -4
+
+entry: 208
+ r_offset: 0x777
+ r_info: 0x50000000a
+ r_addend: 2856
+
+entry: 209
+ r_offset: 0x780
+ r_info: 0x1100000002
+ r_addend: -4
+
+entry: 210
+ r_offset: 0x78f
+ r_info: 0x1a00000002
+ r_addend: -4
+
+entry: 211
+ r_offset: 0x7b1
+ r_info: 0x50000000a
+ r_addend: 2862
+
+entry: 212
+ r_offset: 0x7b8
+ r_info: 0x1100000002
+ r_addend: -4
+
+entry: 213
+ r_offset: 0x7c6
+ r_info: 0x50000000a
+ r_addend: 2852
+
+entry: 214
+ r_offset: 0x7cf
+ r_info: 0x1100000002
+ r_addend: -4
+
+entry: 215
+ r_offset: 0x7e9
+ r_info: 0x50000000a
+ r_addend: 2856
+
+entry: 216
+ r_offset: 0x7f2
+ r_info: 0x1100000002
+ r_addend: -4
+
+entry: 217
+ r_offset: 0x801
+ r_info: 0x1a00000002
+ r_addend: -4
+
+entry: 218
+ r_offset: 0x83e
+ r_info: 0xd00000002
+ r_addend: -4
+
+entry: 219
+ r_offset: 0x84a
+ r_info: 0xc00000002
+ r_addend: -4
+
+entry: 220
+ r_offset: 0x855
+ r_info: 0x50000000a
+ r_addend: 2869
+
+entry: 221
+ r_offset: 0x85c
+ r_info: 0x1100000002
+ r_addend: -4
+
+entry: 222
+ r_offset: 0x868
+ r_info: 0x50000000a
+ r_addend: 2928
+
+entry: 223
+ r_offset: 0x86f
+ r_info: 0x1100000002
+ r_addend: -4
+
+entry: 224
+ r_offset: 0x897
+ r_info: 0x70000000b
+ r_addend: 1328
+
+entry: 225
+ r_offset: 0x8a5
+ r_info: 0x50000000a
+ r_addend: 2918
+
+entry: 226
+ r_offset: 0x8af
+ r_info: 0x1100000002
+ r_addend: -4
+
+entry: 227
+ r_offset: 0x8ba
+ r_info: 0x50000000a
+ r_addend: 2890
+
+entry: 228
+ r_offset: 0x8c1
+ r_info: 0x1100000002
+ r_addend: -4
+
+entry: 229
+ r_offset: 0x8ce
+ r_info: 0x50000000a
+ r_addend: 2897
+
+entry: 230
+ r_offset: 0x8d3
+ r_info: 0x1100000002
+ r_addend: -4
+
+entry: 231
+ r_offset: 0x8e5
+ r_info: 0x50000000a
+ r_addend: 2856
+
+entry: 232
+ r_offset: 0x8f4
+ r_info: 0x1100000002
+ r_addend: -4
+
+entry: 233
+ r_offset: 0x908
+ r_info: 0x50000000a
+ r_addend: 2913
+
+entry: 234
+ r_offset: 0x90f
+ r_info: 0x1100000002
+ r_addend: -4
+
+entry: 235
+ r_offset: 0x91d
+ r_info: 0x50000000a
+ r_addend: 2925
+
+entry: 236
+ r_offset: 0x924
+ r_info: 0x1100000002
+ r_addend: -4
+
+entry: 237
+ r_offset: 0x936
+ r_info: 0x60000000a
+ r_addend: 640
+
+entry: 238
+ r_offset: 0x93d
+ r_info: 0x1100000002
+ r_addend: -4
+
+entry: 239
+ r_offset: 0x962
+ r_info: 0xe00000002
+ r_addend: -4
+
+entry: 240
+ r_offset: 0x977
+ r_info: 0x60000000a
+ r_addend: 680
+
+entry: 241
+ r_offset: 0x97c
+ r_info: 0x1100000002
+ r_addend: -4
+
+entry: 242
+ r_offset: 0x997
+ r_info: 0x1b00000002
+ r_addend: -4
+
+entry: 243
+ r_offset: 0x9b6
+ r_info: 0x60000000a
+ r_addend: 720
+
+entry: 244
+ r_offset: 0x9bf
+ r_info: 0x1000000002
+ r_addend: -4
+
+entry: 245
+ r_offset: 0x9d4
+ r_info: 0x60000000a
+ r_addend: 760
+
+entry: 246
+ r_offset: 0x9db
+ r_info: 0x1100000002
+ r_addend: -4
+
+entry: 247
+ r_offset: 0x9e3
+ r_info: 0x50000000a
+ r_addend: 2941
+
+entry: 248
+ r_offset: 0x9ea
+ r_info: 0x1100000002
+ r_addend: -4
+
+entry: 249
+ r_offset: 0x9f3
+ r_info: 0x50000000a
+ r_addend: 2967
+
+entry: 250
+ r_offset: 0x9fa
+ r_info: 0x1100000002
+ r_addend: -4
+
+entry: 251
+ r_offset: 0xa03
+ r_info: 0x50000000a
+ r_addend: 2993
+
+entry: 252
+ r_offset: 0xa0a
+ r_info: 0x1100000002
+ r_addend: -4
+
+entry: 253
+ r_offset: 0xa15
+ r_info: 0x50000000a
+ r_addend: 3019
+
+entry: 254
+ r_offset: 0xa1a
+ r_info: 0x1100000002
+ r_addend: -4
+
+entry: 255
+ r_offset: 0xa2b
+ r_info: 0x1c00000002
+ r_addend: -4
+
+entry: 256
+ r_offset: 0xa55
+ r_info: 0x1700000002
+ r_addend: -4
+
+entry: 257
+ r_offset: 0xa5d
+ r_info: 0x1800000002
+ r_addend: -4
+
+entry: 258
+ r_offset: 0xa65
+ r_info: 0x1500000002
+ r_addend: -4
+
+entry: 259
+ r_offset: 0xa6d
+ r_info: 0x1200000002
+ r_addend: -4
+
+entry: 260
+ r_offset: 0xaae
+ r_info: 0x1f00000002
+ r_addend: -4
+
+entry: 261
+ r_offset: 0xac2
+ r_info: 0x1c00000002
+ r_addend: -4
+
+entry: 262
+ r_offset: 0xad1
+ r_info: 0x2000000002
+ r_addend: -4
+
+entry: 263
+ r_offset: 0xb1e
+ r_info: 0x2200000002
+ r_addend: -4
+
+entry: 264
+ r_offset: 0xb5c
+ r_info: 0x1f00000002
+ r_addend: -4
+
+entry: 265
+ r_offset: 0xb8c
+ r_info: 0x60000000a
+ r_addend: 760
+
+entry: 266
+ r_offset: 0xb93
+ r_info: 0x1100000002
+ r_addend: -4
+
+entry: 267
+ r_offset: 0xb9b
+ r_info: 0x50000000a
+ r_addend: 2941
+
+entry: 268
+ r_offset: 0xba2
+ r_info: 0x1100000002
+ r_addend: -4
+
+entry: 269
+ r_offset: 0xbab
+ r_info: 0x50000000a
+ r_addend: 2967
+
+entry: 270
+ r_offset: 0xbb2
+ r_info: 0x1100000002
+ r_addend: -4
+
+entry: 271
+ r_offset: 0xbbb
+ r_info: 0x50000000a
+ r_addend: 2993
+
+entry: 272
+ r_offset: 0xbc2
+ r_info: 0x1100000002
+ r_addend: -4
+
+entry: 273
+ r_offset: 0xbcb
+ r_info: 0x50000000a
+ r_addend: 3019
+
+entry: 274
+ r_offset: 0xbd2
+ r_info: 0x1100000002
+ r_addend: -4
+
+entry: 275
+ r_offset: 0xbf3
+ r_info: 0x2300000002
+ r_addend: -4
+
+entry: 276
+ r_offset: 0xc03
+ r_info: 0x2400000002
+ r_addend: -4
+
+entry: 277
+ r_offset: 0xc08
+ r_info: 0x50000000a
+ r_addend: 3044
+
+entry: 278
+ r_offset: 0xc12
+ r_info: 0x1100000002
+ r_addend: -4
+
+entry: 279
+ r_offset: 0xc21
+ r_info: 0x2200000002
+ r_addend: -4
+
+entry: 280
+ r_offset: 0xc3a
+ r_info: 0x2500000002
+ r_addend: -4
+
+entry: 281
+ r_offset: 0x88b
+ r_info: 0x1a00000002
+ r_addend: -4
+
+entry: 282
+ r_offset: 0xa76
+ r_info: 0x1d00000002
+ r_addend: -4
+
+entry: 283
+ r_offset: 0xc73
+ r_info: 0x1c00000002
+ r_addend: -4
+
+relocation with addend (.rela.rodata):
+
+entry: 0
+ r_offset: 0
+ r_info: 0x200000001
+ r_addend: 293
+
+entry: 1
+ r_offset: 0x8
+ r_info: 0x200000001
+ r_addend: 679
+
+entry: 2
+ r_offset: 0x10
+ r_info: 0x200000001
+ r_addend: 673
+
+entry: 3
+ r_offset: 0x18
+ r_info: 0x200000001
+ r_addend: 667
+
+entry: 4
+ r_offset: 0x20
+ r_info: 0x200000001
+ r_addend: 293
+
+entry: 5
+ r_offset: 0x28
+ r_info: 0x200000001
+ r_addend: 293
+
+entry: 6
+ r_offset: 0x30
+ r_info: 0x200000001
+ r_addend: 293
+
+entry: 7
+ r_offset: 0x38
+ r_info: 0x200000001
+ r_addend: 293
+
+entry: 8
+ r_offset: 0x40
+ r_info: 0x200000001
+ r_addend: 293
+
+entry: 9
+ r_offset: 0x48
+ r_info: 0x200000001
+ r_addend: 661
+
+entry: 10
+ r_offset: 0x50
+ r_info: 0x200000001
+ r_addend: 655
+
+entry: 11
+ r_offset: 0x58
+ r_info: 0x200000001
+ r_addend: 649
+
+entry: 12
+ r_offset: 0x60
+ r_info: 0x200000001
+ r_addend: 643
+
+entry: 13
+ r_offset: 0x68
+ r_info: 0x200000001
+ r_addend: 637
+
+entry: 14
+ r_offset: 0x70
+ r_info: 0x200000001
+ r_addend: 293
+
+entry: 15
+ r_offset: 0x78
+ r_info: 0x200000001
+ r_addend: 631
+
+entry: 16
+ r_offset: 0x80
+ r_info: 0x200000001
+ r_addend: 625
+
+entry: 17
+ r_offset: 0x88
+ r_info: 0x200000001
+ r_addend: 619
+
+entry: 18
+ r_offset: 0x90
+ r_info: 0x200000001
+ r_addend: 613
+
+entry: 19
+ r_offset: 0x98
+ r_info: 0x200000001
+ r_addend: 607
+
+entry: 20
+ r_offset: 0xa0
+ r_info: 0x200000001
+ r_addend: 601
+
+entry: 21
+ r_offset: 0xa8
+ r_info: 0x200000001
+ r_addend: 595
+
+entry: 22
+ r_offset: 0xb0
+ r_info: 0x200000001
+ r_addend: 589
+
+entry: 23
+ r_offset: 0xb8
+ r_info: 0x200000001
+ r_addend: 583
+
+entry: 24
+ r_offset: 0xc0
+ r_info: 0x200000001
+ r_addend: 577
+
+entry: 25
+ r_offset: 0xc8
+ r_info: 0x200000001
+ r_addend: 571
+
+entry: 26
+ r_offset: 0xd0
+ r_info: 0x200000001
+ r_addend: 565
+
+entry: 27
+ r_offset: 0xd8
+ r_info: 0x200000001
+ r_addend: 559
+
+entry: 28
+ r_offset: 0xe0
+ r_info: 0x200000001
+ r_addend: 553
+
+entry: 29
+ r_offset: 0xe8
+ r_info: 0x200000001
+ r_addend: 547
+
+entry: 30
+ r_offset: 0xf0
+ r_info: 0x200000001
+ r_addend: 541
+
+entry: 31
+ r_offset: 0xf8
+ r_info: 0x200000001
+ r_addend: 293
+
+entry: 32
+ r_offset: 0x100
+ r_info: 0x200000001
+ r_addend: 535
+
+entry: 33
+ r_offset: 0x108
+ r_info: 0x200000001
+ r_addend: 529
+
+entry: 34
+ r_offset: 0x110
+ r_info: 0x200000001
+ r_addend: 523
+
+entry: 35
+ r_offset: 0x118
+ r_info: 0x200000001
+ r_addend: 293
+
+entry: 36
+ r_offset: 0x120
+ r_info: 0x200000001
+ r_addend: 293
+
+entry: 37
+ r_offset: 0x128
+ r_info: 0x200000001
+ r_addend: 517
+
+entry: 38
+ r_offset: 0x130
+ r_info: 0x200000001
+ r_addend: 293
+
+entry: 39
+ r_offset: 0x138
+ r_info: 0x200000001
+ r_addend: 511
+
+entry: 40
+ r_offset: 0x140
+ r_info: 0x200000001
+ r_addend: 293
+
+entry: 41
+ r_offset: 0x148
+ r_info: 0x200000001
+ r_addend: 293
+
+entry: 42
+ r_offset: 0x150
+ r_info: 0x200000001
+ r_addend: 505
+
+entry: 43
+ r_offset: 0x158
+ r_info: 0x200000001
+ r_addend: 293
+
+entry: 44
+ r_offset: 0x160
+ r_info: 0x200000001
+ r_addend: 499
+
+entry: 45
+ r_offset: 0x168
+ r_info: 0x200000001
+ r_addend: 293
+
+entry: 46
+ r_offset: 0x170
+ r_info: 0x200000001
+ r_addend: 493
+
+entry: 47
+ r_offset: 0x178
+ r_info: 0x200000001
+ r_addend: 487
+
+entry: 48
+ r_offset: 0x180
+ r_info: 0x200000001
+ r_addend: 293
+
+entry: 49
+ r_offset: 0x188
+ r_info: 0x200000001
+ r_addend: 481
+
+entry: 50
+ r_offset: 0x190
+ r_info: 0x200000001
+ r_addend: 475
+
+entry: 51
+ r_offset: 0x198
+ r_info: 0x200000001
+ r_addend: 469
+
+entry: 52
+ r_offset: 0x1a0
+ r_info: 0x200000001
+ r_addend: 463
+
+entry: 53
+ r_offset: 0x1a8
+ r_info: 0x200000001
+ r_addend: 457
+
+entry: 54
+ r_offset: 0x1b0
+ r_info: 0x200000001
+ r_addend: 451
+
+entry: 55
+ r_offset: 0x1b8
+ r_info: 0x200000001
+ r_addend: 445
+
+entry: 56
+ r_offset: 0x1c0
+ r_info: 0x200000001
+ r_addend: 439
+
+entry: 57
+ r_offset: 0x1c8
+ r_info: 0x200000001
+ r_addend: 433
+
+entry: 58
+ r_offset: 0x1d0
+ r_info: 0x200000001
+ r_addend: 427
+
+entry: 59
+ r_offset: 0x1d8
+ r_info: 0x200000001
+ r_addend: 421
+
+entry: 60
+ r_offset: 0x1e0
+ r_info: 0x200000001
+ r_addend: 415
+
+entry: 61
+ r_offset: 0x1e8
+ r_info: 0x200000001
+ r_addend: 409
+
+entry: 62
+ r_offset: 0x1f0
+ r_info: 0x200000001
+ r_addend: 403
+
+entry: 63
+ r_offset: 0x1f8
+ r_info: 0x200000001
+ r_addend: 397
+
+entry: 64
+ r_offset: 0x200
+ r_info: 0x200000001
+ r_addend: 391
+
+entry: 65
+ r_offset: 0x208
+ r_info: 0x200000001
+ r_addend: 385
+
+entry: 66
+ r_offset: 0x210
+ r_info: 0x200000001
+ r_addend: 379
+
+entry: 67
+ r_offset: 0x218
+ r_info: 0x200000001
+ r_addend: 373
+
+entry: 68
+ r_offset: 0x220
+ r_info: 0x200000001
+ r_addend: 367
+
+entry: 69
+ r_offset: 0x228
+ r_info: 0x200000001
+ r_addend: 361
+
+entry: 70
+ r_offset: 0x230
+ r_info: 0x200000001
+ r_addend: 355
+
+entry: 71
+ r_offset: 0x238
+ r_info: 0x200000001
+ r_addend: 349
+
+entry: 72
+ r_offset: 0x240
+ r_info: 0x200000001
+ r_addend: 343
+
+entry: 73
+ r_offset: 0x248
+ r_info: 0x200000001
+ r_addend: 337
+
+entry: 74
+ r_offset: 0x250
+ r_info: 0x200000001
+ r_addend: 331
+
+entry: 75
+ r_offset: 0x258
+ r_info: 0x200000001
+ r_addend: 325
+
+entry: 76
+ r_offset: 0x260
+ r_info: 0x200000001
+ r_addend: 319
+
+entry: 77
+ r_offset: 0x268
+ r_info: 0x200000001
+ r_addend: 313
+
+entry: 78
+ r_offset: 0x270
+ r_info: 0x200000001
+ r_addend: 693
+
+entry: 79
+ r_offset: 0x278
+ r_info: 0x200000001
+ r_addend: 833
+
+entry: 80
+ r_offset: 0x280
+ r_info: 0x200000001
+ r_addend: 693
+
+entry: 81
+ r_offset: 0x288
+ r_info: 0x200000001
+ r_addend: 827
+
+entry: 82
+ r_offset: 0x290
+ r_info: 0x200000001
+ r_addend: 821
+
+entry: 83
+ r_offset: 0x298
+ r_info: 0x200000001
+ r_addend: 815
+
+entry: 84
+ r_offset: 0x2a0
+ r_info: 0x200000001
+ r_addend: 809
+
+entry: 85
+ r_offset: 0x2a8
+ r_info: 0x200000001
+ r_addend: 803
+
+entry: 86
+ r_offset: 0x2b0
+ r_info: 0x200000001
+ r_addend: 797
+
+entry: 87
+ r_offset: 0x2b8
+ r_info: 0x200000001
+ r_addend: 791
+
+entry: 88
+ r_offset: 0x2c0
+ r_info: 0x200000001
+ r_addend: 785
+
+entry: 89
+ r_offset: 0x2c8
+ r_info: 0x200000001
+ r_addend: 779
+
+entry: 90
+ r_offset: 0x2d0
+ r_info: 0x200000001
+ r_addend: 773
+
+entry: 91
+ r_offset: 0x2d8
+ r_info: 0x200000001
+ r_addend: 767
+
+entry: 92
+ r_offset: 0x2e0
+ r_info: 0x200000001
+ r_addend: 761
+
+entry: 93
+ r_offset: 0x2e8
+ r_info: 0x200000001
+ r_addend: 755
+
+entry: 94
+ r_offset: 0x2f0
+ r_info: 0x200000001
+ r_addend: 749
+
+entry: 95
+ r_offset: 0x2f8
+ r_info: 0x200000001
+ r_addend: 743
+
+entry: 96
+ r_offset: 0x300
+ r_info: 0x200000001
+ r_addend: 737
+
+entry: 97
+ r_offset: 0x308
+ r_info: 0x200000001
+ r_addend: 731
+
+entry: 98
+ r_offset: 0x310
+ r_info: 0x200000001
+ r_addend: 725
+
+entry: 99
+ r_offset: 0x318
+ r_info: 0x200000001
+ r_addend: 719
+
+entry: 100
+ r_offset: 0x320
+ r_info: 0x200000001
+ r_addend: 713
+
+entry: 101
+ r_offset: 0x328
+ r_info: 0x200000001
+ r_addend: 853
+
+entry: 102
+ r_offset: 0x330
+ r_info: 0x200000001
+ r_addend: 1203
+
+entry: 103
+ r_offset: 0x338
+ r_info: 0x200000001
+ r_addend: 1197
+
+entry: 104
+ r_offset: 0x340
+ r_info: 0x200000001
+ r_addend: 1191
+
+entry: 105
+ r_offset: 0x348
+ r_info: 0x200000001
+ r_addend: 1185
+
+entry: 106
+ r_offset: 0x350
+ r_info: 0x200000001
+ r_addend: 1179
+
+entry: 107
+ r_offset: 0x358
+ r_info: 0x200000001
+ r_addend: 853
+
+entry: 108
+ r_offset: 0x360
+ r_info: 0x200000001
+ r_addend: 853
+
+entry: 109
+ r_offset: 0x368
+ r_info: 0x200000001
+ r_addend: 1173
+
+entry: 110
+ r_offset: 0x370
+ r_info: 0x200000001
+ r_addend: 853
+
+entry: 111
+ r_offset: 0x378
+ r_info: 0x200000001
+ r_addend: 1167
+
+entry: 112
+ r_offset: 0x380
+ r_info: 0x200000001
+ r_addend: 1161
+
+entry: 113
+ r_offset: 0x388
+ r_info: 0x200000001
+ r_addend: 853
+
+entry: 114
+ r_offset: 0x390
+ r_info: 0x200000001
+ r_addend: 1155
+
+entry: 115
+ r_offset: 0x398
+ r_info: 0x200000001
+ r_addend: 853
+
+entry: 116
+ r_offset: 0x3a0
+ r_info: 0x200000001
+ r_addend: 1149
+
+entry: 117
+ r_offset: 0x3a8
+ r_info: 0x200000001
+ r_addend: 1143
+
+entry: 118
+ r_offset: 0x3b0
+ r_info: 0x200000001
+ r_addend: 1137
+
+entry: 119
+ r_offset: 0x3b8
+ r_info: 0x200000001
+ r_addend: 1131
+
+entry: 120
+ r_offset: 0x3c0
+ r_info: 0x200000001
+ r_addend: 1125
+
+entry: 121
+ r_offset: 0x3c8
+ r_info: 0x200000001
+ r_addend: 853
+
+entry: 122
+ r_offset: 0x3d0
+ r_info: 0x200000001
+ r_addend: 1119
+
+entry: 123
+ r_offset: 0x3d8
+ r_info: 0x200000001
+ r_addend: 1113
+
+entry: 124
+ r_offset: 0x3e0
+ r_info: 0x200000001
+ r_addend: 1107
+
+entry: 125
+ r_offset: 0x3e8
+ r_info: 0x200000001
+ r_addend: 1101
+
+entry: 126
+ r_offset: 0x3f0
+ r_info: 0x200000001
+ r_addend: 1095
+
+entry: 127
+ r_offset: 0x3f8
+ r_info: 0x200000001
+ r_addend: 1089
+
+entry: 128
+ r_offset: 0x400
+ r_info: 0x200000001
+ r_addend: 1083
+
+entry: 129
+ r_offset: 0x408
+ r_info: 0x200000001
+ r_addend: 1077
+
+entry: 130
+ r_offset: 0x410
+ r_info: 0x200000001
+ r_addend: 1071
+
+entry: 131
+ r_offset: 0x418
+ r_info: 0x200000001
+ r_addend: 1065
+
+entry: 132
+ r_offset: 0x420
+ r_info: 0x200000001
+ r_addend: 1059
+
+entry: 133
+ r_offset: 0x428
+ r_info: 0x200000001
+ r_addend: 1053
+
+entry: 134
+ r_offset: 0x430
+ r_info: 0x200000001
+ r_addend: 1047
+
+entry: 135
+ r_offset: 0x438
+ r_info: 0x200000001
+ r_addend: 1041
+
+entry: 136
+ r_offset: 0x440
+ r_info: 0x200000001
+ r_addend: 1035
+
+entry: 137
+ r_offset: 0x448
+ r_info: 0x200000001
+ r_addend: 1029
+
+entry: 138
+ r_offset: 0x450
+ r_info: 0x200000001
+ r_addend: 1023
+
+entry: 139
+ r_offset: 0x458
+ r_info: 0x200000001
+ r_addend: 1017
+
+entry: 140
+ r_offset: 0x460
+ r_info: 0x200000001
+ r_addend: 1011
+
+entry: 141
+ r_offset: 0x468
+ r_info: 0x200000001
+ r_addend: 1005
+
+entry: 142
+ r_offset: 0x470
+ r_info: 0x200000001
+ r_addend: 853
+
+entry: 143
+ r_offset: 0x478
+ r_info: 0x200000001
+ r_addend: 999
+
+entry: 144
+ r_offset: 0x480
+ r_info: 0x200000001
+ r_addend: 993
+
+entry: 145
+ r_offset: 0x488
+ r_info: 0x200000001
+ r_addend: 987
+
+entry: 146
+ r_offset: 0x490
+ r_info: 0x200000001
+ r_addend: 981
+
+entry: 147
+ r_offset: 0x498
+ r_info: 0x200000001
+ r_addend: 975
+
+entry: 148
+ r_offset: 0x4a0
+ r_info: 0x200000001
+ r_addend: 969
+
+entry: 149
+ r_offset: 0x4a8
+ r_info: 0x200000001
+ r_addend: 963
+
+entry: 150
+ r_offset: 0x4b0
+ r_info: 0x200000001
+ r_addend: 957
+
+entry: 151
+ r_offset: 0x4b8
+ r_info: 0x200000001
+ r_addend: 951
+
+entry: 152
+ r_offset: 0x4c0
+ r_info: 0x200000001
+ r_addend: 945
+
+entry: 153
+ r_offset: 0x4c8
+ r_info: 0x200000001
+ r_addend: 939
+
+entry: 154
+ r_offset: 0x4d0
+ r_info: 0x200000001
+ r_addend: 933
+
+entry: 155
+ r_offset: 0x4d8
+ r_info: 0x200000001
+ r_addend: 927
+
+entry: 156
+ r_offset: 0x4e0
+ r_info: 0x200000001
+ r_addend: 921
+
+entry: 157
+ r_offset: 0x4e8
+ r_info: 0x200000001
+ r_addend: 915
+
+entry: 158
+ r_offset: 0x4f0
+ r_info: 0x200000001
+ r_addend: 909
+
+entry: 159
+ r_offset: 0x4f8
+ r_info: 0x200000001
+ r_addend: 903
+
+entry: 160
+ r_offset: 0x500
+ r_info: 0x200000001
+ r_addend: 897
+
+entry: 161
+ r_offset: 0x508
+ r_info: 0x200000001
+ r_addend: 891
+
+entry: 162
+ r_offset: 0x510
+ r_info: 0x200000001
+ r_addend: 885
+
+entry: 163
+ r_offset: 0x518
+ r_info: 0x200000001
+ r_addend: 853
+
+entry: 164
+ r_offset: 0x520
+ r_info: 0x200000001
+ r_addend: 879
+
+entry: 165
+ r_offset: 0x528
+ r_info: 0x200000001
+ r_addend: 873
+
+entry: 166
+ r_offset: 0x530
+ r_info: 0x200000001
+ r_addend: 2151
+
+entry: 167
+ r_offset: 0x538
+ r_info: 0x200000001
+ r_addend: 2229
+
+entry: 168
+ r_offset: 0x540
+ r_info: 0x200000001
+ r_addend: 2151
+
+entry: 169
+ r_offset: 0x548
+ r_info: 0x200000001
+ r_addend: 2247
+
+entry: 170
+ r_offset: 0x550
+ r_info: 0x200000001
+ r_addend: 2247
+
+entry: 171
+ r_offset: 0x558
+ r_info: 0x200000001
+ r_addend: 2307
+
+entry: 172
+ r_offset: 0x560
+ r_info: 0x200000001
+ r_addend: 2307
+
+entry: 173
+ r_offset: 0x568
+ r_info: 0x200000001
+ r_addend: 2307
+
+entry: 174
+ r_offset: 0x570
+ r_info: 0x200000001
+ r_addend: 2328
+
+entry: 175
+ r_offset: 0x578
+ r_info: 0x200000001
+ r_addend: 2247
+
+entry: 176
+ r_offset: 0x580
+ r_info: 0x200000001
+ r_addend: 2247
+
+entry: 177
+ r_offset: 0x588
+ r_info: 0x200000001
+ r_addend: 2307
+
+entry: 178
+ r_offset: 0x590
+ r_info: 0x200000001
+ r_addend: 2307
+
+entry: 179
+ r_offset: 0x598
+ r_info: 0x200000001
+ r_addend: 2151
+
+entry: 180
+ r_offset: 0x5a0
+ r_info: 0x200000001
+ r_addend: 2349
+
+entry: 181
+ r_offset: 0x5a8
+ r_info: 0x200000001
+ r_addend: 2151
+
+entry: 182
+ r_offset: 0x5b0
+ r_info: 0x200000001
+ r_addend: 2151
+
+entry: 183
+ r_offset: 0x5b8
+ r_info: 0x200000001
+ r_addend: 2203
+
+entry: 184
+ r_offset: 0x5c0
+ r_info: 0x200000001
+ r_addend: 2203
+
+entry: 185
+ r_offset: 0x5c8
+ r_info: 0x200000001
+ r_addend: 2203
+
+entry: 186
+ r_offset: 0x5d0
+ r_info: 0x200000001
+ r_addend: 2203
+
+entry: 187
+ r_offset: 0x5d8
+ r_info: 0x200000001
+ r_addend: 2203
+
+relocation with addend (.rela.eh_frame):
+
+entry: 0
+ r_offset: 0x20
+ r_info: 0x20000000a
+ r_addend: 0
+
+entry: 1
+ r_offset: 0x38
+ r_info: 0x20000000a
+ r_addend: 288
+
+entry: 2
+ r_offset: 0x50
+ r_info: 0x20000000a
+ r_addend: 688
+
+entry: 3
+ r_offset: 0x68
+ r_info: 0x20000000a
+ r_addend: 848
+
+entry: 4
+ r_offset: 0x80
+ r_info: 0x20000000a
+ r_addend: 1216
+
+entry: 5
+ r_offset: 0xa8
+ r_info: 0x20000000a
+ r_addend: 1424
+
+entry: 6
+ r_offset: 0xd0
+ r_info: 0x20000000a
+ r_addend: 1552
+
+entry: 7
+ r_offset: 0xf0
+ r_info: 0x20000000a
+ r_addend: 1648
+
+entry: 8
+ r_offset: 0x110
+ r_info: 0x20000000a
+ r_addend: 1744
+
+entry: 9
+ r_offset: 0x130
+ r_info: 0x20000000a
+ r_addend: 1824
+
+entry: 10
+ r_offset: 0x150
+ r_info: 0x20000000a
+ r_addend: 2080
+
+entry: 11
+ r_offset: 0x170
+ r_info: 0x20000000a
+ r_addend: 2384
+
+entry: 12
+ r_offset: 0x190
+ r_info: 0x20000000a
+ r_addend: 2480
+
+entry: 13
+ r_offset: 0x1b0
+ r_info: 0x20000000a
+ r_addend: 2640
+
+entry: 14
+ r_offset: 0x1c8
+ r_info: 0x20000000a
+ r_addend: 2688
+
+entry: 15
+ r_offset: 0x1f0
+ r_info: 0x20000000a
+ r_addend: 2816
+
+entry: 16
+ r_offset: 0x228
+ r_info: 0x20000000a
+ r_addend: 3136
+
+libdwarf.a(dwarf_die.o):
+
+relocation with addend (.rela.text):
+
+entry: 0
+ r_offset: 0x53
+ r_info: 0xa0000000b
+ r_addend: 26
+
+entry: 1
+ r_offset: 0x86
+ r_info: 0xa0000000b
+ r_addend: 26
+
+entry: 2
+ r_offset: 0xde
+ r_info: 0xa0000000b
+ r_addend: 16
+
+entry: 3
+ r_offset: 0x128
+ r_info: 0xa0000000b
+ r_addend: 0
+
+entry: 4
+ r_offset: 0x15a
+ r_info: 0xa0000000b
+ r_addend: 0
+
+entry: 5
+ r_offset: 0x1aa
+ r_info: 0xa0000000b
+ r_addend: 0
+
+entry: 6
+ r_offset: 0x1e5
+ r_info: 0xa0000000b
+ r_addend: 0
+
+entry: 7
+ r_offset: 0x284
+ r_info: 0x1400000002
+ r_addend: -4
+
+entry: 8
+ r_offset: 0x2a6
+ r_info: 0xa0000000b
+ r_addend: 48
+
+entry: 9
+ r_offset: 0x2ee
+ r_info: 0xa0000000b
+ r_addend: 48
+
+entry: 10
+ r_offset: 0x31f
+ r_info: 0xa00000002
+ r_addend: 36
+
+relocation with addend (.rela.rodata):
+
+entry: 0
+ r_offset: 0x28
+ r_info: 0xb00000001
+ r_addend: 0
+
+relocation with addend (.rela.eh_frame):
+
+entry: 0
+ r_offset: 0x20
+ r_info: 0x20000000a
+ r_addend: 0
+
+entry: 1
+ r_offset: 0x38
+ r_info: 0x20000000a
+ r_addend: 16
+
+entry: 2
+ r_offset: 0x50
+ r_info: 0x20000000a
+ r_addend: 160
+
+entry: 3
+ r_offset: 0x68
+ r_info: 0x20000000a
+ r_addend: 240
+
+entry: 4
+ r_offset: 0x80
+ r_info: 0x20000000a
+ r_addend: 512
+
+entry: 5
+ r_offset: 0x98
+ r_info: 0x20000000a
+ r_addend: 560
+
+libdwarf.a(dwarf_cu.o):
+
+relocation with addend (.rela.text):
+
+entry: 0
+ r_offset: 0x66
+ r_info: 0x60000000b
+ r_addend: 0
+
+entry: 1
+ r_offset: 0x8c
+ r_info: 0x60000000b
+ r_addend: 0
+
+entry: 2
+ r_offset: 0xfb
+ r_info: 0x60000000b
+ r_addend: 0
+
+relocation with addend (.rela.eh_frame):
+
+entry: 0
+ r_offset: 0x20
+ r_info: 0x20000000a
+ r_addend: 0
+
+libdwarf.a(dwarf_errmsg.o):
+
+relocation with addend (.rela.text):
+
+entry: 0
+ r_offset: 0x30
+ r_info: 0xa00000002
+ r_addend: -4
+
+entry: 1
+ r_offset: 0x53
+ r_info: 0xa00000002
+ r_addend: 108
+
+entry: 2
+ r_offset: 0x6a
+ r_info: 0xa0000000b
+ r_addend: 0
+
+entry: 3
+ r_offset: 0x7d
+ r_info: 0x50000000a
+ r_addend: 24
+
+entry: 4
+ r_offset: 0x8c
+ r_info: 0xb00000002
+ r_addend: -4
+
+entry: 5
+ r_offset: 0xa4
+ r_info: 0xc00000002
+ r_addend: -4
+
+entry: 6
+ r_offset: 0xb2
+ r_info: 0x50000000a
+ r_addend: 0
+
+entry: 7
+ r_offset: 0xc1
+ r_info: 0xb00000002
+ r_addend: -4
+
+relocation with addend (.rela.data):
+
+entry: 0
+ r_offset: 0
+ r_info: 0x500000001
+ r_addend: 36
+
+entry: 1
+ r_offset: 0x8
+ r_info: 0x500000001
+ r_addend: 45
+
+entry: 2
+ r_offset: 0x10
+ r_info: 0x500000001
+ r_addend: 54
+
+entry: 3
+ r_offset: 0x18
+ r_info: 0x500000001
+ r_addend: 69
+
+entry: 4
+ r_offset: 0x20
+ r_info: 0x500000001
+ r_addend: 86
+
+entry: 5
+ r_offset: 0x28
+ r_info: 0x500000001
+ r_addend: 102
+
+entry: 6
+ r_offset: 0x30
+ r_info: 0x500000001
+ r_addend: 122
+
+entry: 7
+ r_offset: 0x38
+ r_info: 0x500000001
+ r_addend: 132
+
+entry: 8
+ r_offset: 0x40
+ r_info: 0x600000001
+ r_addend: 0
+
+entry: 9
+ r_offset: 0x48
+ r_info: 0x500000001
+ r_addend: 162
+
+entry: 10
+ r_offset: 0x50
+ r_info: 0x500000001
+ r_addend: 179
+
+entry: 11
+ r_offset: 0x58
+ r_info: 0x500000001
+ r_addend: 201
+
+entry: 12
+ r_offset: 0x60
+ r_info: 0x600000001
+ r_addend: 48
+
+entry: 13
+ r_offset: 0x68
+ r_info: 0x500000001
+ r_addend: 229
+
+entry: 14
+ r_offset: 0x70
+ r_info: 0x500000001
+ r_addend: 254
+
+relocation with addend (.rela.eh_frame):
+
+entry: 0
+ r_offset: 0x20
+ r_info: 0x20000000a
+ r_addend: 0
diff --git a/test/elfdump/ts/archive2/@s%libdwarf.a.err b/test/elfdump/ts/archive2/@s%libdwarf.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive2/@s%libdwarf.a.err
diff --git a/test/elfdump/ts/archive2/@s%libdwarf.a.out b/test/elfdump/ts/archive2/@s%libdwarf.a.out
new file mode 100644
index 0000000000000..26c157deb826c
--- /dev/null
+++ b/test/elfdump/ts/archive2/@s%libdwarf.a.out
@@ -0,0 +1,1982 @@
+
+symbol table (archive):
+
+entry: 0
+ offset: 0x3b4
+ member: dwarf_loc.o
+ symbol: dwarf_op_num
+
+entry: 1
+ offset: 0x3b4
+ member: dwarf_loc.o
+ symbol: dwarf_locdesc_free
+
+entry: 2
+ offset: 0x3b4
+ member: dwarf_loc.o
+ symbol: dwarf_locdesc
+
+entry: 3
+ offset: 0x3828
+ member: dwarf_init.o
+ symbol: dwarf_elf_init
+
+entry: 4
+ offset: 0x3828
+ member: dwarf_init.o
+ symbol: dwarf_init
+
+entry: 5
+ offset: 0x670c
+ member: dwarf_form.o
+ symbol: dwarf_whatform
+
+entry: 6
+ offset: 0x6cd8
+ member: dwarf_finish.o
+ symbol: dwarf_finish
+
+entry: 7
+ offset: 0x7714
+ member: dwarf_errno.o
+ symbol: dwarf_errno
+
+entry: 8
+ offset: 0x7bb8
+ member: dwarf_dealloc.o
+ symbol: dwarf_dealloc
+
+entry: 9
+ offset: 0x8054
+ member: dwarf_attrval.o
+ symbol: dwarf_attrval_find
+
+entry: 10
+ offset: 0x8054
+ member: dwarf_attrval.o
+ symbol: dwarf_attrval_unsigned
+
+entry: 11
+ offset: 0x8054
+ member: dwarf_attrval.o
+ symbol: dwarf_attrval_signed
+
+entry: 12
+ offset: 0x8054
+ member: dwarf_attrval.o
+ symbol: dwarf_attrval_string
+
+entry: 13
+ offset: 0x8054
+ member: dwarf_attrval.o
+ symbol: dwarf_attrval_flag
+
+entry: 14
+ offset: 0x8054
+ member: dwarf_attrval.o
+ symbol: dwarf_attrval_add
+
+entry: 15
+ offset: 0x94e8
+ member: dwarf_attr.o
+ symbol: dwarf_attr
+
+entry: 16
+ offset: 0x94e8
+ member: dwarf_attr.o
+ symbol: dwarf_attr_add
+
+entry: 17
+ offset: 0x9cfc
+ member: dwarf_abbrev.o
+ symbol: dwarf_abbrev_find
+
+entry: 18
+ offset: 0x9cfc
+ member: dwarf_abbrev.o
+ symbol: dwarf_abbrev_add
+
+entry: 19
+ offset: 0xa428
+ member: dwarf_dump.o
+ symbol: get_sht_desc
+
+entry: 20
+ offset: 0xa428
+ member: dwarf_dump.o
+ symbol: get_attr_desc
+
+entry: 21
+ offset: 0xa428
+ member: dwarf_dump.o
+ symbol: get_form_desc
+
+entry: 22
+ offset: 0xa428
+ member: dwarf_dump.o
+ symbol: get_tag_desc
+
+entry: 23
+ offset: 0xa428
+ member: dwarf_dump.o
+ symbol: dwarf_dump_abbrev
+
+entry: 24
+ offset: 0xa428
+ member: dwarf_dump.o
+ symbol: dwarf_dump_symtab
+
+entry: 25
+ offset: 0xa428
+ member: dwarf_dump.o
+ symbol: dwarf_dump_dbgstr
+
+entry: 26
+ offset: 0xa428
+ member: dwarf_dump.o
+ symbol: dwarf_dump_strtab
+
+entry: 27
+ offset: 0xa428
+ member: dwarf_dump.o
+ symbol: dwarf_dump_shstrtab
+
+entry: 28
+ offset: 0xa428
+ member: dwarf_dump.o
+ symbol: dwarf_dump_raw
+
+entry: 29
+ offset: 0xa428
+ member: dwarf_dump.o
+ symbol: dwarf_dump_av
+
+entry: 30
+ offset: 0xa428
+ member: dwarf_dump.o
+ symbol: dwarf_dump_die
+
+entry: 31
+ offset: 0xa428
+ member: dwarf_dump.o
+ symbol: dwarf_dump_info
+
+entry: 32
+ offset: 0xa428
+ member: dwarf_dump.o
+ symbol: dwarf_dump
+
+entry: 33
+ offset: 0xa428
+ member: dwarf_dump.o
+ symbol: dwarf_dump_tree
+
+entry: 34
+ offset: 0xa428
+ member: dwarf_dump.o
+ symbol: dwarf_dump_die_at_offset
+
+entry: 35
+ offset: 0xffec
+ member: dwarf_die.o
+ symbol: dwarf_dieoffset
+
+entry: 36
+ offset: 0xffec
+ member: dwarf_die.o
+ symbol: dwarf_child
+
+entry: 37
+ offset: 0xffec
+ member: dwarf_die.o
+ symbol: dwarf_tag
+
+entry: 38
+ offset: 0xffec
+ member: dwarf_die.o
+ symbol: dwarf_siblingof
+
+entry: 39
+ offset: 0xffec
+ member: dwarf_die.o
+ symbol: dwarf_die_find
+
+entry: 40
+ offset: 0xffec
+ member: dwarf_die.o
+ symbol: dwarf_die_add
+
+entry: 41
+ offset: 0x10d80
+ member: dwarf_cu.o
+ symbol: dwarf_next_cu_header
+
+entry: 42
+ offset: 0x1144c
+ member: dwarf_errmsg.o
+ symbol: dwarf_errmsg
+
+entry: 43
+ offset: 0x1144c
+ member: dwarf_errmsg.o
+ symbol: _libdwarf_errors
+
+libdwarf.a(dwarf_loc.o):
+
+symbol table (.symtab):
+
+entry: 0
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_LOCAL
+ st_shndx: 0
+
+entry: 1
+ st_name: dwarf_loc.c
+ st_value: 0
+ st_size: 0
+ st_info: STT_FILE STB_LOCAL
+ st_shndx: 65521
+
+entry: 2
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 1
+
+entry: 3
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 3
+
+entry: 4
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 4
+
+entry: 5
+ st_name: dwarf_decode_sleb128
+ st_value: 0
+ st_size: 83
+ st_info: STT_FUNC STB_LOCAL
+ st_shndx: 1
+
+entry: 6
+ st_name: dwarf_decode_uleb128
+ st_value: 0x60
+ st_size: 44
+ st_info: STT_FUNC STB_LOCAL
+ st_shndx: 1
+
+entry: 7
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 5
+
+entry: 8
+ st_name: __func__.4319
+ st_value: 0x940
+ st_size: 19
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 5
+
+entry: 9
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 7
+
+entry: 10
+ st_name: __func__.4283
+ st_value: 0x953
+ st_size: 14
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 5
+
+entry: 11
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 8
+
+entry: 12
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 10
+
+entry: 13
+ st_name: dwarf_op_num
+ st_value: 0x90
+ st_size: 183
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+entry: 14
+ st_name: dwarf_locdesc_free
+ st_value: 0x150
+ st_size: 81
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+entry: 15
+ st_name: free
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+entry: 16
+ st_name: dwarf_locdesc
+ st_value: 0x1b0
+ st_size: 844
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+entry: 17
+ st_name: dwarf_attrval_find
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+entry: 18
+ st_name: calloc
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+entry: 19
+ st_name: get_form_desc
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+entry: 20
+ st_name: printf
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+libdwarf.a(dwarf_init.o):
+
+symbol table (.symtab):
+
+entry: 0
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_LOCAL
+ st_shndx: 0
+
+entry: 1
+ st_name: dwarf_init.c
+ st_value: 0
+ st_size: 0
+ st_info: STT_FILE STB_LOCAL
+ st_shndx: 65521
+
+entry: 2
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 1
+
+entry: 3
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 3
+
+entry: 4
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 4
+
+entry: 5
+ st_name: dwarf_read_lsb
+ st_value: 0
+ st_size: 153
+ st_info: STT_FUNC STB_LOCAL
+ st_shndx: 1
+
+entry: 6
+ st_name: dwarf_read_msb
+ st_value: 0xa0
+ st_size: 201
+ st_info: STT_FUNC STB_LOCAL
+ st_shndx: 1
+
+entry: 7
+ st_name: dwarf_write_lsb
+ st_value: 0x170
+ st_size: 121
+ st_info: STT_FUNC STB_LOCAL
+ st_shndx: 1
+
+entry: 8
+ st_name: dwarf_write_msb
+ st_value: 0x1f0
+ st_size: 103
+ st_info: STT_FUNC STB_LOCAL
+ st_shndx: 1
+
+entry: 9
+ st_name: dwarf_read_uleb128
+ st_value: 0x260
+ st_size: 58
+ st_info: STT_FUNC STB_LOCAL
+ st_shndx: 1
+
+entry: 10
+ st_name: dwarf_read_block
+ st_value: 0x2a0
+ st_size: 23
+ st_info: STT_FUNC STB_LOCAL
+ st_shndx: 1
+
+entry: 11
+ st_name: dwarf_init_attr
+ st_value: 0x2c0
+ st_size: 806
+ st_info: STT_FUNC STB_LOCAL
+ st_shndx: 1
+
+entry: 12
+ st_name: __func__.4419
+ st_value: 0x1a0
+ st_size: 16
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 5
+
+entry: 13
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 5
+
+entry: 14
+ st_name: dwarf_read
+ st_value: 0
+ st_size: 8
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 4
+
+entry: 15
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 7
+
+entry: 16
+ st_name: dwarf_write
+ st_value: 0x8
+ st_size: 8
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 4
+
+entry: 17
+ st_name: debug_snames
+ st_value: 0xe0
+ st_size: 144
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 5
+
+entry: 18
+ st_name: __func__.4570
+ st_value: 0x170
+ st_size: 15
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 5
+
+entry: 19
+ st_name: __func__.4622
+ st_value: 0xc3
+ st_size: 15
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 5
+
+entry: 20
+ st_name: __func__.4362
+ st_value: 0x190
+ st_size: 15
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 5
+
+entry: 21
+ st_name: __func__.4504
+ st_value: 0x180
+ st_size: 16
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 5
+
+entry: 22
+ st_name: __func__.4640
+ st_value: 0xb8
+ st_size: 11
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 5
+
+entry: 23
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 8
+
+entry: 24
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 9
+
+entry: 25
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 11
+
+entry: 26
+ st_name: dwarf_attrval_add
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+entry: 27
+ st_name: elf_strptr
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+entry: 28
+ st_name: dwarf_elf_init
+ st_value: 0x5f0
+ st_size: 2641
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+entry: 29
+ st_name: calloc
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+entry: 30
+ st_name: gelf_getehdr
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+entry: 31
+ st_name: elf_getshstrndx
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+entry: 32
+ st_name: elf_nextscn
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+entry: 33
+ st_name: gelf_getshdr
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+entry: 34
+ st_name: strcmp
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+entry: 35
+ st_name: elf_ndxscn
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+entry: 36
+ st_name: elf_getdata
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+entry: 37
+ st_name: elf_errno
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+entry: 38
+ st_name: dwarf_abbrev_add
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+entry: 39
+ st_name: dwarf_attr_add
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+entry: 40
+ st_name: gelf_getrela
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+entry: 41
+ st_name: gelf_getsym
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+entry: 42
+ st_name: printf
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+entry: 43
+ st_name: dwarf_abbrev_find
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+entry: 44
+ st_name: dwarf_die_add
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+entry: 45
+ st_name: free
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+entry: 46
+ st_name: dwarf_init
+ st_value: 0x1050
+ st_size: 421
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+entry: 47
+ st_name: __stack_chk_guard
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+entry: 48
+ st_name: elf_version
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+entry: 49
+ st_name: elf_begin
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+entry: 50
+ st_name: dwarf_finish
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+entry: 51
+ st_name: __stack_chk_fail
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+entry: 52
+ st_name: elf_end
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+libdwarf.a(dwarf_form.o):
+
+symbol table (.symtab):
+
+entry: 0
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_LOCAL
+ st_shndx: 0
+
+entry: 1
+ st_name: dwarf_form.c
+ st_value: 0
+ st_size: 0
+ st_info: STT_FILE STB_LOCAL
+ st_shndx: 65521
+
+entry: 2
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 1
+
+entry: 3
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 3
+
+entry: 4
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 4
+
+entry: 5
+ st_name: __func__.3546
+ st_value: 0
+ st_size: 15
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 5
+
+entry: 6
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 5
+
+entry: 7
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 6
+
+entry: 8
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 8
+
+entry: 9
+ st_name: dwarf_whatform
+ st_value: 0
+ st_size: 72
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+libdwarf.a(dwarf_finish.o):
+
+symbol table (.symtab):
+
+entry: 0
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_LOCAL
+ st_shndx: 0
+
+entry: 1
+ st_name: dwarf_finish.c
+ st_value: 0
+ st_size: 0
+ st_info: STT_FILE STB_LOCAL
+ st_shndx: 65521
+
+entry: 2
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 1
+
+entry: 3
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 3
+
+entry: 4
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 4
+
+entry: 5
+ st_name: __func__.3889
+ st_value: 0
+ st_size: 13
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 5
+
+entry: 6
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 5
+
+entry: 7
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 6
+
+entry: 8
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 8
+
+entry: 9
+ st_name: dwarf_finish
+ st_value: 0
+ st_size: 851
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+entry: 10
+ st_name: free
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+entry: 11
+ st_name: elf_end
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+libdwarf.a(dwarf_errno.o):
+
+symbol table (.symtab):
+
+entry: 0
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_LOCAL
+ st_shndx: 0
+
+entry: 1
+ st_name: dwarf_errno.c
+ st_value: 0
+ st_size: 0
+ st_info: STT_FILE STB_LOCAL
+ st_shndx: 65521
+
+entry: 2
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 1
+
+entry: 3
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 2
+
+entry: 4
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 3
+
+entry: 5
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 4
+
+entry: 6
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 6
+
+entry: 7
+ st_name: dwarf_errno
+ st_value: 0
+ st_size: 14
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+libdwarf.a(dwarf_dealloc.o):
+
+symbol table (.symtab):
+
+entry: 0
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_LOCAL
+ st_shndx: 0
+
+entry: 1
+ st_name: dwarf_dealloc.c
+ st_value: 0
+ st_size: 0
+ st_info: STT_FILE STB_LOCAL
+ st_shndx: 65521
+
+entry: 2
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 1
+
+entry: 3
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 2
+
+entry: 4
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 3
+
+entry: 5
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 4
+
+entry: 6
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 6
+
+entry: 7
+ st_name: dwarf_dealloc
+ st_value: 0
+ st_size: 2
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+libdwarf.a(dwarf_attrval.o):
+
+symbol table (.symtab):
+
+entry: 0
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_LOCAL
+ st_shndx: 0
+
+entry: 1
+ st_name: dwarf_attrval.c
+ st_value: 0
+ st_size: 0
+ st_info: STT_FILE STB_LOCAL
+ st_shndx: 65521
+
+entry: 2
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 1
+
+entry: 3
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 3
+
+entry: 4
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 4
+
+entry: 5
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 5
+
+entry: 6
+ st_name: __func__.4602
+ st_value: 0
+ st_size: 23
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 6
+
+entry: 7
+ st_name: __func__.4578
+ st_value: 0x20
+ st_size: 21
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 6
+
+entry: 8
+ st_name: __func__.4552
+ st_value: 0x40
+ st_size: 21
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 6
+
+entry: 9
+ st_name: __func__.4528
+ st_value: 0x60
+ st_size: 19
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 6
+
+entry: 10
+ st_name: __func__.4507
+ st_value: 0x80
+ st_size: 18
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 6
+
+entry: 11
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 6
+
+entry: 12
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 7
+
+entry: 13
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 9
+
+entry: 14
+ st_name: dwarf_attrval_find
+ st_value: 0
+ st_size: 38
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+entry: 15
+ st_name: dwarf_attrval_unsigned
+ st_value: 0x30
+ st_size: 557
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+entry: 16
+ st_name: get_form_desc
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+entry: 17
+ st_name: printf
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+entry: 18
+ st_name: dwarf_die_find
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+entry: 19
+ st_name: dwarf_attrval_signed
+ st_value: 0x260
+ st_size: 284
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+entry: 20
+ st_name: dwarf_attrval_string
+ st_value: 0x380
+ st_size: 324
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+entry: 21
+ st_name: dwarf_attrval_flag
+ st_value: 0x4d0
+ st_size: 278
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+entry: 22
+ st_name: dwarf_attrval_add
+ st_value: 0x5f0
+ st_size: 232
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+entry: 23
+ st_name: malloc
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+libdwarf.a(dwarf_attr.o):
+
+symbol table (.symtab):
+
+entry: 0
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_LOCAL
+ st_shndx: 0
+
+entry: 1
+ st_name: dwarf_attr.c
+ st_value: 0
+ st_size: 0
+ st_info: STT_FILE STB_LOCAL
+ st_shndx: 65521
+
+entry: 2
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 1
+
+entry: 3
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 3
+
+entry: 4
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 4
+
+entry: 5
+ st_name: __func__.4056
+ st_value: 0xf
+ st_size: 11
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 5
+
+entry: 6
+ st_name: __func__.4077
+ st_value: 0
+ st_size: 15
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 5
+
+entry: 7
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 5
+
+entry: 8
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 6
+
+entry: 9
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 8
+
+entry: 10
+ st_name: dwarf_attr
+ st_value: 0
+ st_size: 158
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+entry: 11
+ st_name: dwarf_attr_add
+ st_value: 0xa0
+ st_size: 225
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+entry: 12
+ st_name: malloc
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+libdwarf.a(dwarf_abbrev.o):
+
+symbol table (.symtab):
+
+entry: 0
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_LOCAL
+ st_shndx: 0
+
+entry: 1
+ st_name: dwarf_abbrev.c
+ st_value: 0
+ st_size: 0
+ st_info: STT_FILE STB_LOCAL
+ st_shndx: 65521
+
+entry: 2
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 1
+
+entry: 3
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 3
+
+entry: 4
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 4
+
+entry: 5
+ st_name: __func__.3884
+ st_value: 0
+ st_size: 17
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 5
+
+entry: 6
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 5
+
+entry: 7
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 6
+
+entry: 8
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 8
+
+entry: 9
+ st_name: dwarf_abbrev_find
+ st_value: 0
+ st_size: 38
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+entry: 10
+ st_name: dwarf_abbrev_add
+ st_value: 0x30
+ st_size: 206
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+entry: 11
+ st_name: malloc
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+libdwarf.a(dwarf_dump.o):
+
+symbol table (.symtab):
+
+entry: 0
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_LOCAL
+ st_shndx: 0
+
+entry: 1
+ st_name: dwarf_dump.c
+ st_value: 0
+ st_size: 0
+ st_info: STT_FILE STB_LOCAL
+ st_shndx: 65521
+
+entry: 2
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 1
+
+entry: 3
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 3
+
+entry: 4
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 4
+
+entry: 5
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 5
+
+entry: 6
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 6
+
+entry: 7
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 7
+
+entry: 8
+ st_name: dwarf_dump_tree_dies
+ st_value: 0xa80
+ st_size: 123
+ st_info: STT_FUNC STB_LOCAL
+ st_shndx: 1
+
+entry: 9
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 9
+
+entry: 10
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 11
+
+entry: 11
+ st_name: get_sht_desc
+ st_value: 0
+ st_size: 286
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+entry: 12
+ st_name: get_attr_desc
+ st_value: 0x120
+ st_size: 397
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+entry: 13
+ st_name: get_form_desc
+ st_value: 0x2b0
+ st_size: 151
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+entry: 14
+ st_name: get_tag_desc
+ st_value: 0x350
+ st_size: 361
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+entry: 15
+ st_name: dwarf_dump_abbrev
+ st_value: 0x4c0
+ st_size: 197
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+entry: 16
+ st_name: puts
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+entry: 17
+ st_name: printf
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+entry: 18
+ st_name: dwarf_dump_symtab
+ st_value: 0x590
+ st_size: 128
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+entry: 19
+ st_name: gelf_getsym
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+entry: 20
+ st_name: elf_strptr
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+entry: 21
+ st_name: dwarf_dump_dbgstr
+ st_value: 0x610
+ st_size: 83
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+entry: 22
+ st_name: strlen
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+entry: 23
+ st_name: dwarf_dump_strtab
+ st_value: 0x670
+ st_size: 83
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+entry: 24
+ st_name: dwarf_dump_shstrtab
+ st_value: 0x6d0
+ st_size: 80
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+entry: 25
+ st_name: dwarf_dump_raw
+ st_value: 0x720
+ st_size: 247
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+entry: 26
+ st_name: putchar
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+entry: 27
+ st_name: dwarf_dump_av
+ st_value: 0x820
+ st_size: 294
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+entry: 28
+ st_name: dwarf_dump_die
+ st_value: 0x950
+ st_size: 91
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+entry: 29
+ st_name: dwarf_dump_info
+ st_value: 0x9b0
+ st_size: 155
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+entry: 30
+ st_name: dwarf_dump
+ st_value: 0xa50
+ st_size: 42
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+entry: 31
+ st_name: dwarf_siblingof
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+entry: 32
+ st_name: dwarf_child
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+entry: 33
+ st_name: dwarf_dump_tree
+ st_value: 0xb00
+ st_size: 318
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+entry: 34
+ st_name: __stack_chk_guard
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+entry: 35
+ st_name: dwarf_next_cu_header
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+entry: 36
+ st_name: dwarf_errmsg
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+entry: 37
+ st_name: __stack_chk_fail
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+entry: 38
+ st_name: dwarf_dump_die_at_offset
+ st_value: 0xc40
+ st_size: 69
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+libdwarf.a(dwarf_die.o):
+
+symbol table (.symtab):
+
+entry: 0
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_LOCAL
+ st_shndx: 0
+
+entry: 1
+ st_name: dwarf_die.c
+ st_value: 0
+ st_size: 0
+ st_info: STT_FILE STB_LOCAL
+ st_shndx: 65521
+
+entry: 2
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 1
+
+entry: 3
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 3
+
+entry: 4
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 4
+
+entry: 5
+ st_name: __func__.3918
+ st_value: 0x1a
+ st_size: 12
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 5
+
+entry: 6
+ st_name: __func__.3935
+ st_value: 0x10
+ st_size: 10
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 5
+
+entry: 7
+ st_name: __func__.3953
+ st_value: 0
+ st_size: 16
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 5
+
+entry: 8
+ st_name: __func__.3887
+ st_value: 0x30
+ st_size: 14
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 5
+
+entry: 9
+ st_name: anon_name
+ st_value: 0x28
+ st_size: 8
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 5
+
+entry: 10
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 5
+
+entry: 11
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 7
+
+entry: 12
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 8
+
+entry: 13
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 10
+
+entry: 14
+ st_name: dwarf_dieoffset
+ st_value: 0
+ st_size: 10
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+entry: 15
+ st_name: dwarf_child
+ st_value: 0x10
+ st_size: 134
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+entry: 16
+ st_name: dwarf_tag
+ st_value: 0xa0
+ st_size: 78
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+entry: 17
+ st_name: dwarf_siblingof
+ st_value: 0xf0
+ st_size: 265
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+entry: 18
+ st_name: dwarf_die_find
+ st_value: 0x200
+ st_size: 47
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+entry: 19
+ st_name: dwarf_die_add
+ st_value: 0x230
+ st_size: 382
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+entry: 20
+ st_name: malloc
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+libdwarf.a(dwarf_cu.o):
+
+symbol table (.symtab):
+
+entry: 0
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_LOCAL
+ st_shndx: 0
+
+entry: 1
+ st_name: dwarf_cu.c
+ st_value: 0
+ st_size: 0
+ st_info: STT_FILE STB_LOCAL
+ st_shndx: 65521
+
+entry: 2
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 1
+
+entry: 3
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 3
+
+entry: 4
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 4
+
+entry: 5
+ st_name: __func__.3550
+ st_value: 0
+ st_size: 21
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 5
+
+entry: 6
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 5
+
+entry: 7
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 6
+
+entry: 8
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 8
+
+entry: 9
+ st_name: dwarf_next_cu_header
+ st_value: 0
+ st_size: 267
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+libdwarf.a(dwarf_errmsg.o):
+
+symbol table (.symtab):
+
+entry: 0
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_LOCAL
+ st_shndx: 0
+
+entry: 1
+ st_name: dwarf_errmsg.c
+ st_value: 0
+ st_size: 0
+ st_info: STT_FILE STB_LOCAL
+ st_shndx: 65521
+
+entry: 2
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 1
+
+entry: 3
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 3
+
+entry: 4
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 5
+
+entry: 5
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 6
+
+entry: 6
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 7
+
+entry: 7
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 8
+
+entry: 8
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 10
+
+entry: 9
+ st_name: dwarf_errmsg
+ st_value: 0
+ st_size: 199
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 1
+
+entry: 10
+ st_name: _libdwarf_errors
+ st_value: 0
+ st_size: 120
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 3
+
+entry: 11
+ st_name: snprintf
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
+
+entry: 12
+ st_name: elf_errmsg
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 0
diff --git a/test/elfdump/ts/archive2/@v%libdwarf.a.err b/test/elfdump/ts/archive2/@v%libdwarf.a.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/archive2/@v%libdwarf.a.err
diff --git a/test/elfdump/ts/archive2/@v%libdwarf.a.out b/test/elfdump/ts/archive2/@v%libdwarf.a.out
new file mode 100644
index 0000000000000..cc108c437ca3b
--- /dev/null
+++ b/test/elfdump/ts/archive2/@v%libdwarf.a.out
@@ -0,0 +1,26 @@
+
+libdwarf.a(dwarf_loc.o):
+
+libdwarf.a(dwarf_init.o):
+
+libdwarf.a(dwarf_form.o):
+
+libdwarf.a(dwarf_finish.o):
+
+libdwarf.a(dwarf_errno.o):
+
+libdwarf.a(dwarf_dealloc.o):
+
+libdwarf.a(dwarf_attrval.o):
+
+libdwarf.a(dwarf_attr.o):
+
+libdwarf.a(dwarf_abbrev.o):
+
+libdwarf.a(dwarf_dump.o):
+
+libdwarf.a(dwarf_die.o):
+
+libdwarf.a(dwarf_cu.o):
+
+libdwarf.a(dwarf_errmsg.o):
diff --git a/test/elfdump/ts/archive2/libdwarf.a b/test/elfdump/ts/archive2/libdwarf.a
new file mode 100644
index 0000000000000..84b34c3f51f59
--- /dev/null
+++ b/test/elfdump/ts/archive2/libdwarf.a
Binary files differ
diff --git a/test/elfdump/ts/archive2/tc b/test/elfdump/ts/archive2/tc
new file mode 100755
index 0000000000000..1dca91359e5b5
--- /dev/null
+++ b/test/elfdump/ts/archive2/tc
@@ -0,0 +1,162 @@
+#!/bin/sh
+#
+# $Id: tc 2083 2011-10-27 04:41:39Z jkoshy $
+
+tp1()
+{
+ run "@e%libdwarf.a"
+}
+
+tp2()
+{
+ run "@p%libdwarf.a"
+}
+
+tp3()
+{
+ run "@G%libdwarf.a"
+}
+
+tp4()
+{
+ run "@n%libdwarf.a"
+}
+
+tp5()
+{
+ run "@c%libdwarf.a"
+}
+
+tp6()
+{
+ run "@s%libdwarf.a"
+}
+
+tp7()
+{
+ run "@d%libdwarf.a"
+}
+
+tp8()
+{
+ run "@i%libdwarf.a"
+}
+
+tp9()
+{
+ run "@r%libdwarf.a"
+}
+
+tp10()
+{
+ run "@h%libdwarf.a"
+}
+
+tp11()
+{
+ run "@v%libdwarf.a"
+}
+
+tp12()
+{
+ run "@k%libdwarf.a"
+}
+
+tp13()
+{
+ run "@S@e%libdwarf.a"
+}
+
+tp14()
+{
+ run "@S@p%libdwarf.a"
+}
+
+tp15()
+{
+ run "@S@G%libdwarf.a"
+}
+
+tp16()
+{
+ run "@S@r%libdwarf.a"
+}
+
+tp17()
+{
+ run "@S@d%libdwarf.a"
+}
+
+tp18()
+{
+ run "@S@n%libdwarf.a"
+}
+
+tp19()
+{
+ run "@S@c%libdwarf.a"
+}
+
+tp20()
+{
+ run "@S@s%libdwarf.a"
+}
+
+tp21()
+{
+ run "@S@k%libdwarf.a"
+}
+
+tp22()
+{
+ run "@S@v%libdwarf.a"
+}
+
+tp23()
+{
+ run "@S@h%libdwarf.a"
+}
+
+tp24()
+{
+ run "@S@s@N%ARSYM%libdwarf.a"
+}
+
+tp25()
+{
+ run "@S@s@N%.symtab%libdwarf.a"
+}
+
+tet_startup=""
+tet_cleanup="cleanup"
+
+iclist="ic1 ic2 ic3 ic4 ic5 ic6 ic7 ic8 ic9 ic10 ic11 ic12 ic13 ic14 ic15 ic16 ic17 ic18 ic19 ic20 ic21 ic22 ic23 ic24 ic25"
+
+ic1="tp1"
+ic2="tp2"
+ic3="tp3"
+ic4="tp4"
+ic5="tp5"
+ic6="tp6"
+ic7="tp7"
+ic8="tp8"
+ic9="tp9"
+ic10="tp10"
+ic11="tp11"
+ic12="tp12"
+ic13="tp13"
+ic14="tp14"
+ic15="tp15"
+ic16="tp16"
+ic17="tp17"
+ic18="tp18"
+ic19="tp19"
+ic20="tp20"
+ic21="tp21"
+ic22="tp22"
+ic23="tp23"
+ic24="tp24"
+ic25="tp25"
+
+. $TET_SUITE_ROOT/ts/common/func.sh
+. $TET_ROOT/lib/xpg3sh/tcm.sh
diff --git a/test/elfdump/ts/bin/tcgen.sh b/test/elfdump/ts/bin/tcgen.sh
new file mode 100755
index 0000000000000..f4af41df85b1c
--- /dev/null
+++ b/test/elfdump/ts/bin/tcgen.sh
@@ -0,0 +1,71 @@
+#!/bin/sh
+#
+# $Id: tcgen.sh 2083 2011-10-27 04:41:39Z jkoshy $
+
+usage()
+{
+ echo "Usage: tcgen.sh prog tcdir file [-S]"
+}
+
+if [ $# -lt 3 ]; then
+ usage
+ exit 1
+fi
+
+prog=$1
+tcdir=$2
+file=$3
+rundir=`pwd`
+if [ "$4" = "-S" ]; then
+ ADD_S=yes
+fi
+
+cd "$tcdir"
+rm -f tc
+touch tc
+echo "#!/bin/sh" > tc
+echo "" >> tc
+c=0
+while [ 1 ]; do
+ read line || break
+ rlt=`echo "$line" | sed -e 's/ *-/@/g' -e 's/ */%/g'`
+ if [ "$ADD_S" = yes ]; then
+ rlt="@S${rlt}"
+ fi
+ $prog ${line} > "${rlt}.out" 2> "${rlt}.err"
+ c=`expr $c + 1`
+ echo "tp$c()" >> tc
+ echo "{" >> tc
+ echo " run \"$rlt\"" >> tc
+ echo "}" >> tc
+ echo "" >> tc
+done < ${rundir}/${file}
+echo "" >> tc
+
+echo "tet_startup=\"\"" >> tc
+echo "tet_cleanup=\"cleanup\"" >> tc
+echo "" >> tc
+
+echo -n "iclist=\"" >> tc
+i=1
+while [ $i -le $c ]; do
+ echo -n "ic${i}" >> tc
+ if [ $i -ne $c ]; then
+ echo -n " " >> tc
+ fi
+ i=`expr $i + 1`
+done
+echo "\"" >> tc
+echo "" >> tc
+
+i=1
+while [ $i -le $c ]; do
+ echo "ic${i}=\"tp${i}\"" >> tc
+ i=`expr $i + 1`
+done
+echo "" >> tc
+
+echo ". \$TET_SUITE_ROOT/ts/common/func.sh" >> tc
+echo ". \$TET_ROOT/lib/xpg3sh/tcm.sh" >> tc
+
+chmod +x tc
diff --git a/test/elfdump/ts/common/func.sh b/test/elfdump/ts/common/func.sh
new file mode 100755
index 0000000000000..2afc7e6d534a2
--- /dev/null
+++ b/test/elfdump/ts/common/func.sh
@@ -0,0 +1,127 @@
+#!/bin/sh
+#
+# $Id: func.sh 2083 2011-10-27 04:41:39Z jkoshy $
+
+tpstart() # write test purpose banner and initialise variables
+{
+ tet_infoline "$*"
+ FAIL=N
+}
+
+tpresult() # give test purpose result
+{
+ # $1 is result code to give if FAIL=N (default PASS)
+ if [ $FAIL = N ]; then
+ tet_result ${1-PASS}
+ else
+ tet_result FAIL
+ fi
+}
+
+check_exit() # execute command (saving output) and check exit code
+{
+ # $1 is command, $2 is expected exit code (0 or "N" for non-zero)
+ eval "$1" > out.stdout 2> out.stderr
+ CODE=$?
+ if [ $2 = 0 -a $CODE -ne 0 ]; then
+ tet_infoline "Command ($1) gave exit code $CODE, expected 0"
+ FAIL=Y
+ elif [ $2 != 0 -a $CODE -eq 0 ]; then
+ tet_infoline "Command ($1) gave exit code $CODE, expected non-zero"
+ FAIL=Y
+ fi
+}
+
+check_nostdout() # check that nothing went to stdout
+{
+ if [ -s out.stdout ]; then
+ tet_infoline "Unexpected output written to stdout, as shown below:"
+ infofile out.stdout stdout:
+ FAIL=Y
+ fi
+}
+
+check_nostderr() # check that nothing went to stderr
+{
+ if [ -s out.stderr ]; then
+ tet_infoline "Unexpected output written to stderr, as shown below:"
+ infofile out.stderr stderr:
+ FAIL=Y
+ fi
+}
+
+check_stderr() # check that stderr matches expected error
+{
+ # $1 is file containing expected error
+ # if no argument supplied, just check out.stderr is not empty
+
+ case $1 in
+ "")
+ if [ ! -s out.stderr ]; then
+ tet_infoline "Expected output to stderr, but none written"
+ FAIL=Y
+ fi
+ ;;
+ *)
+ diff -uN out.stderr ${1}.err > diff.out 2> /dev/null
+ if [ $? -ne 0 ]; then
+ tet_infoline "Incorrect output written to stderr, as shown below"
+ infofile "diff.out" "diff:"
+ FAIL=Y
+ fi
+ ;;
+ esac
+}
+
+check_stdout() # check that stdout matches expected output
+{
+ # $1 is file containing expected output
+ # if no argument supplied, just check out.stdout is not empty
+
+ case $1 in
+ "")
+ if [ ! -s out.stdout ]
+ then
+ tet_infoline "Expected output to stdout, but none written"
+ FAIL=Y
+ fi
+ ;;
+ *)
+ diff -uN out.stdout ${1}.out > diff.out 2> /dev/null
+ if [ $? -ne 0 ]; then
+ tet_infoline "Incorrect output written to stdout, as shown below"
+ infofile "diff.out" "diff:"
+ FAIL=Y
+ fi
+ ;;
+ esac
+}
+
+infofile() # write file to journal using tet_infoline
+{
+ # $1 is file name, $2 is prefix for tet_infoline
+
+ prefix=$2
+ while read line
+ do
+ tet_infoline "$prefix$line"
+ done < $1
+}
+
+run()
+{
+ tpstart
+ cmdline=`echo $1 | sed -e 's/@/ -/g' -e 's/%/ /g'`
+ tet_infoline "$cmdline"
+ check_exit "$TET_SUITE_ROOT/../../elfdump/elfdump $cmdline" 0
+ check_stderr $1
+ check_stdout $1
+ tpresult
+}
+
+cleanup()
+{
+ rm -f out.stdout
+ rm -f out.stderr
+ rm -f diff.out
+}
diff --git a/test/elfdump/ts/dso1/@G%libelf.so.err b/test/elfdump/ts/dso1/@G%libelf.so.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso1/@G%libelf.so.err
diff --git a/test/elfdump/ts/dso1/@G%libelf.so.out b/test/elfdump/ts/dso1/@G%libelf.so.out
new file mode 100644
index 0000000000000..12c593d070733
--- /dev/null
+++ b/test/elfdump/ts/dso1/@G%libelf.so.out
@@ -0,0 +1,143 @@
+
+global offset table:
+
+entry: 0
+ 0x118208
+
+entry: 1
+ 0
+
+entry: 2
+ 0
+
+entry: 3
+ 0x2852
+
+entry: 4
+ 0x2862
+
+entry: 5
+ 0x2872
+
+entry: 6
+ 0x2882
+
+entry: 7
+ 0x2892
+
+entry: 8
+ 0x28a2
+
+entry: 9
+ 0x28b2
+
+entry: 10
+ 0x28c2
+
+entry: 11
+ 0x28d2
+
+entry: 12
+ 0x28e2
+
+entry: 13
+ 0x28f2
+
+entry: 14
+ 0x2902
+
+entry: 15
+ 0x2912
+
+entry: 16
+ 0x2922
+
+entry: 17
+ 0x2932
+
+entry: 18
+ 0x2942
+
+entry: 19
+ 0x2952
+
+entry: 20
+ 0x2962
+
+entry: 21
+ 0x2972
+
+entry: 22
+ 0x2982
+
+entry: 23
+ 0x2992
+
+entry: 24
+ 0x29a2
+
+entry: 25
+ 0x29b2
+
+entry: 26
+ 0x29c2
+
+entry: 27
+ 0x29d2
+
+entry: 28
+ 0x29e2
+
+entry: 29
+ 0x29f2
+
+entry: 30
+ 0x2a02
+
+entry: 31
+ 0x2a12
+
+entry: 32
+ 0x2a22
+
+entry: 33
+ 0x2a32
+
+entry: 34
+ 0x2a42
+
+entry: 35
+ 0x2a52
+
+entry: 36
+ 0x2a62
+
+entry: 37
+ 0x2a72
+
+entry: 38
+ 0x2a82
+
+entry: 39
+ 0x2a92
+
+entry: 40
+ 0
+
+entry: 41
+ 0
+
+entry: 42
+ 0
+
+entry: 43
+ 0x1164c0
+
+entry: 44
+ 0
+
+entry: 45
+ 0x116140
+
+entry: 46
+ 0
diff --git a/test/elfdump/ts/dso1/@S@G%libelf.so.err b/test/elfdump/ts/dso1/@S@G%libelf.so.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso1/@S@G%libelf.so.err
diff --git a/test/elfdump/ts/dso1/@S@G%libelf.so.out b/test/elfdump/ts/dso1/@S@G%libelf.so.out
new file mode 100644
index 0000000000000..e95ee8f3ef671
--- /dev/null
+++ b/test/elfdump/ts/dso1/@S@G%libelf.so.out
@@ -0,0 +1,50 @@
+
+Global Offset Table Section: .got (47 entries)
+ ndx addr value reloc addend symbol
+[00000] 00000000001183e0 0000000000118208 R_X86_64_NONE 000000000000
+[00001] 00000000001183e8 0000000000000000 R_X86_64_NONE 000000000000
+[00002] 00000000001183f0 0000000000000000 R_X86_64_NONE 000000000000
+[00003] 00000000001183f8 0000000000002852 R_X86_64_JMP_SLOT 000000000000 write
+[00004] 0000000000118400 0000000000002862 R_X86_64_JMP_SLOT 000000000000 elf_flagscn
+[00005] 0000000000118408 0000000000002872 R_X86_64_JMP_SLOT 000000000000 elf_rawdata
+[00006] 0000000000118410 0000000000002882 R_X86_64_JMP_SLOT 000000000000 elf_flagelf
+[00007] 0000000000118418 0000000000002892 R_X86_64_JMP_SLOT 000000000000 strlcat
+[00008] 0000000000118420 00000000000028a2 R_X86_64_JMP_SLOT 000000000000 gelf_getehdr
+[00009] 0000000000118428 00000000000028b2 R_X86_64_JMP_SLOT 000000000000 __cxa_finalize
+[00010] 0000000000118430 00000000000028c2 R_X86_64_JMP_SLOT 000000000000 elf_hash
+[00011] 0000000000118438 00000000000028d2 R_X86_64_JMP_SLOT 000000000000 strerror
+[00012] 0000000000118440 00000000000028e2 R_X86_64_JMP_SLOT 000000000000 gelf_fsize
+[00013] 0000000000118448 00000000000028f2 R_X86_64_JMP_SLOT 000000000000 elf_flagshdr
+[00014] 0000000000118450 0000000000002902 R_X86_64_JMP_SLOT 000000000000 gelf_getsym
+[00015] 0000000000118458 0000000000002912 R_X86_64_JMP_SLOT 000000000000 munmap
+[00016] 0000000000118460 0000000000002922 R_X86_64_JMP_SLOT 000000000000 strncpy
+[00017] 0000000000118468 0000000000002932 R_X86_64_JMP_SLOT 000000000000 elf_getscn
+[00018] 0000000000118470 0000000000002942 R_X86_64_JMP_SLOT 000000000000 memset
+[00019] 0000000000118478 0000000000002952 R_X86_64_JMP_SLOT 000000000000 elf_getdata
+[00020] 0000000000118480 0000000000002962 R_X86_64_JMP_SLOT 000000000000 mmap
+[00021] 0000000000118488 0000000000002972 R_X86_64_JMP_SLOT 000000000000 __error
+[00022] 0000000000118490 0000000000002982 R_X86_64_JMP_SLOT 000000000000 __assert
+[00023] 0000000000118498 0000000000002992 R_X86_64_JMP_SLOT 000000000000 lseek
+[00024] 00000000001184a0 00000000000029a2 R_X86_64_JMP_SLOT 000000000000 elf64_fsize
+[00025] 00000000001184a8 00000000000029b2 R_X86_64_JMP_SLOT 000000000000 ftruncate
+[00026] 00000000001184b0 00000000000029c2 R_X86_64_JMP_SLOT 000000000000 calloc
+[00027] 00000000001184b8 00000000000029d2 R_X86_64_JMP_SLOT 000000000000 elf_end
+[00028] 00000000001184c0 00000000000029e2 R_X86_64_JMP_SLOT 000000000000 elf32_fsize
+[00029] 00000000001184c8 00000000000029f2 R_X86_64_JMP_SLOT 000000000000 gelf_getshdr
+[00030] 00000000001184d0 0000000000002a02 R_X86_64_JMP_SLOT 000000000000 gelf_update_sym
+[00031] 00000000001184d8 0000000000002a12 R_X86_64_JMP_SLOT 000000000000 malloc
+[00032] 00000000001184e0 0000000000002a22 R_X86_64_JMP_SLOT 000000000000 memcpy
+[00033] 00000000001184e8 0000000000002a32 R_X86_64_JMP_SLOT 000000000000 free
+[00034] 00000000001184f0 0000000000002a42 R_X86_64_JMP_SLOT 000000000000 elf_flagphdr
+[00035] 00000000001184f8 0000000000002a52 R_X86_64_JMP_SLOT 000000000000 __stack_chk_fail
+[00036] 0000000000118500 0000000000002a62 R_X86_64_JMP_SLOT 000000000000 elf_memory
+[00037] 0000000000118508 0000000000002a72 R_X86_64_JMP_SLOT 000000000000 elf_flagehdr
+[00038] 0000000000118510 0000000000002a82 R_X86_64_JMP_SLOT 000000000000 fstat
+[00039] 0000000000118518 0000000000002a92 R_X86_64_JMP_SLOT 000000000000 strlcpy
+[00040] 0000000000118520 0000000000000000 R_X86_64_GLOB_DAT 000000000000 __cxa_finalize
+[00041] 0000000000118528 0000000000000000 R_X86_64_GLOB_DAT 000000000000 __stack_chk_guard
+[00042] 0000000000118530 0000000000000000 R_X86_64_GLOB_DAT 000000000000 elf64_fsize
+[00043] 0000000000118538 00000000001164c0 R_X86_64_RELATIVE 000001139904
+[00044] 0000000000118540 0000000000000000 R_X86_64_GLOB_DAT 000000000000 elf32_fsize
+[00045] 0000000000118548 0000000000116140 R_X86_64_RELATIVE 000001139008
+[00046] 0000000000118550 0000000000000000 R_X86_64_GLOB_DAT 000000000000 _Jv_RegisterClasses
diff --git a/test/elfdump/ts/dso1/@S@c@s%libelf.so.err b/test/elfdump/ts/dso1/@S@c@s%libelf.so.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso1/@S@c@s%libelf.so.err
diff --git a/test/elfdump/ts/dso1/@S@c@s%libelf.so.out b/test/elfdump/ts/dso1/@S@c@s%libelf.so.out
new file mode 100644
index 0000000000000..8994d96769da4
--- /dev/null
+++ b/test/elfdump/ts/dso1/@S@c@s%libelf.so.out
@@ -0,0 +1,315 @@
+
+Section Header[1]: sh_name: .hash
+ sh_addr: 0x120 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x454 sh_type: [ SHT_HASH ]
+ sh_offset: 0x120 sh_entsize: 0x4
+ sh_link: 2 sh_info: 0
+ sh_addralign: 0x8
+
+Section Header[2]: sh_name: .dynsym
+ sh_addr: 0x578 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0xd80 sh_type: [ SHT_DYNSYM ]
+ sh_offset: 0x578 sh_entsize: 0x18
+ sh_link: 3 sh_info: 33
+ sh_addralign: 0x8
+
+Section Header[3]: sh_name: .dynstr
+ sh_addr: 0x12f8 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x5b1 sh_type: [ SHT_STRTAB ]
+ sh_offset: 0x12f8 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[4]: sh_name: .gnu.version
+ sh_addr: 0x18aa sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x120 sh_type: [ SHT_SUNW(GNU)_versym ]
+ sh_offset: 0x18aa sh_entsize: 0x2
+ sh_link: 2 sh_info: 0
+ sh_addralign: 0x2
+
+Section Header[5]: sh_name: .gnu.version_d
+ sh_addr: 0x19d0 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x54 sh_type: [ SHT_SUNW(GNU)_verdef ]
+ sh_offset: 0x19d0 sh_entsize: 0
+ sh_link: 3 sh_info: 3
+ sh_addralign: 0x8
+
+Section Header[6]: sh_name: .gnu.version_r
+ sh_addr: 0x1a28 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x20 sh_type: [ SHT_SUNW(GNU)_verneed ]
+ sh_offset: 0x1a28 sh_entsize: 0
+ sh_link: 3 sh_info: 1
+ sh_addralign: 0x8
+
+Section Header[7]: sh_name: .rela.dyn
+ sh_addr: 0x1a48 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0xa68 sh_type: [ SHT_RELA ]
+ sh_offset: 0x1a48 sh_entsize: 0x18
+ sh_link: 2 sh_info: 0
+ sh_addralign: 0x8
+
+Section Header[8]: sh_name: .rela.plt
+ sh_addr: 0x24b0 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x378 sh_type: [ SHT_RELA ]
+ sh_offset: 0x24b0 sh_entsize: 0x18
+ sh_link: 2 sh_info: 10
+ sh_addralign: 0x8
+
+Section Header[9]: sh_name: .init
+ sh_addr: 0x2828 sh_flags: [ SHF_ALLOC|SHF_EXECINSTR ]
+ sh_size: 0x13 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x2828 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[10]: sh_name: .plt
+ sh_addr: 0x283c sh_flags: [ SHF_ALLOC|SHF_EXECINSTR ]
+ sh_size: 0x260 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x283c sh_entsize: 0x10
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[11]: sh_name: .text
+ sh_addr: 0x2aa0 sh_flags: [ SHF_ALLOC|SHF_EXECINSTR ]
+ sh_size: 0x12428 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x2aa0 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x10
+
+Section Header[12]: sh_name: .fini
+ sh_addr: 0x14ec8 sh_flags: [ SHF_ALLOC|SHF_EXECINSTR ]
+ sh_size: 0xe sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x14ec8 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[13]: sh_name: .rodata
+ sh_addr: 0x14ee0 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x122a sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x14ee0 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x20
+
+Section Header[14]: sh_name: .eh_frame_hdr
+ sh_addr: 0x1610c sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x8 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x1610c sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[15]: sh_name: .data
+ sh_addr: 0x116120 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0x4b8 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x16120 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x20
+
+Section Header[16]: sh_name: .eh_frame
+ sh_addr: 0x1165d8 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x1c30 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x165d8 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x8
+
+Section Header[17]: sh_name: .dynamic
+ sh_addr: 0x118208 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0x1b0 sh_type: [ SHT_DYNAMIC ]
+ sh_offset: 0x18208 sh_entsize: 0x10
+ sh_link: 3 sh_info: 0
+ sh_addralign: 0x8
+
+Section Header[18]: sh_name: .ctors
+ sh_addr: 0x1183b8 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0x10 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x183b8 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x8
+
+Section Header[19]: sh_name: .dtors
+ sh_addr: 0x1183c8 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0x10 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x183c8 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x8
+
+Section Header[20]: sh_name: .jcr
+ sh_addr: 0x1183d8 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0x8 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x183d8 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x8
+
+Section Header[21]: sh_name: .got
+ sh_addr: 0x1183e0 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0x178 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x183e0 sh_entsize: 0x8
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x8
+
+Section Header[22]: sh_name: .bss
+ sh_addr: 0x118558 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0x8 sh_type: [ SHT_NOBITS ]
+ sh_offset: 0x18558 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[23]: sh_name: .comment
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x1351 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x18558 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[24]: sh_name: .shstrtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0xc7 sh_type: [ SHT_STRTAB ]
+ sh_offset: 0x198a9 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Symbol Table Section: .dynsym
+ index value size type bind oth ver shndx name
+ [0] 0x00000000 0x000000000000 NOTY LOCL D 0 UNDEF
+ [1] 0x00000120 0x000000000000 SECT LOCL D 0 .hash
+ [2] 0x00000578 0x000000000000 SECT LOCL D 0 .dynsym
+ [3] 0x000012f8 0x000000000000 SECT LOCL D 0 .dynstr
+ [4] 0x000018aa 0x000000000000 SECT LOCL D 0 .gnu.versio
+ [5] 0x000019d0 0x000000000000 SECT LOCL D 0 .gnu.versio
+ [6] 0x00001a28 0x000000000000 SECT LOCL D 0 .gnu.versio
+ [7] 0x00001a48 0x000000000000 SECT LOCL D 0 .rela.dyn
+ [8] 0x000024b0 0x000000000000 SECT LOCL D 0 .rela.plt
+ [9] 0x00002828 0x000000000000 SECT LOCL D 0 .init
+ [10] 0x0000283c 0x000000000000 SECT LOCL D 0 .plt
+ [11] 0x00002aa0 0x000000000000 SECT LOCL D 0 .text
+ [12] 0x00014ec8 0x000000000000 SECT LOCL D 0 .fini
+ [13] 0x00014ee0 0x000000000000 SECT LOCL D 0 .rodata
+ [14] 0x0001610c 0x000000000000 SECT LOCL D 0 .eh_frame_h
+ [15] 0x00116120 0x000000000000 SECT LOCL D 0 .data
+ [16] 0x001165d8 0x000000000000 SECT LOCL D 0 .eh_frame
+ [17] 0x00118208 0x000000000000 SECT LOCL D 0 .dynamic
+ [18] 0x001183b8 0x000000000000 SECT LOCL D 0 .ctors
+ [19] 0x001183c8 0x000000000000 SECT LOCL D 0 .dtors
+ [20] 0x001183d8 0x000000000000 SECT LOCL D 0 .jcr
+ [21] 0x001183e0 0x000000000000 SECT LOCL D 0 .got
+ [22] 0x00118558 0x000000000000 SECT LOCL D 0 .bss
+ [23] 0x00000000 0x000000000000 SECT LOCL D 0 .comment
+ [24] 0x00000000 0x000000000000 SECT LOCL D 0 .shstrtab
+ [25] 0x00000000 0x000000000000 SECT LOCL D 0 25
+ [26] 0x00000000 0x000000000000 SECT LOCL D 0 26
+ [27] 0x00000000 0x000000000000 SECT LOCL D 0 27
+ [28] 0x00000000 0x000000000000 SECT LOCL D 0 28
+ [29] 0x00000000 0x000000000000 SECT LOCL D 0 29
+ [30] 0x00000000 0x000000000000 SECT LOCL D 0 30
+ [31] 0x00000000 0x000000000000 SECT LOCL D 0 31
+ [32] 0x00000000 0x000000000000 SECT LOCL D 0 32
+ [33] 0x00002fb0 0x00000000015a FUNC GLOB D 2 .text gelf_getsyminfo
+ [34] 0x00005dd0 0x000000000169 FUNC GLOB D 2 .text elf_strptr
+ [35] 0x00000000 0x000000000000 FUNC GLOB D 4 UNDEF write
+ [36] 0x00007c60 0x00000000014a FUNC GLOB D 2 .text elf_newscn
+ [37] 0x000044e0 0x00000000000a FUNC GLOB D 2 .text elf32_checksum
+ [38] 0x00004010 0x000000000194 FUNC GLOB D 2 .text gelf_getmove
+ [39] 0x00008d10 0x000000000044 FUNC GLOB D 2 .text elf_flagscn
+ [40] 0x00007e90 0x000000000168 FUNC GLOB D 2 .text elf_rawdata
+ [41] 0x00006120 0x00000000004a FUNC GLOB D 2 .text elf_rawfile
+ [42] 0x00008bd0 0x000000000074 FUNC GLOB D 2 .text elf_flagelf
+ [43] 0x00000000 0x00000000007b FUNC GLOB D 4 UNDEF strlcat
+ [44] 0x00006310 0x0000000000ca FUNC GLOB D 2 .text elf_getident
+ [45] 0x00008b70 0x00000000005c FUNC GLOB D 2 .text elf_flagdata
+ [46] 0x00002bb0 0x00000000000d FUNC GLOB D 2 .text elf64_xlatetof
+ [47] 0x000044a0 0x000000000028 FUNC GLOB D 2 .text gelf_checksum
+ [48] 0x00007870 0x000000000117 FUNC GLOB D 2 .text gelf_getehdr
+ [49] 0x00006520 0x00000000000b FUNC GLOB D 3 .text _libelf_get_no_error_message
+ [50] 0x00000000 0x000000000131 FUNC WEAK D 4 UNDEF __cxa_finalize
+ [51] 0x00006690 0x0000000001e3 FUNC GLOB D 2 .text elf_begin
+ [52] 0x00003600 0x000000000184 FUNC GLOB D 2 .text gelf_getrela
+ [53] 0x00000000 0x000000000000 OBJT GLOB D 2 ABS FBSD_1.0
+ [54] 0x00007390 0x000000000173 FUNC GLOB D 2 .text gelf_update_shdr
+ [55] 0x00003e40 0x00000000000a FUNC GLOB D 2 .text elf64_getphdr
+ [56] 0x000044d0 0x00000000000a FUNC GLOB D 2 .text elf64_checksum
+ [57] 0x00002b90 0x000000000010 FUNC GLOB D 2 .text elf64_xlatetom
+ [58] 0x00007690 0x00000000000f FUNC GLOB D 2 .text elf32_newehdr
+ [59] 0x00014950 0x000000000046 FUNC GLOB D 2 .text elf_hash
+ [60] 0x00000000 0x000000000040 OBJT GLOB D 4 UNDEF __stack_chk_guard
+ [61] 0x000060b0 0x00000000006a FUNC GLOB D 2 .text elf_getphnum
+ [62] 0x00004660 0x000000000159 FUNC GLOB D 2 .text gelf_getcap
+ [63] 0x00007680 0x00000000000f FUNC GLOB D 2 .text elf64_newehdr
+ [64] 0x00000000 0x000000000030 FUNC GLOB D 4 UNDEF strerror
+ [65] 0x000076b0 0x00000000000c FUNC GLOB D 2 .text elf32_getehdr
+ [66] 0x00013d00 0x000000000035 FUNC GLOB D 2 .text gelf_fsize
+ [67] 0x00005f40 0x00000000006a FUNC GLOB D 2 .text elf_getshstrndx
+ [68] 0x00002e60 0x000000000149 FUNC GLOB D 2 .text gelf_update_syminfo
+ [69] 0x000041b0 0x00000000000c FUNC GLOB D 2 .text gelf_getclass
+ [70] 0x00003e60 0x0000000001a3 FUNC GLOB D 2 .text gelf_update_move
+ [71] 0x00008d60 0x000000000005 FUNC GLOB D 2 .text elf_flagshdr
+ [72] 0x000032b0 0x00000000018c FUNC GLOB D 2 .text gelf_getsym
+ [73] 0x00000000 0x000000000000 FUNC GLOB D 4 UNDEF munmap
+ [74] 0x00002b20 0x00000000002e FUNC GLOB D 2 .text gelf_xlatetof
+ [75] 0x00007e50 0x00000000003b FUNC GLOB D 2 .text elf_nextscn
+ [76] 0x00003c90 0x00000000000d FUNC GLOB D 2 .text elf64_newphdr
+ [77] 0x00000000 0x00000000004c FUNC GLOB D 4 UNDEF strncpy
+ [78] 0x00007650 0x000000000028 FUNC GLOB D 2 .text gelf_newehdr
+ [79] 0x00007db0 0x00000000009d FUNC GLOB D 2 .text elf_getscn
+ [80] 0x00004340 0x00000000015a FUNC GLOB D 2 .text gelf_getdyn
+ [81] 0x000064c0 0x00000000000b FUNC GLOB D 2 .text elf_fill
+ [82] 0x00003790 0x00000000018c FUNC GLOB D 2 .text gelf_update_rel
+ [83] 0x00003c60 0x000000000024 FUNC GLOB D 2 .text gelf_newphdr
+ [84] 0x000041c0 0x000000000172 FUNC GLOB D 2 .text gelf_update_dyn
+ [85] 0x00000000 0x000000000054 FUNC GLOB D 4 UNDEF memset
+ [86] 0x00008000 0x0000000002fe FUNC GLOB D 2 .text elf_getdata
+ [87] 0x00008b20 0x000000000044 FUNC GLOB D 2 .text elf_flagarhdr
+ [88] 0x00000000 0x0000000000be FUNC GLOB D 4 UNDEF mmap
+ [89] 0x00000000 0x000000000008 FUNC GLOB D 4 UNDEF __error
+ [90] 0x00000000 0x000000000058 FUNC GLOB D 4 UNDEF __assert
+ [91] 0x000047c0 0x000000000036 FUNC GLOB D 2 .text elf_version
+ [92] 0x00000000 0x000000000067 FUNC GLOB D 4 UNDEF lseek
+ [93] 0x00002b50 0x000000000031 FUNC GLOB D 2 .text gelf_xlatetom
+ [94] 0x00013d40 0x00000000000d FUNC GLOB D 2 .text elf64_fsize
+ [95] 0x00008300 0x0000000000e5 FUNC GLOB D 2 .text elf_newdata
+ [96] 0x00002bc0 0x00000000000d FUNC GLOB D 2 .text elf32_xlatetof
+ [97] 0x00005fb0 0x000000000087 FUNC GLOB D 2 .text elf_setshstrndx
+ [98] 0x00002d10 0x000000000148 FUNC GLOB D 2 .text gelf_getsymshndx
+ [99] 0x00003440 0x0000000001b9 FUNC GLOB D 2 .text gelf_update_rela
+ [100] 0x00000000 0x000000000051 FUNC GLOB D 4 UNDEF ftruncate
+ [101] 0x000064f0 0x000000000006 FUNC GLOB D 3 .text _libelf_get_max_error
+ [102] 0x00006510 0x00000000000c FUNC GLOB D 3 .text _libelf_get_unknown_error_message
+ [103] 0x00000000 0x00000000014a FUNC GLOB D 4 UNDEF calloc
+ [104] 0x00000000 0x000000000000 OBJT GLOB D 3 ABS FBSDprivate_1.0
+ [105] 0x00007520 0x00000000000a FUNC GLOB D 2 .text elf32_getshdr
+ [106] 0x000083f0 0x00000000012a FUNC GLOB D 2 .text elf_end
+ [107] 0x00013d50 0x00000000000d FUNC GLOB D 2 .text elf32_fsize
+ [108] 0x00006170 0x000000000061 FUNC GLOB D 2 .text elf_rand
+ [109] 0x000061e0 0x00000000010b FUNC GLOB D 2 .text elf_next
+ [110] 0x00007530 0x000000000119 FUNC GLOB D 2 .text gelf_getshdr
+ [111] 0x00003cb0 0x00000000018d FUNC GLOB D 2 .text gelf_getphdr
+ [112] 0x00007510 0x00000000000a FUNC GLOB D 2 .text elf64_getshdr
+ [113] 0x00003110 0x0000000001a0 FUNC GLOB D 2 .text gelf_update_sym
+ [114] 0x00006530 0x0000000000e2 FUNC GLOB D 2 .text elf_errmsg
+ [115] 0x00002ba0 0x000000000010 FUNC GLOB D 2 .text elf32_xlatetom
+ [116] 0x00006500 0x00000000000b FUNC GLOB D 3 .text _libelf_set_error
+ [117] 0x00003920 0x000000000168 FUNC GLOB D 2 .text gelf_getrel
+ [118] 0x00006040 0x00000000006a FUNC GLOB D 2 .text elf_getshnum
+ [119] 0x00000000 0x0000000000af FUNC GLOB D 4 UNDEF malloc
+ [120] 0x000076a0 0x00000000000c FUNC GLOB D 2 .text elf64_getehdr
+ [121] 0x00006410 0x00000000007f FUNC GLOB D 2 .text elf_getarsym
+ [122] 0x00000000 0x00000000004a FUNC GLOB D 4 UNDEF memcpy
+ [123] 0x000064d0 0x000000000017 FUNC GLOB D 2 .text elf_errno
+ [124] 0x00000000 0x000000000076 FUNC GLOB D 4 UNDEF free
+ [125] 0x00002bd0 0x00000000013c FUNC GLOB D 2 .text gelf_update_symshndx
+ [126] 0x00007990 0x000000000021 FUNC GLOB D 2 .text elf_ndxscn
+ [127] 0x00008cb0 0x000000000059 FUNC GLOB D 2 .text elf_flagphdr
+ [128] 0x000076c0 0x0000000001ac FUNC GLOB D 2 .text gelf_update_ehdr
+ [129] 0x00000000 0x00000000000c FUNC GLOB D 4 UNDEF __stack_chk_fail
+ [130] 0x00003a90 0x0000000001c1 FUNC GLOB D 2 .text gelf_update_phdr
+ [131] 0x000063e0 0x00000000002d FUNC GLOB D 2 .text elf_getbase
+ [132] 0x00006490 0x000000000026 FUNC GLOB D 2 .text elf_getarhdr
+ [133] 0x000044f0 0x00000000016c FUNC GLOB D 2 .text gelf_update_cap
+ [134] 0x00006620 0x000000000068 FUNC GLOB D 2 .text elf_cntl
+ [135] 0x000147c0 0x000000000186 FUNC GLOB D 2 .text elf_memory
+ [136] 0x000062f0 0x000000000016 FUNC GLOB D 2 .text elf_kind
+ [137] 0x00003e50 0x00000000000a FUNC GLOB D 2 .text elf32_getphdr
+ [138] 0x00008c50 0x000000000059 FUNC GLOB D 2 .text elf_flagehdr
+ [139] 0x00000000 0x000000000000 NOTY WEAK D 0 UNDEF _Jv_RegisterClasses
+ [140] 0x00003ca0 0x00000000000d FUNC GLOB D 2 .text elf32_newphdr
+ [141] 0x00004800 0x0000000015d0 FUNC GLOB D 2 .text elf_update
+ [142] 0x00000000 0x000000000000 FUNC GLOB D 4 UNDEF fstat
+ [143] 0x00000000 0x00000000004a FUNC GLOB D 4 UNDEF strlcpy
diff --git a/test/elfdump/ts/dso1/@S@d%libelf.so.err b/test/elfdump/ts/dso1/@S@d%libelf.so.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso1/@S@d%libelf.so.err
diff --git a/test/elfdump/ts/dso1/@S@d%libelf.so.out b/test/elfdump/ts/dso1/@S@d%libelf.so.out
new file mode 100644
index 0000000000000..6322690cbc044
--- /dev/null
+++ b/test/elfdump/ts/dso1/@S@d%libelf.so.out
@@ -0,0 +1,29 @@
+Dynamic Section: .dynamic
+ index tag value
+ [0] DT_NEEDED 0x582 libc.so.7
+ [1] DT_SONAME 0x58c libelf.so.1
+ [2] DT_INIT 0x2828
+ [3] DT_FINI 0x14ec8
+ [4] DT_HASH 0x120
+ [5] DT_STRTAB 0x12f8
+ [6] DT_SYMTAB 0x578
+ [7] DT_STRSZ 0x5b1
+ [8] DT_SYMENT 0x18
+ [9] DT_PLTGOT 0x1183e0
+ [10] DT_PLTRELSZ 0x378
+ [11] DT_PLTREL 0x7
+ [12] DT_JMPREL 0x24b0
+ [13] DT_RELA 0x1a48
+ [14] DT_RELASZ 0xa68
+ [15] DT_RELAENT 0x18
+ [16] DT_VERDEF 0x19d0
+ [17] DT_VERDEFNUM 0x3
+ [18] DT_VERNEED 0x1a28
+ [19] DT_VERNEEDNUM 0x1
+ [20] DT_GNU_VERSYM 0x18aa
+ [21] DT_RELACOUNT 0x6a
+ [22] DT_NULL
+ [23] DT_NULL
+ [24] DT_NULL
+ [25] DT_NULL
+ [26] DT_NULL
diff --git a/test/elfdump/ts/dso1/@S@e%libelf.so.err b/test/elfdump/ts/dso1/@S@e%libelf.so.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso1/@S@e%libelf.so.err
diff --git a/test/elfdump/ts/dso1/@S@e%libelf.so.out b/test/elfdump/ts/dso1/@S@e%libelf.so.out
new file mode 100644
index 0000000000000..33fa3163e2198
--- /dev/null
+++ b/test/elfdump/ts/dso1/@S@e%libelf.so.out
@@ -0,0 +1,10 @@
+
+ELF Header
+ ei_magic: { 0x7f, E, L, F }
+ ei_class: ELFCLASS64 ei_data: ELFDATA2LSB
+ e_machine: EM_X86_64 e_version: EV_CURRENT
+ e_type: ET_DYN
+ e_flags: 0
+ e_entry: 0x2aa0 e_ehsize: 64 e_shstrndx: 24
+ e_shoff: 0x19970 e_shentsize: 64 e_shnum: 25
+ e_phoff: 0x40 e_phentsize: 56 e_phnum: 4
diff --git a/test/elfdump/ts/dso1/@S@h%libelf.so.err b/test/elfdump/ts/dso1/@S@h%libelf.so.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso1/@S@h%libelf.so.err
diff --git a/test/elfdump/ts/dso1/@S@h%libelf.so.out b/test/elfdump/ts/dso1/@S@h%libelf.so.out
new file mode 100644
index 0000000000000..18b41afece5df
--- /dev/null
+++ b/test/elfdump/ts/dso1/@S@h%libelf.so.out
@@ -0,0 +1,122 @@
+
+Hash Section: .hash
+ bucket symndx name
+ 1 [138] elf_flagehdr
+ [49] _libelf_get_no_error_message
+ 3 [93] gelf_xlatetom
+ [61] elf_getphnum
+ 4 [77] strncpy
+ 5 [96] elf32_xlatetof
+ 6 [89] __error
+ 8 [80] gelf_getdyn
+ 9 [40] elf_rawdata
+ 10 [120] elf64_getehdr
+ [95] elf_newdata
+ 12 [133] gelf_update_cap
+ [115] elf32_xlatetom
+ [97] elf_setshstrndx
+ 13 [116] _libelf_set_error
+ [87] elf_flagarhdr
+ [85] memset
+ [46] elf64_xlatetof
+ 16 [123] elf_errno
+ [109] elf_next
+ [90] __assert
+ 18 [124] free
+ 19 [119] malloc
+ 20 [57] elf64_xlatetom
+ 21 [128] gelf_update_ehdr
+ 22 [108] elf_rand
+ [68] gelf_update_syminfo
+ 23 [142] fstat
+ [137] elf32_getphdr
+ [131] elf_getbase
+ [125] gelf_update_symshndx
+ [103] calloc
+ 24 [105] elf32_getshdr
+ 25 [36] elf_newscn
+ 26 [134] elf_cntl
+ 28 [122] memcpy
+ [82] gelf_update_rel
+ 30 [83] gelf_newphdr
+ 32 [102] _libelf_get_unknown_error_message
+ [66] gelf_fsize
+ 35 [112] elf64_getshdr
+ 36 [55] elf64_getphdr
+ 37 [126] elf_ndxscn
+ [104] FBSDprivate_1.0
+ 38 [78] gelf_newehdr
+ [35] write
+ 41 [75] elf_nextscn
+ 42 [69] gelf_getclass
+ 44 [43] strlcat
+ 46 [52] gelf_getrela
+ 48 [114] elf_errmsg
+ [106] elf_end
+ [72] gelf_getsym
+ 50 [67] elf_getshstrndx
+ 51 [81] elf_fill
+ [44] elf_getident
+ 52 [38] gelf_getmove
+ 62 [37] elf32_checksum
+ 64 [64] strerror
+ 65 [143] strlcpy
+ [53] FBSD_1.0
+ 67 [101] _libelf_get_max_error
+ [58] elf32_newehdr
+ 68 [73] munmap
+ [51] elf_begin
+ 78 [60] __stack_chk_guard
+ 80 [59] elf_hash
+ [33] gelf_getsyminfo
+ 82 [34] elf_strptr
+ 83 [121] elf_getarsym
+ 85 [71] elf_flagshdr
+ 87 [63] elf64_newehdr
+ 89 [84] gelf_update_dyn
+ 93 [99] gelf_update_rela
+ 94 [42] elf_flagelf
+ 95 [50] __cxa_finalize
+ [41] elf_rawfile
+ [39] elf_flagscn
+ 98 [129] __stack_chk_fail
+ [79] elf_getscn
+ 99 [117] gelf_getrel
+ [110] gelf_getshdr
+ 100 [45] elf_flagdata
+ 101 [47] gelf_checksum
+ 103 [141] elf_update
+ [91] elf_version
+ 104 [139] _Jv_RegisterClasses
+ [107] elf32_fsize
+ 106 [130] gelf_update_phdr
+ 107 [56] elf64_checksum
+ 108 [113] gelf_update_sym
+ 109 [88] mmap
+ 110 [70] gelf_update_move
+ 113 [140] elf32_newphdr
+ [94] elf64_fsize
+ 114 [54] gelf_update_shdr
+ 116 [111] gelf_getphdr
+ 120 [135] elf_memory
+ [98] gelf_getsymshndx
+ 121 [65] elf32_getehdr
+ 122 [136] elf_kind
+ [92] lseek
+ 124 [118] elf_getshnum
+ [48] gelf_getehdr
+ 125 [132] elf_getarhdr
+ 126 [100] ftruncate
+ [76] elf64_newphdr
+ 127 [74] gelf_xlatetof
+ 128 [86] elf_getdata
+ 129 [127] elf_flagphdr
+ [62] gelf_getcap
+
+ 58 buckets contain 0 symbols
+ 44 buckets contain 1 symbols
+ 23 buckets contain 2 symbols
+ 4 buckets contain 3 symbols
+ 1 buckets contain 4 symbols
+ 1 buckets contain 5 symbols
+ 131 buckets 111 symbols (globals)
diff --git a/test/elfdump/ts/dso1/@S@k%libelf.so.err b/test/elfdump/ts/dso1/@S@k%libelf.so.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso1/@S@k%libelf.so.err
diff --git a/test/elfdump/ts/dso1/@S@k%libelf.so.out b/test/elfdump/ts/dso1/@S@k%libelf.so.out
new file mode 100644
index 0000000000000..52f5aafc9e18f
--- /dev/null
+++ b/test/elfdump/ts/dso1/@S@k%libelf.so.out
@@ -0,0 +1,2 @@
+
+elf checksum: 0xa7a8
diff --git a/test/elfdump/ts/dso1/@S@n%libelf.so.err b/test/elfdump/ts/dso1/@S@n%libelf.so.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso1/@S@n%libelf.so.err
diff --git a/test/elfdump/ts/dso1/@S@n%libelf.so.out b/test/elfdump/ts/dso1/@S@n%libelf.so.out
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso1/@S@n%libelf.so.out
diff --git a/test/elfdump/ts/dso1/@S@p%libelf.so.err b/test/elfdump/ts/dso1/@S@p%libelf.so.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso1/@S@p%libelf.so.err
diff --git a/test/elfdump/ts/dso1/@S@p%libelf.so.out b/test/elfdump/ts/dso1/@S@p%libelf.so.out
new file mode 100644
index 0000000000000..252f33af59a52
--- /dev/null
+++ b/test/elfdump/ts/dso1/@S@p%libelf.so.out
@@ -0,0 +1,24 @@
+
+Program Header[0]:
+ p_vaddr: 0 p_flags: [ PF_X|PF_R ]
+ p_paddr: 0 p_type: [ PT_LOAD ]
+ p_filesz: 0x16114 p_memsz: 0x16114
+ p_offset: 0 p_align: 0x100000
+
+Program Header[1]:
+ p_vaddr: 0x116120 p_flags: [ PF_W|PF_R ]
+ p_paddr: 0x116120 p_type: [ PT_LOAD ]
+ p_filesz: 0x2438 p_memsz: 0x2440
+ p_offset: 0x16120 p_align: 0x100000
+
+Program Header[2]:
+ p_vaddr: 0x118208 p_flags: [ PF_W|PF_R ]
+ p_paddr: 0x118208 p_type: [ PT_DYNAMIC ]
+ p_filesz: 0x1b0 p_memsz: 0x1b0
+ p_offset: 0x18208 p_align: 0x8
+
+Program Header[3]:
+ p_vaddr: 0x1610c p_flags: [ PF_R ]
+ p_paddr: 0x1610c p_type: [ PT_NULL ]
+ p_filesz: 0x8 p_memsz: 0x8
+ p_offset: 0x1610c p_align: 0x4
diff --git a/test/elfdump/ts/dso1/@S@r%libelf.so.err b/test/elfdump/ts/dso1/@S@r%libelf.so.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso1/@S@r%libelf.so.err
diff --git a/test/elfdump/ts/dso1/@S@r%libelf.so.out b/test/elfdump/ts/dso1/@S@r%libelf.so.out
new file mode 100644
index 0000000000000..f22931a386c98
--- /dev/null
+++ b/test/elfdump/ts/dso1/@S@r%libelf.so.out
@@ -0,0 +1,154 @@
+
+Relocation Section: .rela.dyn
+ type offset addend section with respect to
+ R_X86_64_RELATIVE 0x116120 1138976 .rela.dyn
+ R_X86_64_RELATIVE 0x116128 1147856 .rela.dyn
+ R_X86_64_RELATIVE 0x116140 87071 .rela.dyn
+ R_X86_64_RELATIVE 0x116148 87080 .rela.dyn
+ R_X86_64_RELATIVE 0x116150 87104 .rela.dyn
+ R_X86_64_RELATIVE 0x116158 87121 .rela.dyn
+ R_X86_64_RELATIVE 0x116160 87376 .rela.dyn
+ R_X86_64_RELATIVE 0x116168 87408 .rela.dyn
+ R_X86_64_RELATIVE 0x116170 87140 .rela.dyn
+ R_X86_64_RELATIVE 0x116178 87150 .rela.dyn
+ R_X86_64_RELATIVE 0x116180 87178 .rela.dyn
+ R_X86_64_RELATIVE 0x116188 87208 .rela.dyn
+ R_X86_64_RELATIVE 0x116190 87237 .rela.dyn
+ R_X86_64_RELATIVE 0x116198 87257 .rela.dyn
+ R_X86_64_RELATIVE 0x1161a0 87284 .rela.dyn
+ R_X86_64_RELATIVE 0x1161a8 87310 .rela.dyn
+ R_X86_64_RELATIVE 0x1161b0 87332 .rela.dyn
+ R_X86_64_RELATIVE 0x1161b8 87356 .rela.dyn
+ R_X86_64_RELATIVE 0x1161c0 60640 .rela.dyn
+ R_X86_64_RELATIVE 0x1161c8 60464 .rela.dyn
+ R_X86_64_RELATIVE 0x1161d0 60160 .rela.dyn
+ R_X86_64_RELATIVE 0x1161d8 59824 .rela.dyn
+ R_X86_64_RELATIVE 0x1161e0 53536 .rela.dyn
+ R_X86_64_RELATIVE 0x1161e8 53536 .rela.dyn
+ R_X86_64_RELATIVE 0x1161f0 53536 .rela.dyn
+ R_X86_64_RELATIVE 0x1161f8 53536 .rela.dyn
+ R_X86_64_RELATIVE 0x116200 36208 .rela.dyn
+ R_X86_64_RELATIVE 0x116208 80576 .rela.dyn
+ R_X86_64_RELATIVE 0x116210 36464 .rela.dyn
+ R_X86_64_RELATIVE 0x116218 72240 .rela.dyn
+ R_X86_64_RELATIVE 0x116220 36976 .rela.dyn
+ R_X86_64_RELATIVE 0x116228 80224 .rela.dyn
+ R_X86_64_RELATIVE 0x116230 37216 .rela.dyn
+ R_X86_64_RELATIVE 0x116238 71664 .rela.dyn
+ R_X86_64_RELATIVE 0x116240 58592 .rela.dyn
+ R_X86_64_RELATIVE 0x116248 78976 .rela.dyn
+ R_X86_64_RELATIVE 0x116250 56816 .rela.dyn
+ R_X86_64_RELATIVE 0x116258 69808 .rela.dyn
+ R_X86_64_RELATIVE 0x116260 56704 .rela.dyn
+ R_X86_64_RELATIVE 0x116268 56592 .rela.dyn
+ R_X86_64_RELATIVE 0x116270 56704 .rela.dyn
+ R_X86_64_RELATIVE 0x116278 56592 .rela.dyn
+ R_X86_64_RELATIVE 0x116280 56288 .rela.dyn
+ R_X86_64_RELATIVE 0x116288 55952 .rela.dyn
+ R_X86_64_RELATIVE 0x116290 56288 .rela.dyn
+ R_X86_64_RELATIVE 0x116298 55952 .rela.dyn
+ R_X86_64_RELATIVE 0x1162a0 37696 .rela.dyn
+ R_X86_64_RELATIVE 0x1162a8 78192 .rela.dyn
+ R_X86_64_RELATIVE 0x1162b0 38352 .rela.dyn
+ R_X86_64_RELATIVE 0x1162b8 68848 .rela.dyn
+ R_X86_64_RELATIVE 0x1162e0 52608 .rela.dyn
+ R_X86_64_RELATIVE 0x1162e8 53040 .rela.dyn
+ R_X86_64_RELATIVE 0x1162f0 52608 .rela.dyn
+ R_X86_64_RELATIVE 0x1162f8 53040 .rela.dyn
+ R_X86_64_RELATIVE 0x116300 55776 .rela.dyn
+ R_X86_64_RELATIVE 0x116308 55600 .rela.dyn
+ R_X86_64_RELATIVE 0x116310 55296 .rela.dyn
+ R_X86_64_RELATIVE 0x116318 54960 .rela.dyn
+ R_X86_64_RELATIVE 0x116320 39200 .rela.dyn
+ R_X86_64_RELATIVE 0x116328 76992 .rela.dyn
+ R_X86_64_RELATIVE 0x116330 40192 .rela.dyn
+ R_X86_64_RELATIVE 0x116338 66816 .rela.dyn
+ R_X86_64_RELATIVE 0x116340 41952 .rela.dyn
+ R_X86_64_RELATIVE 0x116348 76672 .rela.dyn
+ R_X86_64_RELATIVE 0x116350 42192 .rela.dyn
+ R_X86_64_RELATIVE 0x116358 66240 .rela.dyn
+ R_X86_64_RELATIVE 0x116360 42688 .rela.dyn
+ R_X86_64_RELATIVE 0x116368 76240 .rela.dyn
+ R_X86_64_RELATIVE 0x116370 43024 .rela.dyn
+ R_X86_64_RELATIVE 0x116378 65408 .rela.dyn
+ R_X86_64_RELATIVE 0x116380 43744 .rela.dyn
+ R_X86_64_RELATIVE 0x116388 74784 .rela.dyn
+ R_X86_64_RELATIVE 0x116390 44912 .rela.dyn
+ R_X86_64_RELATIVE 0x116398 63104 .rela.dyn
+ R_X86_64_RELATIVE 0x1163a0 54784 .rela.dyn
+ R_X86_64_RELATIVE 0x1163a8 54608 .rela.dyn
+ R_X86_64_RELATIVE 0x1163b0 54784 .rela.dyn
+ R_X86_64_RELATIVE 0x1163b8 54608 .rela.dyn
+ R_X86_64_RELATIVE 0x1163e0 46848 .rela.dyn
+ R_X86_64_RELATIVE 0x1163e8 74576 .rela.dyn
+ R_X86_64_RELATIVE 0x1163f0 46960 .rela.dyn
+ R_X86_64_RELATIVE 0x1163f8 62896 .rela.dyn
+ R_X86_64_RELATIVE 0x116400 47072 .rela.dyn
+ R_X86_64_RELATIVE 0x116408 74048 .rela.dyn
+ R_X86_64_RELATIVE 0x116410 47504 .rela.dyn
+ R_X86_64_RELATIVE 0x116418 62016 .rela.dyn
+ R_X86_64_RELATIVE 0x116420 48272 .rela.dyn
+ R_X86_64_RELATIVE 0x116428 73392 .rela.dyn
+ R_X86_64_RELATIVE 0x116430 48816 .rela.dyn
+ R_X86_64_RELATIVE 0x116438 61360 .rela.dyn
+ R_X86_64_RELATIVE 0x116440 49360 .rela.dyn
+ R_X86_64_RELATIVE 0x116448 72848 .rela.dyn
+ R_X86_64_RELATIVE 0x116450 49808 .rela.dyn
+ R_X86_64_RELATIVE 0x116458 60816 .rela.dyn
+ R_X86_64_RELATIVE 0x116460 54416 .rela.dyn
+ R_X86_64_RELATIVE 0x116468 54224 .rela.dyn
+ R_X86_64_RELATIVE 0x116470 54416 .rela.dyn
+ R_X86_64_RELATIVE 0x116478 54224 .rela.dyn
+ R_X86_64_RELATIVE 0x116490 53920 .rela.dyn
+ R_X86_64_RELATIVE 0x116498 53584 .rela.dyn
+ R_X86_64_RELATIVE 0x1164a0 54592 .rela.dyn
+ R_X86_64_RELATIVE 0x1164a8 54400 .rela.dyn
+ R_X86_64_RELATIVE 0x1164b0 51264 .rela.dyn
+ R_X86_64_RELATIVE 0x1164b8 50256 .rela.dyn
+ R_X86_64_RELATIVE 0x118538 1139904 .rela.dyn
+ R_X86_64_RELATIVE 0x118548 1139008 .rela.dyn
+ R_X86_64_GLOB_DAT 0x118520 0 .rela.dyn __cxa_finalize
+ R_X86_64_GLOB_DAT 0x118528 0 .rela.dyn __stack_chk_guard
+ R_X86_64_GLOB_DAT 0x118530 0 .rela.dyn elf64_fsize
+ R_X86_64_GLOB_DAT 0x118540 0 .rela.dyn elf32_fsize
+ R_X86_64_GLOB_DAT 0x118550 0 .rela.dyn _Jv_RegisterClasses
+
+Relocation Section: .rela.plt
+ type offset addend section with respect to
+ R_X86_64_JMP_SLOT 0x1183f8 0 .rela.plt write
+ R_X86_64_JMP_SLOT 0x118400 0 .rela.plt elf_flagscn
+ R_X86_64_JMP_SLOT 0x118408 0 .rela.plt elf_rawdata
+ R_X86_64_JMP_SLOT 0x118410 0 .rela.plt elf_flagelf
+ R_X86_64_JMP_SLOT 0x118418 0 .rela.plt strlcat
+ R_X86_64_JMP_SLOT 0x118420 0 .rela.plt gelf_getehdr
+ R_X86_64_JMP_SLOT 0x118428 0 .rela.plt __cxa_finalize
+ R_X86_64_JMP_SLOT 0x118430 0 .rela.plt elf_hash
+ R_X86_64_JMP_SLOT 0x118438 0 .rela.plt strerror
+ R_X86_64_JMP_SLOT 0x118440 0 .rela.plt gelf_fsize
+ R_X86_64_JMP_SLOT 0x118448 0 .rela.plt elf_flagshdr
+ R_X86_64_JMP_SLOT 0x118450 0 .rela.plt gelf_getsym
+ R_X86_64_JMP_SLOT 0x118458 0 .rela.plt munmap
+ R_X86_64_JMP_SLOT 0x118460 0 .rela.plt strncpy
+ R_X86_64_JMP_SLOT 0x118468 0 .rela.plt elf_getscn
+ R_X86_64_JMP_SLOT 0x118470 0 .rela.plt memset
+ R_X86_64_JMP_SLOT 0x118478 0 .rela.plt elf_getdata
+ R_X86_64_JMP_SLOT 0x118480 0 .rela.plt mmap
+ R_X86_64_JMP_SLOT 0x118488 0 .rela.plt __error
+ R_X86_64_JMP_SLOT 0x118490 0 .rela.plt __assert
+ R_X86_64_JMP_SLOT 0x118498 0 .rela.plt lseek
+ R_X86_64_JMP_SLOT 0x1184a0 0 .rela.plt elf64_fsize
+ R_X86_64_JMP_SLOT 0x1184a8 0 .rela.plt ftruncate
+ R_X86_64_JMP_SLOT 0x1184b0 0 .rela.plt calloc
+ R_X86_64_JMP_SLOT 0x1184b8 0 .rela.plt elf_end
+ R_X86_64_JMP_SLOT 0x1184c0 0 .rela.plt elf32_fsize
+ R_X86_64_JMP_SLOT 0x1184c8 0 .rela.plt gelf_getshdr
+ R_X86_64_JMP_SLOT 0x1184d0 0 .rela.plt gelf_update_sym
+ R_X86_64_JMP_SLOT 0x1184d8 0 .rela.plt malloc
+ R_X86_64_JMP_SLOT 0x1184e0 0 .rela.plt memcpy
+ R_X86_64_JMP_SLOT 0x1184e8 0 .rela.plt free
+ R_X86_64_JMP_SLOT 0x1184f0 0 .rela.plt elf_flagphdr
+ R_X86_64_JMP_SLOT 0x1184f8 0 .rela.plt __stack_chk_fail
+ R_X86_64_JMP_SLOT 0x118500 0 .rela.plt elf_memory
+ R_X86_64_JMP_SLOT 0x118508 0 .rela.plt elf_flagehdr
+ R_X86_64_JMP_SLOT 0x118510 0 .rela.plt fstat
+ R_X86_64_JMP_SLOT 0x118518 0 .rela.plt strlcpy
diff --git a/test/elfdump/ts/dso1/@S@s@N%.dynsym%libelf.so.err b/test/elfdump/ts/dso1/@S@s@N%.dynsym%libelf.so.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso1/@S@s@N%.dynsym%libelf.so.err
diff --git a/test/elfdump/ts/dso1/@S@s@N%.dynsym%libelf.so.out b/test/elfdump/ts/dso1/@S@s@N%.dynsym%libelf.so.out
new file mode 100644
index 0000000000000..e215121c6d7b5
--- /dev/null
+++ b/test/elfdump/ts/dso1/@S@s@N%.dynsym%libelf.so.out
@@ -0,0 +1,147 @@
+
+Symbol Table Section: .dynsym
+ index value size type bind oth ver shndx name
+ [0] 0x00000000 0x000000000000 NOTY LOCL D 0 UNDEF
+ [1] 0x00000120 0x000000000000 SECT LOCL D 0 .hash
+ [2] 0x00000578 0x000000000000 SECT LOCL D 0 .dynsym
+ [3] 0x000012f8 0x000000000000 SECT LOCL D 0 .dynstr
+ [4] 0x000018aa 0x000000000000 SECT LOCL D 0 .gnu.versio
+ [5] 0x000019d0 0x000000000000 SECT LOCL D 0 .gnu.versio
+ [6] 0x00001a28 0x000000000000 SECT LOCL D 0 .gnu.versio
+ [7] 0x00001a48 0x000000000000 SECT LOCL D 0 .rela.dyn
+ [8] 0x000024b0 0x000000000000 SECT LOCL D 0 .rela.plt
+ [9] 0x00002828 0x000000000000 SECT LOCL D 0 .init
+ [10] 0x0000283c 0x000000000000 SECT LOCL D 0 .plt
+ [11] 0x00002aa0 0x000000000000 SECT LOCL D 0 .text
+ [12] 0x00014ec8 0x000000000000 SECT LOCL D 0 .fini
+ [13] 0x00014ee0 0x000000000000 SECT LOCL D 0 .rodata
+ [14] 0x0001610c 0x000000000000 SECT LOCL D 0 .eh_frame_h
+ [15] 0x00116120 0x000000000000 SECT LOCL D 0 .data
+ [16] 0x001165d8 0x000000000000 SECT LOCL D 0 .eh_frame
+ [17] 0x00118208 0x000000000000 SECT LOCL D 0 .dynamic
+ [18] 0x001183b8 0x000000000000 SECT LOCL D 0 .ctors
+ [19] 0x001183c8 0x000000000000 SECT LOCL D 0 .dtors
+ [20] 0x001183d8 0x000000000000 SECT LOCL D 0 .jcr
+ [21] 0x001183e0 0x000000000000 SECT LOCL D 0 .got
+ [22] 0x00118558 0x000000000000 SECT LOCL D 0 .bss
+ [23] 0x00000000 0x000000000000 SECT LOCL D 0 .comment
+ [24] 0x00000000 0x000000000000 SECT LOCL D 0 .shstrtab
+ [25] 0x00000000 0x000000000000 SECT LOCL D 0 25
+ [26] 0x00000000 0x000000000000 SECT LOCL D 0 26
+ [27] 0x00000000 0x000000000000 SECT LOCL D 0 27
+ [28] 0x00000000 0x000000000000 SECT LOCL D 0 28
+ [29] 0x00000000 0x000000000000 SECT LOCL D 0 29
+ [30] 0x00000000 0x000000000000 SECT LOCL D 0 30
+ [31] 0x00000000 0x000000000000 SECT LOCL D 0 31
+ [32] 0x00000000 0x000000000000 SECT LOCL D 0 32
+ [33] 0x00002fb0 0x00000000015a FUNC GLOB D 2 .text gelf_getsyminfo
+ [34] 0x00005dd0 0x000000000169 FUNC GLOB D 2 .text elf_strptr
+ [35] 0x00000000 0x000000000000 FUNC GLOB D 4 UNDEF write
+ [36] 0x00007c60 0x00000000014a FUNC GLOB D 2 .text elf_newscn
+ [37] 0x000044e0 0x00000000000a FUNC GLOB D 2 .text elf32_checksum
+ [38] 0x00004010 0x000000000194 FUNC GLOB D 2 .text gelf_getmove
+ [39] 0x00008d10 0x000000000044 FUNC GLOB D 2 .text elf_flagscn
+ [40] 0x00007e90 0x000000000168 FUNC GLOB D 2 .text elf_rawdata
+ [41] 0x00006120 0x00000000004a FUNC GLOB D 2 .text elf_rawfile
+ [42] 0x00008bd0 0x000000000074 FUNC GLOB D 2 .text elf_flagelf
+ [43] 0x00000000 0x00000000007b FUNC GLOB D 4 UNDEF strlcat
+ [44] 0x00006310 0x0000000000ca FUNC GLOB D 2 .text elf_getident
+ [45] 0x00008b70 0x00000000005c FUNC GLOB D 2 .text elf_flagdata
+ [46] 0x00002bb0 0x00000000000d FUNC GLOB D 2 .text elf64_xlatetof
+ [47] 0x000044a0 0x000000000028 FUNC GLOB D 2 .text gelf_checksum
+ [48] 0x00007870 0x000000000117 FUNC GLOB D 2 .text gelf_getehdr
+ [49] 0x00006520 0x00000000000b FUNC GLOB D 3 .text _libelf_get_no_error_message
+ [50] 0x00000000 0x000000000131 FUNC WEAK D 4 UNDEF __cxa_finalize
+ [51] 0x00006690 0x0000000001e3 FUNC GLOB D 2 .text elf_begin
+ [52] 0x00003600 0x000000000184 FUNC GLOB D 2 .text gelf_getrela
+ [53] 0x00000000 0x000000000000 OBJT GLOB D 2 ABS FBSD_1.0
+ [54] 0x00007390 0x000000000173 FUNC GLOB D 2 .text gelf_update_shdr
+ [55] 0x00003e40 0x00000000000a FUNC GLOB D 2 .text elf64_getphdr
+ [56] 0x000044d0 0x00000000000a FUNC GLOB D 2 .text elf64_checksum
+ [57] 0x00002b90 0x000000000010 FUNC GLOB D 2 .text elf64_xlatetom
+ [58] 0x00007690 0x00000000000f FUNC GLOB D 2 .text elf32_newehdr
+ [59] 0x00014950 0x000000000046 FUNC GLOB D 2 .text elf_hash
+ [60] 0x00000000 0x000000000040 OBJT GLOB D 4 UNDEF __stack_chk_guard
+ [61] 0x000060b0 0x00000000006a FUNC GLOB D 2 .text elf_getphnum
+ [62] 0x00004660 0x000000000159 FUNC GLOB D 2 .text gelf_getcap
+ [63] 0x00007680 0x00000000000f FUNC GLOB D 2 .text elf64_newehdr
+ [64] 0x00000000 0x000000000030 FUNC GLOB D 4 UNDEF strerror
+ [65] 0x000076b0 0x00000000000c FUNC GLOB D 2 .text elf32_getehdr
+ [66] 0x00013d00 0x000000000035 FUNC GLOB D 2 .text gelf_fsize
+ [67] 0x00005f40 0x00000000006a FUNC GLOB D 2 .text elf_getshstrndx
+ [68] 0x00002e60 0x000000000149 FUNC GLOB D 2 .text gelf_update_syminfo
+ [69] 0x000041b0 0x00000000000c FUNC GLOB D 2 .text gelf_getclass
+ [70] 0x00003e60 0x0000000001a3 FUNC GLOB D 2 .text gelf_update_move
+ [71] 0x00008d60 0x000000000005 FUNC GLOB D 2 .text elf_flagshdr
+ [72] 0x000032b0 0x00000000018c FUNC GLOB D 2 .text gelf_getsym
+ [73] 0x00000000 0x000000000000 FUNC GLOB D 4 UNDEF munmap
+ [74] 0x00002b20 0x00000000002e FUNC GLOB D 2 .text gelf_xlatetof
+ [75] 0x00007e50 0x00000000003b FUNC GLOB D 2 .text elf_nextscn
+ [76] 0x00003c90 0x00000000000d FUNC GLOB D 2 .text elf64_newphdr
+ [77] 0x00000000 0x00000000004c FUNC GLOB D 4 UNDEF strncpy
+ [78] 0x00007650 0x000000000028 FUNC GLOB D 2 .text gelf_newehdr
+ [79] 0x00007db0 0x00000000009d FUNC GLOB D 2 .text elf_getscn
+ [80] 0x00004340 0x00000000015a FUNC GLOB D 2 .text gelf_getdyn
+ [81] 0x000064c0 0x00000000000b FUNC GLOB D 2 .text elf_fill
+ [82] 0x00003790 0x00000000018c FUNC GLOB D 2 .text gelf_update_rel
+ [83] 0x00003c60 0x000000000024 FUNC GLOB D 2 .text gelf_newphdr
+ [84] 0x000041c0 0x000000000172 FUNC GLOB D 2 .text gelf_update_dyn
+ [85] 0x00000000 0x000000000054 FUNC GLOB D 4 UNDEF memset
+ [86] 0x00008000 0x0000000002fe FUNC GLOB D 2 .text elf_getdata
+ [87] 0x00008b20 0x000000000044 FUNC GLOB D 2 .text elf_flagarhdr
+ [88] 0x00000000 0x0000000000be FUNC GLOB D 4 UNDEF mmap
+ [89] 0x00000000 0x000000000008 FUNC GLOB D 4 UNDEF __error
+ [90] 0x00000000 0x000000000058 FUNC GLOB D 4 UNDEF __assert
+ [91] 0x000047c0 0x000000000036 FUNC GLOB D 2 .text elf_version
+ [92] 0x00000000 0x000000000067 FUNC GLOB D 4 UNDEF lseek
+ [93] 0x00002b50 0x000000000031 FUNC GLOB D 2 .text gelf_xlatetom
+ [94] 0x00013d40 0x00000000000d FUNC GLOB D 2 .text elf64_fsize
+ [95] 0x00008300 0x0000000000e5 FUNC GLOB D 2 .text elf_newdata
+ [96] 0x00002bc0 0x00000000000d FUNC GLOB D 2 .text elf32_xlatetof
+ [97] 0x00005fb0 0x000000000087 FUNC GLOB D 2 .text elf_setshstrndx
+ [98] 0x00002d10 0x000000000148 FUNC GLOB D 2 .text gelf_getsymshndx
+ [99] 0x00003440 0x0000000001b9 FUNC GLOB D 2 .text gelf_update_rela
+ [100] 0x00000000 0x000000000051 FUNC GLOB D 4 UNDEF ftruncate
+ [101] 0x000064f0 0x000000000006 FUNC GLOB D 3 .text _libelf_get_max_error
+ [102] 0x00006510 0x00000000000c FUNC GLOB D 3 .text _libelf_get_unknown_error_message
+ [103] 0x00000000 0x00000000014a FUNC GLOB D 4 UNDEF calloc
+ [104] 0x00000000 0x000000000000 OBJT GLOB D 3 ABS FBSDprivate_1.0
+ [105] 0x00007520 0x00000000000a FUNC GLOB D 2 .text elf32_getshdr
+ [106] 0x000083f0 0x00000000012a FUNC GLOB D 2 .text elf_end
+ [107] 0x00013d50 0x00000000000d FUNC GLOB D 2 .text elf32_fsize
+ [108] 0x00006170 0x000000000061 FUNC GLOB D 2 .text elf_rand
+ [109] 0x000061e0 0x00000000010b FUNC GLOB D 2 .text elf_next
+ [110] 0x00007530 0x000000000119 FUNC GLOB D 2 .text gelf_getshdr
+ [111] 0x00003cb0 0x00000000018d FUNC GLOB D 2 .text gelf_getphdr
+ [112] 0x00007510 0x00000000000a FUNC GLOB D 2 .text elf64_getshdr
+ [113] 0x00003110 0x0000000001a0 FUNC GLOB D 2 .text gelf_update_sym
+ [114] 0x00006530 0x0000000000e2 FUNC GLOB D 2 .text elf_errmsg
+ [115] 0x00002ba0 0x000000000010 FUNC GLOB D 2 .text elf32_xlatetom
+ [116] 0x00006500 0x00000000000b FUNC GLOB D 3 .text _libelf_set_error
+ [117] 0x00003920 0x000000000168 FUNC GLOB D 2 .text gelf_getrel
+ [118] 0x00006040 0x00000000006a FUNC GLOB D 2 .text elf_getshnum
+ [119] 0x00000000 0x0000000000af FUNC GLOB D 4 UNDEF malloc
+ [120] 0x000076a0 0x00000000000c FUNC GLOB D 2 .text elf64_getehdr
+ [121] 0x00006410 0x00000000007f FUNC GLOB D 2 .text elf_getarsym
+ [122] 0x00000000 0x00000000004a FUNC GLOB D 4 UNDEF memcpy
+ [123] 0x000064d0 0x000000000017 FUNC GLOB D 2 .text elf_errno
+ [124] 0x00000000 0x000000000076 FUNC GLOB D 4 UNDEF free
+ [125] 0x00002bd0 0x00000000013c FUNC GLOB D 2 .text gelf_update_symshndx
+ [126] 0x00007990 0x000000000021 FUNC GLOB D 2 .text elf_ndxscn
+ [127] 0x00008cb0 0x000000000059 FUNC GLOB D 2 .text elf_flagphdr
+ [128] 0x000076c0 0x0000000001ac FUNC GLOB D 2 .text gelf_update_ehdr
+ [129] 0x00000000 0x00000000000c FUNC GLOB D 4 UNDEF __stack_chk_fail
+ [130] 0x00003a90 0x0000000001c1 FUNC GLOB D 2 .text gelf_update_phdr
+ [131] 0x000063e0 0x00000000002d FUNC GLOB D 2 .text elf_getbase
+ [132] 0x00006490 0x000000000026 FUNC GLOB D 2 .text elf_getarhdr
+ [133] 0x000044f0 0x00000000016c FUNC GLOB D 2 .text gelf_update_cap
+ [134] 0x00006620 0x000000000068 FUNC GLOB D 2 .text elf_cntl
+ [135] 0x000147c0 0x000000000186 FUNC GLOB D 2 .text elf_memory
+ [136] 0x000062f0 0x000000000016 FUNC GLOB D 2 .text elf_kind
+ [137] 0x00003e50 0x00000000000a FUNC GLOB D 2 .text elf32_getphdr
+ [138] 0x00008c50 0x000000000059 FUNC GLOB D 2 .text elf_flagehdr
+ [139] 0x00000000 0x000000000000 NOTY WEAK D 0 UNDEF _Jv_RegisterClasses
+ [140] 0x00003ca0 0x00000000000d FUNC GLOB D 2 .text elf32_newphdr
+ [141] 0x00004800 0x0000000015d0 FUNC GLOB D 2 .text elf_update
+ [142] 0x00000000 0x000000000000 FUNC GLOB D 4 UNDEF fstat
+ [143] 0x00000000 0x00000000004a FUNC GLOB D 4 UNDEF strlcpy
diff --git a/test/elfdump/ts/dso1/@S@v%libelf.so.err b/test/elfdump/ts/dso1/@S@v%libelf.so.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso1/@S@v%libelf.so.err
diff --git a/test/elfdump/ts/dso1/@S@v%libelf.so.out b/test/elfdump/ts/dso1/@S@v%libelf.so.out
new file mode 100644
index 0000000000000..ebc05ea0358d1
--- /dev/null
+++ b/test/elfdump/ts/dso1/@S@v%libelf.so.out
@@ -0,0 +1,9 @@
+Version Definition Section: .gnu.version_d
+ index version dependency
+ [1] libelf.so.1 [ BASE ]
+ [2] FBSD_1.0
+ [3] FBSDprivate_1.0
+
+Version Needed Section: .gnu.version_r
+ file version
+ libc.so.7 FBSD_1.0
diff --git a/test/elfdump/ts/dso1/@c%libelf.so.err b/test/elfdump/ts/dso1/@c%libelf.so.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso1/@c%libelf.so.err
diff --git a/test/elfdump/ts/dso1/@c%libelf.so.out b/test/elfdump/ts/dso1/@c%libelf.so.out
new file mode 100644
index 0000000000000..ef05298c272e8
--- /dev/null
+++ b/test/elfdump/ts/dso1/@c%libelf.so.out
@@ -0,0 +1,302 @@
+
+section header:
+
+entry: 0
+ sh_name:
+ sh_type: SHT_NULL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 0
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 0
+ sh_entsize: 0
+
+entry: 1
+ sh_name: .hash
+ sh_type: SHT_HASH
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x120
+ sh_offset: 288
+ sh_size: 1108
+ sh_link: 2
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 4
+
+entry: 2
+ sh_name: .dynsym
+ sh_type: SHT_DYNSYM
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x578
+ sh_offset: 1400
+ sh_size: 3456
+ sh_link: 3
+ sh_info: 33
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 3
+ sh_name: .dynstr
+ sh_type: SHT_STRTAB
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x12f8
+ sh_offset: 4856
+ sh_size: 1457
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 4
+ sh_name: .gnu.version
+ sh_type: SHT_SUNW(GNU)_versym
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x18aa
+ sh_offset: 6314
+ sh_size: 288
+ sh_link: 2
+ sh_info: 0
+ sh_addralign: 2
+ sh_entsize: 2
+
+entry: 5
+ sh_name: .gnu.version_d
+ sh_type: SHT_SUNW(GNU)_verdef
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x19d0
+ sh_offset: 6608
+ sh_size: 84
+ sh_link: 3
+ sh_info: 3
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 6
+ sh_name: .gnu.version_r
+ sh_type: SHT_SUNW(GNU)_verneed
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x1a28
+ sh_offset: 6696
+ sh_size: 32
+ sh_link: 3
+ sh_info: 1
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 7
+ sh_name: .rela.dyn
+ sh_type: SHT_RELA
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x1a48
+ sh_offset: 6728
+ sh_size: 2664
+ sh_link: 2
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 8
+ sh_name: .rela.plt
+ sh_type: SHT_RELA
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x24b0
+ sh_offset: 9392
+ sh_size: 888
+ sh_link: 2
+ sh_info: 10
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 9
+ sh_name: .init
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x2828
+ sh_offset: 10280
+ sh_size: 19
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 10
+ sh_name: .plt
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x283c
+ sh_offset: 10300
+ sh_size: 608
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 16
+
+entry: 11
+ sh_name: .text
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x2aa0
+ sh_offset: 10912
+ sh_size: 74792
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 12
+ sh_name: .fini
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x14ec8
+ sh_offset: 85704
+ sh_size: 14
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 13
+ sh_name: .rodata
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x14ee0
+ sh_offset: 85728
+ sh_size: 4650
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 32
+ sh_entsize: 0
+
+entry: 14
+ sh_name: .eh_frame_hdr
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x1610c
+ sh_offset: 90380
+ sh_size: 8
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 15
+ sh_name: .data
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x116120
+ sh_offset: 90400
+ sh_size: 1208
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 32
+ sh_entsize: 0
+
+entry: 16
+ sh_name: .eh_frame
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x1165d8
+ sh_offset: 91608
+ sh_size: 7216
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 17
+ sh_name: .dynamic
+ sh_type: SHT_DYNAMIC
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x118208
+ sh_offset: 98824
+ sh_size: 432
+ sh_link: 3
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 16
+
+entry: 18
+ sh_name: .ctors
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x1183b8
+ sh_offset: 99256
+ sh_size: 16
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 19
+ sh_name: .dtors
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x1183c8
+ sh_offset: 99272
+ sh_size: 16
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 20
+ sh_name: .jcr
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x1183d8
+ sh_offset: 99288
+ sh_size: 8
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 21
+ sh_name: .got
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x1183e0
+ sh_offset: 99296
+ sh_size: 376
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 8
+
+entry: 22
+ sh_name: .bss
+ sh_type: SHT_NOBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x118558
+ sh_offset: 99672
+ sh_size: 8
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 23
+ sh_name: .comment
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 99672
+ sh_size: 4945
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 24
+ sh_name: .shstrtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 104617
+ sh_size: 199
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
diff --git a/test/elfdump/ts/dso1/@c@p@n%libelf.so.err b/test/elfdump/ts/dso1/@c@p@n%libelf.so.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso1/@c@p@n%libelf.so.err
diff --git a/test/elfdump/ts/dso1/@c@p@n%libelf.so.out b/test/elfdump/ts/dso1/@c@p@n%libelf.so.out
new file mode 100644
index 0000000000000..7faaa0cafac79
--- /dev/null
+++ b/test/elfdump/ts/dso1/@c@p@n%libelf.so.out
@@ -0,0 +1,344 @@
+
+program header:
+
+entry: 0
+ p_type: PT_LOAD
+ p_offset: 0
+ p_vaddr: 0
+ p_paddr: 0
+ p_filesz: 90388
+ p_memsz: 90388
+ p_flags: PF_X|PF_R
+ p_align: 1048576
+
+entry: 1
+ p_type: PT_LOAD
+ p_offset: 90400
+ p_vaddr: 0x116120
+ p_paddr: 0x116120
+ p_filesz: 9272
+ p_memsz: 9280
+ p_flags: PF_W|PF_R
+ p_align: 1048576
+
+entry: 2
+ p_type: PT_DYNAMIC
+ p_offset: 98824
+ p_vaddr: 0x118208
+ p_paddr: 0x118208
+ p_filesz: 432
+ p_memsz: 432
+ p_flags: PF_W|PF_R
+ p_align: 8
+
+entry: 3
+ p_type: PT_NULL
+ p_offset: 90380
+ p_vaddr: 0x1610c
+ p_paddr: 0x1610c
+ p_filesz: 8
+ p_memsz: 8
+ p_flags: PF_R
+ p_align: 4
+
+section header:
+
+entry: 0
+ sh_name:
+ sh_type: SHT_NULL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 0
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 0
+ sh_entsize: 0
+
+entry: 1
+ sh_name: .hash
+ sh_type: SHT_HASH
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x120
+ sh_offset: 288
+ sh_size: 1108
+ sh_link: 2
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 4
+
+entry: 2
+ sh_name: .dynsym
+ sh_type: SHT_DYNSYM
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x578
+ sh_offset: 1400
+ sh_size: 3456
+ sh_link: 3
+ sh_info: 33
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 3
+ sh_name: .dynstr
+ sh_type: SHT_STRTAB
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x12f8
+ sh_offset: 4856
+ sh_size: 1457
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 4
+ sh_name: .gnu.version
+ sh_type: SHT_SUNW(GNU)_versym
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x18aa
+ sh_offset: 6314
+ sh_size: 288
+ sh_link: 2
+ sh_info: 0
+ sh_addralign: 2
+ sh_entsize: 2
+
+entry: 5
+ sh_name: .gnu.version_d
+ sh_type: SHT_SUNW(GNU)_verdef
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x19d0
+ sh_offset: 6608
+ sh_size: 84
+ sh_link: 3
+ sh_info: 3
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 6
+ sh_name: .gnu.version_r
+ sh_type: SHT_SUNW(GNU)_verneed
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x1a28
+ sh_offset: 6696
+ sh_size: 32
+ sh_link: 3
+ sh_info: 1
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 7
+ sh_name: .rela.dyn
+ sh_type: SHT_RELA
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x1a48
+ sh_offset: 6728
+ sh_size: 2664
+ sh_link: 2
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 8
+ sh_name: .rela.plt
+ sh_type: SHT_RELA
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x24b0
+ sh_offset: 9392
+ sh_size: 888
+ sh_link: 2
+ sh_info: 10
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 9
+ sh_name: .init
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x2828
+ sh_offset: 10280
+ sh_size: 19
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 10
+ sh_name: .plt
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x283c
+ sh_offset: 10300
+ sh_size: 608
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 16
+
+entry: 11
+ sh_name: .text
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x2aa0
+ sh_offset: 10912
+ sh_size: 74792
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 12
+ sh_name: .fini
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x14ec8
+ sh_offset: 85704
+ sh_size: 14
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 13
+ sh_name: .rodata
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x14ee0
+ sh_offset: 85728
+ sh_size: 4650
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 32
+ sh_entsize: 0
+
+entry: 14
+ sh_name: .eh_frame_hdr
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x1610c
+ sh_offset: 90380
+ sh_size: 8
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 15
+ sh_name: .data
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x116120
+ sh_offset: 90400
+ sh_size: 1208
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 32
+ sh_entsize: 0
+
+entry: 16
+ sh_name: .eh_frame
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x1165d8
+ sh_offset: 91608
+ sh_size: 7216
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 17
+ sh_name: .dynamic
+ sh_type: SHT_DYNAMIC
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x118208
+ sh_offset: 98824
+ sh_size: 432
+ sh_link: 3
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 16
+
+entry: 18
+ sh_name: .ctors
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x1183b8
+ sh_offset: 99256
+ sh_size: 16
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 19
+ sh_name: .dtors
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x1183c8
+ sh_offset: 99272
+ sh_size: 16
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 20
+ sh_name: .jcr
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x1183d8
+ sh_offset: 99288
+ sh_size: 8
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 21
+ sh_name: .got
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x1183e0
+ sh_offset: 99296
+ sh_size: 376
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 8
+
+entry: 22
+ sh_name: .bss
+ sh_type: SHT_NOBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x118558
+ sh_offset: 99672
+ sh_size: 8
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 23
+ sh_name: .comment
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 99672
+ sh_size: 4945
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 24
+ sh_name: .shstrtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 104617
+ sh_size: 199
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
diff --git a/test/elfdump/ts/dso1/@c@s%libelf.so.err b/test/elfdump/ts/dso1/@c@s%libelf.so.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso1/@c@s%libelf.so.err
diff --git a/test/elfdump/ts/dso1/@c@s%libelf.so.out b/test/elfdump/ts/dso1/@c@s%libelf.so.out
new file mode 100644
index 0000000000000..737c5d8e8a0f4
--- /dev/null
+++ b/test/elfdump/ts/dso1/@c@s%libelf.so.out
@@ -0,0 +1,1312 @@
+
+section header:
+
+entry: 0
+ sh_name:
+ sh_type: SHT_NULL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 0
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 0
+ sh_entsize: 0
+
+entry: 1
+ sh_name: .hash
+ sh_type: SHT_HASH
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x120
+ sh_offset: 288
+ sh_size: 1108
+ sh_link: 2
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 4
+
+entry: 2
+ sh_name: .dynsym
+ sh_type: SHT_DYNSYM
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x578
+ sh_offset: 1400
+ sh_size: 3456
+ sh_link: 3
+ sh_info: 33
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 3
+ sh_name: .dynstr
+ sh_type: SHT_STRTAB
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x12f8
+ sh_offset: 4856
+ sh_size: 1457
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 4
+ sh_name: .gnu.version
+ sh_type: SHT_SUNW(GNU)_versym
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x18aa
+ sh_offset: 6314
+ sh_size: 288
+ sh_link: 2
+ sh_info: 0
+ sh_addralign: 2
+ sh_entsize: 2
+
+entry: 5
+ sh_name: .gnu.version_d
+ sh_type: SHT_SUNW(GNU)_verdef
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x19d0
+ sh_offset: 6608
+ sh_size: 84
+ sh_link: 3
+ sh_info: 3
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 6
+ sh_name: .gnu.version_r
+ sh_type: SHT_SUNW(GNU)_verneed
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x1a28
+ sh_offset: 6696
+ sh_size: 32
+ sh_link: 3
+ sh_info: 1
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 7
+ sh_name: .rela.dyn
+ sh_type: SHT_RELA
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x1a48
+ sh_offset: 6728
+ sh_size: 2664
+ sh_link: 2
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 8
+ sh_name: .rela.plt
+ sh_type: SHT_RELA
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x24b0
+ sh_offset: 9392
+ sh_size: 888
+ sh_link: 2
+ sh_info: 10
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 9
+ sh_name: .init
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x2828
+ sh_offset: 10280
+ sh_size: 19
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 10
+ sh_name: .plt
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x283c
+ sh_offset: 10300
+ sh_size: 608
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 16
+
+entry: 11
+ sh_name: .text
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x2aa0
+ sh_offset: 10912
+ sh_size: 74792
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 12
+ sh_name: .fini
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x14ec8
+ sh_offset: 85704
+ sh_size: 14
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 13
+ sh_name: .rodata
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x14ee0
+ sh_offset: 85728
+ sh_size: 4650
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 32
+ sh_entsize: 0
+
+entry: 14
+ sh_name: .eh_frame_hdr
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x1610c
+ sh_offset: 90380
+ sh_size: 8
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 15
+ sh_name: .data
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x116120
+ sh_offset: 90400
+ sh_size: 1208
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 32
+ sh_entsize: 0
+
+entry: 16
+ sh_name: .eh_frame
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x1165d8
+ sh_offset: 91608
+ sh_size: 7216
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 17
+ sh_name: .dynamic
+ sh_type: SHT_DYNAMIC
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x118208
+ sh_offset: 98824
+ sh_size: 432
+ sh_link: 3
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 16
+
+entry: 18
+ sh_name: .ctors
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x1183b8
+ sh_offset: 99256
+ sh_size: 16
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 19
+ sh_name: .dtors
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x1183c8
+ sh_offset: 99272
+ sh_size: 16
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 20
+ sh_name: .jcr
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x1183d8
+ sh_offset: 99288
+ sh_size: 8
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 21
+ sh_name: .got
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x1183e0
+ sh_offset: 99296
+ sh_size: 376
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 8
+
+entry: 22
+ sh_name: .bss
+ sh_type: SHT_NOBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x118558
+ sh_offset: 99672
+ sh_size: 8
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 23
+ sh_name: .comment
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 99672
+ sh_size: 4945
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 24
+ sh_name: .shstrtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 104617
+ sh_size: 199
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+symbol table (.dynsym):
+
+entry: 0
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_LOCAL
+ st_shndx: 0
+
+entry: 1
+ st_name:
+ st_value: 0x120
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 1
+
+entry: 2
+ st_name:
+ st_value: 0x578
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 2
+
+entry: 3
+ st_name:
+ st_value: 0x12f8
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 3
+
+entry: 4
+ st_name:
+ st_value: 0x18aa
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 4
+
+entry: 5
+ st_name:
+ st_value: 0x19d0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 5
+
+entry: 6
+ st_name:
+ st_value: 0x1a28
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 6
+
+entry: 7
+ st_name:
+ st_value: 0x1a48
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 7
+
+entry: 8
+ st_name:
+ st_value: 0x24b0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 8
+
+entry: 9
+ st_name:
+ st_value: 0x2828
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 9
+
+entry: 10
+ st_name:
+ st_value: 0x283c
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 10
+
+entry: 11
+ st_name:
+ st_value: 0x2aa0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 11
+
+entry: 12
+ st_name:
+ st_value: 0x14ec8
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 12
+
+entry: 13
+ st_name:
+ st_value: 0x14ee0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 13
+
+entry: 14
+ st_name:
+ st_value: 0x1610c
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 14
+
+entry: 15
+ st_name:
+ st_value: 0x116120
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 15
+
+entry: 16
+ st_name:
+ st_value: 0x1165d8
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 16
+
+entry: 17
+ st_name:
+ st_value: 0x118208
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 17
+
+entry: 18
+ st_name:
+ st_value: 0x1183b8
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 18
+
+entry: 19
+ st_name:
+ st_value: 0x1183c8
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 19
+
+entry: 20
+ st_name:
+ st_value: 0x1183d8
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 20
+
+entry: 21
+ st_name:
+ st_value: 0x1183e0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 21
+
+entry: 22
+ st_name:
+ st_value: 0x118558
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 22
+
+entry: 23
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 23
+
+entry: 24
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 24
+
+entry: 25
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 25
+
+entry: 26
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 26
+
+entry: 27
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 27
+
+entry: 28
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 28
+
+entry: 29
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 29
+
+entry: 30
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 30
+
+entry: 31
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 31
+
+entry: 32
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 32
+
+entry: 33
+ st_name: gelf_getsyminfo
+ st_value: 0x2fb0
+ st_size: 346
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 34
+ st_name: elf_strptr
+ st_value: 0x5dd0
+ st_size: 361
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 35
+ st_name: write
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 36
+ st_name: elf_newscn
+ st_value: 0x7c60
+ st_size: 330
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 37
+ st_name: elf32_checksum
+ st_value: 0x44e0
+ st_size: 10
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 38
+ st_name: gelf_getmove
+ st_value: 0x4010
+ st_size: 404
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 39
+ st_name: elf_flagscn
+ st_value: 0x8d10
+ st_size: 68
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 40
+ st_name: elf_rawdata
+ st_value: 0x7e90
+ st_size: 360
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 41
+ st_name: elf_rawfile
+ st_value: 0x6120
+ st_size: 74
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 42
+ st_name: elf_flagelf
+ st_value: 0x8bd0
+ st_size: 116
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 43
+ st_name: strlcat
+ st_value: 0
+ st_size: 123
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 44
+ st_name: elf_getident
+ st_value: 0x6310
+ st_size: 202
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 45
+ st_name: elf_flagdata
+ st_value: 0x8b70
+ st_size: 92
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 46
+ st_name: elf64_xlatetof
+ st_value: 0x2bb0
+ st_size: 13
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 47
+ st_name: gelf_checksum
+ st_value: 0x44a0
+ st_size: 40
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 48
+ st_name: gelf_getehdr
+ st_value: 0x7870
+ st_size: 279
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 49
+ st_name: _libelf_get_no_error_message
+ st_value: 0x6520
+ st_size: 11
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 50
+ st_name: __cxa_finalize
+ st_value: 0
+ st_size: 305
+ st_info: STT_FUNC STB_WEAK
+ st_shndx: 0
+
+entry: 51
+ st_name: elf_begin
+ st_value: 0x6690
+ st_size: 483
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 52
+ st_name: gelf_getrela
+ st_value: 0x3600
+ st_size: 388
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 53
+ st_name: FBSD_1.0
+ st_value: 0
+ st_size: 0
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 65521
+
+entry: 54
+ st_name: gelf_update_shdr
+ st_value: 0x7390
+ st_size: 371
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 55
+ st_name: elf64_getphdr
+ st_value: 0x3e40
+ st_size: 10
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 56
+ st_name: elf64_checksum
+ st_value: 0x44d0
+ st_size: 10
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 57
+ st_name: elf64_xlatetom
+ st_value: 0x2b90
+ st_size: 16
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 58
+ st_name: elf32_newehdr
+ st_value: 0x7690
+ st_size: 15
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 59
+ st_name: elf_hash
+ st_value: 0x14950
+ st_size: 70
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 60
+ st_name: __stack_chk_guard
+ st_value: 0
+ st_size: 64
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 0
+
+entry: 61
+ st_name: elf_getphnum
+ st_value: 0x60b0
+ st_size: 106
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 62
+ st_name: gelf_getcap
+ st_value: 0x4660
+ st_size: 345
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 63
+ st_name: elf64_newehdr
+ st_value: 0x7680
+ st_size: 15
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 64
+ st_name: strerror
+ st_value: 0
+ st_size: 48
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 65
+ st_name: elf32_getehdr
+ st_value: 0x76b0
+ st_size: 12
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 66
+ st_name: gelf_fsize
+ st_value: 0x13d00
+ st_size: 53
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 67
+ st_name: elf_getshstrndx
+ st_value: 0x5f40
+ st_size: 106
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 68
+ st_name: gelf_update_syminfo
+ st_value: 0x2e60
+ st_size: 329
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 69
+ st_name: gelf_getclass
+ st_value: 0x41b0
+ st_size: 12
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 70
+ st_name: gelf_update_move
+ st_value: 0x3e60
+ st_size: 419
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 71
+ st_name: elf_flagshdr
+ st_value: 0x8d60
+ st_size: 5
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 72
+ st_name: gelf_getsym
+ st_value: 0x32b0
+ st_size: 396
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 73
+ st_name: munmap
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 74
+ st_name: gelf_xlatetof
+ st_value: 0x2b20
+ st_size: 46
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 75
+ st_name: elf_nextscn
+ st_value: 0x7e50
+ st_size: 59
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 76
+ st_name: elf64_newphdr
+ st_value: 0x3c90
+ st_size: 13
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 77
+ st_name: strncpy
+ st_value: 0
+ st_size: 76
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 78
+ st_name: gelf_newehdr
+ st_value: 0x7650
+ st_size: 40
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 79
+ st_name: elf_getscn
+ st_value: 0x7db0
+ st_size: 157
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 80
+ st_name: gelf_getdyn
+ st_value: 0x4340
+ st_size: 346
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 81
+ st_name: elf_fill
+ st_value: 0x64c0
+ st_size: 11
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 82
+ st_name: gelf_update_rel
+ st_value: 0x3790
+ st_size: 396
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 83
+ st_name: gelf_newphdr
+ st_value: 0x3c60
+ st_size: 36
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 84
+ st_name: gelf_update_dyn
+ st_value: 0x41c0
+ st_size: 370
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 85
+ st_name: memset
+ st_value: 0
+ st_size: 84
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 86
+ st_name: elf_getdata
+ st_value: 0x8000
+ st_size: 766
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 87
+ st_name: elf_flagarhdr
+ st_value: 0x8b20
+ st_size: 68
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 88
+ st_name: mmap
+ st_value: 0
+ st_size: 190
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 89
+ st_name: __error
+ st_value: 0
+ st_size: 8
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 90
+ st_name: __assert
+ st_value: 0
+ st_size: 88
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 91
+ st_name: elf_version
+ st_value: 0x47c0
+ st_size: 54
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 92
+ st_name: lseek
+ st_value: 0
+ st_size: 103
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 93
+ st_name: gelf_xlatetom
+ st_value: 0x2b50
+ st_size: 49
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 94
+ st_name: elf64_fsize
+ st_value: 0x13d40
+ st_size: 13
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 95
+ st_name: elf_newdata
+ st_value: 0x8300
+ st_size: 229
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 96
+ st_name: elf32_xlatetof
+ st_value: 0x2bc0
+ st_size: 13
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 97
+ st_name: elf_setshstrndx
+ st_value: 0x5fb0
+ st_size: 135
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 98
+ st_name: gelf_getsymshndx
+ st_value: 0x2d10
+ st_size: 328
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 99
+ st_name: gelf_update_rela
+ st_value: 0x3440
+ st_size: 441
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 100
+ st_name: ftruncate
+ st_value: 0
+ st_size: 81
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 101
+ st_name: _libelf_get_max_error
+ st_value: 0x64f0
+ st_size: 6
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 102
+ st_name: _libelf_get_unknown_error_message
+ st_value: 0x6510
+ st_size: 12
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 103
+ st_name: calloc
+ st_value: 0
+ st_size: 330
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 104
+ st_name: FBSDprivate_1.0
+ st_value: 0
+ st_size: 0
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 65521
+
+entry: 105
+ st_name: elf32_getshdr
+ st_value: 0x7520
+ st_size: 10
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 106
+ st_name: elf_end
+ st_value: 0x83f0
+ st_size: 298
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 107
+ st_name: elf32_fsize
+ st_value: 0x13d50
+ st_size: 13
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 108
+ st_name: elf_rand
+ st_value: 0x6170
+ st_size: 97
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 109
+ st_name: elf_next
+ st_value: 0x61e0
+ st_size: 267
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 110
+ st_name: gelf_getshdr
+ st_value: 0x7530
+ st_size: 281
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 111
+ st_name: gelf_getphdr
+ st_value: 0x3cb0
+ st_size: 397
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 112
+ st_name: elf64_getshdr
+ st_value: 0x7510
+ st_size: 10
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 113
+ st_name: gelf_update_sym
+ st_value: 0x3110
+ st_size: 416
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 114
+ st_name: elf_errmsg
+ st_value: 0x6530
+ st_size: 226
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 115
+ st_name: elf32_xlatetom
+ st_value: 0x2ba0
+ st_size: 16
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 116
+ st_name: _libelf_set_error
+ st_value: 0x6500
+ st_size: 11
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 117
+ st_name: gelf_getrel
+ st_value: 0x3920
+ st_size: 360
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 118
+ st_name: elf_getshnum
+ st_value: 0x6040
+ st_size: 106
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 119
+ st_name: malloc
+ st_value: 0
+ st_size: 175
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 120
+ st_name: elf64_getehdr
+ st_value: 0x76a0
+ st_size: 12
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 121
+ st_name: elf_getarsym
+ st_value: 0x6410
+ st_size: 127
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 122
+ st_name: memcpy
+ st_value: 0
+ st_size: 74
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 123
+ st_name: elf_errno
+ st_value: 0x64d0
+ st_size: 23
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 124
+ st_name: free
+ st_value: 0
+ st_size: 118
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 125
+ st_name: gelf_update_symshndx
+ st_value: 0x2bd0
+ st_size: 316
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 126
+ st_name: elf_ndxscn
+ st_value: 0x7990
+ st_size: 33
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 127
+ st_name: elf_flagphdr
+ st_value: 0x8cb0
+ st_size: 89
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 128
+ st_name: gelf_update_ehdr
+ st_value: 0x76c0
+ st_size: 428
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 129
+ st_name: __stack_chk_fail
+ st_value: 0
+ st_size: 12
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 130
+ st_name: gelf_update_phdr
+ st_value: 0x3a90
+ st_size: 449
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 131
+ st_name: elf_getbase
+ st_value: 0x63e0
+ st_size: 45
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 132
+ st_name: elf_getarhdr
+ st_value: 0x6490
+ st_size: 38
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 133
+ st_name: gelf_update_cap
+ st_value: 0x44f0
+ st_size: 364
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 134
+ st_name: elf_cntl
+ st_value: 0x6620
+ st_size: 104
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 135
+ st_name: elf_memory
+ st_value: 0x147c0
+ st_size: 390
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 136
+ st_name: elf_kind
+ st_value: 0x62f0
+ st_size: 22
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 137
+ st_name: elf32_getphdr
+ st_value: 0x3e50
+ st_size: 10
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 138
+ st_name: elf_flagehdr
+ st_value: 0x8c50
+ st_size: 89
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 139
+ st_name: _Jv_RegisterClasses
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_WEAK
+ st_shndx: 0
+
+entry: 140
+ st_name: elf32_newphdr
+ st_value: 0x3ca0
+ st_size: 13
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 141
+ st_name: elf_update
+ st_value: 0x4800
+ st_size: 5584
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 142
+ st_name: fstat
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 143
+ st_name: strlcpy
+ st_value: 0
+ st_size: 74
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
diff --git a/test/elfdump/ts/dso1/@d%libelf.so.err b/test/elfdump/ts/dso1/@d%libelf.so.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso1/@d%libelf.so.err
diff --git a/test/elfdump/ts/dso1/@d%libelf.so.out b/test/elfdump/ts/dso1/@d%libelf.so.out
new file mode 100644
index 0000000000000..6e6d908a8fc1a
--- /dev/null
+++ b/test/elfdump/ts/dso1/@d%libelf.so.out
@@ -0,0 +1,105 @@
+
+dynamic:
+
+entry: 0
+ d_tag: DT_NEEDED
+ d_val: libc.so.7
+
+entry: 1
+ d_tag: DT_SONAME
+ d_val: libelf.so.1
+
+entry: 2
+ d_tag: DT_INIT
+ d_ptr: 0x2828
+
+entry: 3
+ d_tag: DT_FINI
+ d_ptr: 0x14ec8
+
+entry: 4
+ d_tag: DT_HASH
+ d_ptr: 0x120
+
+entry: 5
+ d_tag: DT_STRTAB
+ d_ptr: 0x12f8
+
+entry: 6
+ d_tag: DT_SYMTAB
+ d_ptr: 0x578
+
+entry: 7
+ d_tag: DT_STRSZ
+ d_val: 1457
+
+entry: 8
+ d_tag: DT_SYMENT
+ d_val: 24
+
+entry: 9
+ d_tag: DT_PLTGOT
+ d_ptr: 0x1183e0
+
+entry: 10
+ d_tag: DT_PLTRELSZ
+ d_val: 888
+
+entry: 11
+ d_tag: DT_PLTREL
+ d_val: 7
+
+entry: 12
+ d_tag: DT_JMPREL
+ d_ptr: 0x24b0
+
+entry: 13
+ d_tag: DT_RELA
+ d_val: 6728
+
+entry: 14
+ d_tag: DT_RELASZ
+ d_val: 2664
+
+entry: 15
+ d_tag: DT_RELAENT
+ d_val: 24
+
+entry: 16
+ d_tag: DT_VERDEF
+ d_val: 6608
+
+entry: 17
+ d_tag: DT_VERDEFNUM
+ d_val: 3
+
+entry: 18
+ d_tag: DT_VERNEED
+ d_val: 6696
+
+entry: 19
+ d_tag: DT_VERNEEDNUM
+ d_val: 1
+
+entry: 20
+ d_tag: DT_GNU_VERSYM
+ d_val: 6314
+
+entry: 21
+ d_tag: DT_RELACOUNT
+ d_val: 106
+
+entry: 22
+ d_tag: DT_NULL
+
+entry: 23
+ d_tag: DT_NULL
+
+entry: 24
+ d_tag: DT_NULL
+
+entry: 25
+ d_tag: DT_NULL
+
+entry: 26
+ d_tag: DT_NULL
diff --git a/test/elfdump/ts/dso1/@e%libelf.so.err b/test/elfdump/ts/dso1/@e%libelf.so.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso1/@e%libelf.so.err
diff --git a/test/elfdump/ts/dso1/@e%libelf.so.out b/test/elfdump/ts/dso1/@e%libelf.so.out
new file mode 100644
index 0000000000000..1de9ed878de1a
--- /dev/null
+++ b/test/elfdump/ts/dso1/@e%libelf.so.out
@@ -0,0 +1,17 @@
+
+elf header:
+
+ e_ident: ELFCLASS64 ELFDATA2LSB ELFOSABI_FREEBSD
+ e_type: ET_DYN
+ e_machine: EM_X86_64
+ e_version: EV_CURRENT
+ e_entry: 0x2aa0
+ e_phoff: 64
+ e_shoff: 104816
+ e_flags: 0
+ e_ehsize: 64
+ e_phentsize: 56
+ e_phnum: 4
+ e_shentsize: 64
+ e_shnum: 25
+ e_shstrndx: 24
diff --git a/test/elfdump/ts/dso1/@e@i%libelf.so.err b/test/elfdump/ts/dso1/@e@i%libelf.so.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso1/@e@i%libelf.so.err
diff --git a/test/elfdump/ts/dso1/@e@i%libelf.so.out b/test/elfdump/ts/dso1/@e@i%libelf.so.out
new file mode 100644
index 0000000000000..1de9ed878de1a
--- /dev/null
+++ b/test/elfdump/ts/dso1/@e@i%libelf.so.out
@@ -0,0 +1,17 @@
+
+elf header:
+
+ e_ident: ELFCLASS64 ELFDATA2LSB ELFOSABI_FREEBSD
+ e_type: ET_DYN
+ e_machine: EM_X86_64
+ e_version: EV_CURRENT
+ e_entry: 0x2aa0
+ e_phoff: 64
+ e_shoff: 104816
+ e_flags: 0
+ e_ehsize: 64
+ e_phentsize: 56
+ e_phnum: 4
+ e_shentsize: 64
+ e_shnum: 25
+ e_shstrndx: 24
diff --git a/test/elfdump/ts/dso1/@e@p@c%libelf.so.err b/test/elfdump/ts/dso1/@e@p@c%libelf.so.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso1/@e@p@c%libelf.so.err
diff --git a/test/elfdump/ts/dso1/@e@p@c%libelf.so.out b/test/elfdump/ts/dso1/@e@p@c%libelf.so.out
new file mode 100644
index 0000000000000..3c256c7952e3e
--- /dev/null
+++ b/test/elfdump/ts/dso1/@e@p@c%libelf.so.out
@@ -0,0 +1,361 @@
+
+elf header:
+
+ e_ident: ELFCLASS64 ELFDATA2LSB ELFOSABI_FREEBSD
+ e_type: ET_DYN
+ e_machine: EM_X86_64
+ e_version: EV_CURRENT
+ e_entry: 0x2aa0
+ e_phoff: 64
+ e_shoff: 104816
+ e_flags: 0
+ e_ehsize: 64
+ e_phentsize: 56
+ e_phnum: 4
+ e_shentsize: 64
+ e_shnum: 25
+ e_shstrndx: 24
+
+program header:
+
+entry: 0
+ p_type: PT_LOAD
+ p_offset: 0
+ p_vaddr: 0
+ p_paddr: 0
+ p_filesz: 90388
+ p_memsz: 90388
+ p_flags: PF_X|PF_R
+ p_align: 1048576
+
+entry: 1
+ p_type: PT_LOAD
+ p_offset: 90400
+ p_vaddr: 0x116120
+ p_paddr: 0x116120
+ p_filesz: 9272
+ p_memsz: 9280
+ p_flags: PF_W|PF_R
+ p_align: 1048576
+
+entry: 2
+ p_type: PT_DYNAMIC
+ p_offset: 98824
+ p_vaddr: 0x118208
+ p_paddr: 0x118208
+ p_filesz: 432
+ p_memsz: 432
+ p_flags: PF_W|PF_R
+ p_align: 8
+
+entry: 3
+ p_type: PT_NULL
+ p_offset: 90380
+ p_vaddr: 0x1610c
+ p_paddr: 0x1610c
+ p_filesz: 8
+ p_memsz: 8
+ p_flags: PF_R
+ p_align: 4
+
+section header:
+
+entry: 0
+ sh_name:
+ sh_type: SHT_NULL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 0
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 0
+ sh_entsize: 0
+
+entry: 1
+ sh_name: .hash
+ sh_type: SHT_HASH
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x120
+ sh_offset: 288
+ sh_size: 1108
+ sh_link: 2
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 4
+
+entry: 2
+ sh_name: .dynsym
+ sh_type: SHT_DYNSYM
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x578
+ sh_offset: 1400
+ sh_size: 3456
+ sh_link: 3
+ sh_info: 33
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 3
+ sh_name: .dynstr
+ sh_type: SHT_STRTAB
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x12f8
+ sh_offset: 4856
+ sh_size: 1457
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 4
+ sh_name: .gnu.version
+ sh_type: SHT_SUNW(GNU)_versym
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x18aa
+ sh_offset: 6314
+ sh_size: 288
+ sh_link: 2
+ sh_info: 0
+ sh_addralign: 2
+ sh_entsize: 2
+
+entry: 5
+ sh_name: .gnu.version_d
+ sh_type: SHT_SUNW(GNU)_verdef
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x19d0
+ sh_offset: 6608
+ sh_size: 84
+ sh_link: 3
+ sh_info: 3
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 6
+ sh_name: .gnu.version_r
+ sh_type: SHT_SUNW(GNU)_verneed
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x1a28
+ sh_offset: 6696
+ sh_size: 32
+ sh_link: 3
+ sh_info: 1
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 7
+ sh_name: .rela.dyn
+ sh_type: SHT_RELA
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x1a48
+ sh_offset: 6728
+ sh_size: 2664
+ sh_link: 2
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 8
+ sh_name: .rela.plt
+ sh_type: SHT_RELA
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x24b0
+ sh_offset: 9392
+ sh_size: 888
+ sh_link: 2
+ sh_info: 10
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 9
+ sh_name: .init
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x2828
+ sh_offset: 10280
+ sh_size: 19
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 10
+ sh_name: .plt
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x283c
+ sh_offset: 10300
+ sh_size: 608
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 16
+
+entry: 11
+ sh_name: .text
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x2aa0
+ sh_offset: 10912
+ sh_size: 74792
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 12
+ sh_name: .fini
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x14ec8
+ sh_offset: 85704
+ sh_size: 14
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 13
+ sh_name: .rodata
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x14ee0
+ sh_offset: 85728
+ sh_size: 4650
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 32
+ sh_entsize: 0
+
+entry: 14
+ sh_name: .eh_frame_hdr
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x1610c
+ sh_offset: 90380
+ sh_size: 8
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 15
+ sh_name: .data
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x116120
+ sh_offset: 90400
+ sh_size: 1208
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 32
+ sh_entsize: 0
+
+entry: 16
+ sh_name: .eh_frame
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x1165d8
+ sh_offset: 91608
+ sh_size: 7216
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 17
+ sh_name: .dynamic
+ sh_type: SHT_DYNAMIC
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x118208
+ sh_offset: 98824
+ sh_size: 432
+ sh_link: 3
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 16
+
+entry: 18
+ sh_name: .ctors
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x1183b8
+ sh_offset: 99256
+ sh_size: 16
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 19
+ sh_name: .dtors
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x1183c8
+ sh_offset: 99272
+ sh_size: 16
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 20
+ sh_name: .jcr
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x1183d8
+ sh_offset: 99288
+ sh_size: 8
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 21
+ sh_name: .got
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x1183e0
+ sh_offset: 99296
+ sh_size: 376
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 8
+
+entry: 22
+ sh_name: .bss
+ sh_type: SHT_NOBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x118558
+ sh_offset: 99672
+ sh_size: 8
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 23
+ sh_name: .comment
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 99672
+ sh_size: 4945
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 24
+ sh_name: .shstrtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 104617
+ sh_size: 199
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
diff --git a/test/elfdump/ts/dso1/@h%libelf.so.err b/test/elfdump/ts/dso1/@h%libelf.so.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso1/@h%libelf.so.err
diff --git a/test/elfdump/ts/dso1/@h%libelf.so.out b/test/elfdump/ts/dso1/@h%libelf.so.out
new file mode 100644
index 0000000000000..793ce27d23f93
--- /dev/null
+++ b/test/elfdump/ts/dso1/@h%libelf.so.out
@@ -0,0 +1,831 @@
+
+hash table (.hash):
+
+nbucket: 131
+nchain: 144
+
+bucket[0]:
+ 0
+
+bucket[1]:
+ 138
+
+bucket[2]:
+ 0
+
+bucket[3]:
+ 93
+
+bucket[4]:
+ 77
+
+bucket[5]:
+ 96
+
+bucket[6]:
+ 89
+
+bucket[7]:
+ 0
+
+bucket[8]:
+ 80
+
+bucket[9]:
+ 40
+
+bucket[10]:
+ 120
+
+bucket[11]:
+ 0
+
+bucket[12]:
+ 133
+
+bucket[13]:
+ 116
+
+bucket[14]:
+ 0
+
+bucket[15]:
+ 0
+
+bucket[16]:
+ 123
+
+bucket[17]:
+ 0
+
+bucket[18]:
+ 124
+
+bucket[19]:
+ 119
+
+bucket[20]:
+ 57
+
+bucket[21]:
+ 128
+
+bucket[22]:
+ 108
+
+bucket[23]:
+ 142
+
+bucket[24]:
+ 105
+
+bucket[25]:
+ 36
+
+bucket[26]:
+ 134
+
+bucket[27]:
+ 0
+
+bucket[28]:
+ 122
+
+bucket[29]:
+ 0
+
+bucket[30]:
+ 83
+
+bucket[31]:
+ 0
+
+bucket[32]:
+ 102
+
+bucket[33]:
+ 0
+
+bucket[34]:
+ 0
+
+bucket[35]:
+ 112
+
+bucket[36]:
+ 55
+
+bucket[37]:
+ 126
+
+bucket[38]:
+ 78
+
+bucket[39]:
+ 0
+
+bucket[40]:
+ 0
+
+bucket[41]:
+ 75
+
+bucket[42]:
+ 69
+
+bucket[43]:
+ 0
+
+bucket[44]:
+ 43
+
+bucket[45]:
+ 0
+
+bucket[46]:
+ 52
+
+bucket[47]:
+ 0
+
+bucket[48]:
+ 114
+
+bucket[49]:
+ 0
+
+bucket[50]:
+ 67
+
+bucket[51]:
+ 81
+
+bucket[52]:
+ 38
+
+bucket[53]:
+ 0
+
+bucket[54]:
+ 0
+
+bucket[55]:
+ 0
+
+bucket[56]:
+ 0
+
+bucket[57]:
+ 0
+
+bucket[58]:
+ 0
+
+bucket[59]:
+ 0
+
+bucket[60]:
+ 0
+
+bucket[61]:
+ 0
+
+bucket[62]:
+ 37
+
+bucket[63]:
+ 0
+
+bucket[64]:
+ 64
+
+bucket[65]:
+ 143
+
+bucket[66]:
+ 0
+
+bucket[67]:
+ 101
+
+bucket[68]:
+ 73
+
+bucket[69]:
+ 0
+
+bucket[70]:
+ 0
+
+bucket[71]:
+ 0
+
+bucket[72]:
+ 0
+
+bucket[73]:
+ 0
+
+bucket[74]:
+ 0
+
+bucket[75]:
+ 0
+
+bucket[76]:
+ 0
+
+bucket[77]:
+ 0
+
+bucket[78]:
+ 60
+
+bucket[79]:
+ 0
+
+bucket[80]:
+ 59
+
+bucket[81]:
+ 0
+
+bucket[82]:
+ 34
+
+bucket[83]:
+ 121
+
+bucket[84]:
+ 0
+
+bucket[85]:
+ 71
+
+bucket[86]:
+ 0
+
+bucket[87]:
+ 63
+
+bucket[88]:
+ 0
+
+bucket[89]:
+ 84
+
+bucket[90]:
+ 0
+
+bucket[91]:
+ 0
+
+bucket[92]:
+ 0
+
+bucket[93]:
+ 99
+
+bucket[94]:
+ 42
+
+bucket[95]:
+ 50
+
+bucket[96]:
+ 0
+
+bucket[97]:
+ 0
+
+bucket[98]:
+ 129
+
+bucket[99]:
+ 117
+
+bucket[100]:
+ 45
+
+bucket[101]:
+ 47
+
+bucket[102]:
+ 0
+
+bucket[103]:
+ 141
+
+bucket[104]:
+ 139
+
+bucket[105]:
+ 0
+
+bucket[106]:
+ 130
+
+bucket[107]:
+ 56
+
+bucket[108]:
+ 113
+
+bucket[109]:
+ 88
+
+bucket[110]:
+ 70
+
+bucket[111]:
+ 0
+
+bucket[112]:
+ 0
+
+bucket[113]:
+ 140
+
+bucket[114]:
+ 54
+
+bucket[115]:
+ 0
+
+bucket[116]:
+ 111
+
+bucket[117]:
+ 0
+
+bucket[118]:
+ 0
+
+bucket[119]:
+ 0
+
+bucket[120]:
+ 135
+
+bucket[121]:
+ 65
+
+bucket[122]:
+ 136
+
+bucket[123]:
+ 0
+
+bucket[124]:
+ 118
+
+bucket[125]:
+ 132
+
+bucket[126]:
+ 100
+
+bucket[127]:
+ 74
+
+bucket[128]:
+ 86
+
+bucket[129]:
+ 127
+
+bucket[130]:
+ 0
+
+chain[0]:
+ 0
+
+chain[1]:
+ 0
+
+chain[2]:
+ 0
+
+chain[3]:
+ 0
+
+chain[4]:
+ 0
+
+chain[5]:
+ 0
+
+chain[6]:
+ 0
+
+chain[7]:
+ 0
+
+chain[8]:
+ 0
+
+chain[9]:
+ 0
+
+chain[10]:
+ 0
+
+chain[11]:
+ 0
+
+chain[12]:
+ 0
+
+chain[13]:
+ 0
+
+chain[14]:
+ 0
+
+chain[15]:
+ 0
+
+chain[16]:
+ 0
+
+chain[17]:
+ 0
+
+chain[18]:
+ 0
+
+chain[19]:
+ 0
+
+chain[20]:
+ 0
+
+chain[21]:
+ 0
+
+chain[22]:
+ 0
+
+chain[23]:
+ 0
+
+chain[24]:
+ 0
+
+chain[25]:
+ 0
+
+chain[26]:
+ 0
+
+chain[27]:
+ 0
+
+chain[28]:
+ 0
+
+chain[29]:
+ 0
+
+chain[30]:
+ 0
+
+chain[31]:
+ 0
+
+chain[32]:
+ 0
+
+chain[33]:
+ 0
+
+chain[34]:
+ 0
+
+chain[35]:
+ 0
+
+chain[36]:
+ 0
+
+chain[37]:
+ 0
+
+chain[38]:
+ 0
+
+chain[39]:
+ 0
+
+chain[40]:
+ 0
+
+chain[41]:
+ 39
+
+chain[42]:
+ 0
+
+chain[43]:
+ 0
+
+chain[44]:
+ 0
+
+chain[45]:
+ 0
+
+chain[46]:
+ 0
+
+chain[47]:
+ 0
+
+chain[48]:
+ 0
+
+chain[49]:
+ 0
+
+chain[50]:
+ 41
+
+chain[51]:
+ 0
+
+chain[52]:
+ 0
+
+chain[53]:
+ 0
+
+chain[54]:
+ 0
+
+chain[55]:
+ 0
+
+chain[56]:
+ 0
+
+chain[57]:
+ 0
+
+chain[58]:
+ 0
+
+chain[59]:
+ 33
+
+chain[60]:
+ 0
+
+chain[61]:
+ 0
+
+chain[62]:
+ 0
+
+chain[63]:
+ 0
+
+chain[64]:
+ 0
+
+chain[65]:
+ 0
+
+chain[66]:
+ 0
+
+chain[67]:
+ 0
+
+chain[68]:
+ 0
+
+chain[69]:
+ 0
+
+chain[70]:
+ 0
+
+chain[71]:
+ 0
+
+chain[72]:
+ 0
+
+chain[73]:
+ 51
+
+chain[74]:
+ 0
+
+chain[75]:
+ 0
+
+chain[76]:
+ 0
+
+chain[77]:
+ 0
+
+chain[78]:
+ 35
+
+chain[79]:
+ 0
+
+chain[80]:
+ 0
+
+chain[81]:
+ 44
+
+chain[82]:
+ 0
+
+chain[83]:
+ 0
+
+chain[84]:
+ 0
+
+chain[85]:
+ 46
+
+chain[86]:
+ 0
+
+chain[87]:
+ 85
+
+chain[88]:
+ 0
+
+chain[89]:
+ 0
+
+chain[90]:
+ 0
+
+chain[91]:
+ 0
+
+chain[92]:
+ 0
+
+chain[93]:
+ 61
+
+chain[94]:
+ 0
+
+chain[95]:
+ 0
+
+chain[96]:
+ 0
+
+chain[97]:
+ 0
+
+chain[98]:
+ 0
+
+chain[99]:
+ 0
+
+chain[100]:
+ 76
+
+chain[101]:
+ 58
+
+chain[102]:
+ 66
+
+chain[103]:
+ 0
+
+chain[104]:
+ 0
+
+chain[105]:
+ 0
+
+chain[106]:
+ 72
+
+chain[107]:
+ 0
+
+chain[108]:
+ 68
+
+chain[109]:
+ 90
+
+chain[110]:
+ 0
+
+chain[111]:
+ 0
+
+chain[112]:
+ 0
+
+chain[113]:
+ 0
+
+chain[114]:
+ 106
+
+chain[115]:
+ 97
+
+chain[116]:
+ 87
+
+chain[117]:
+ 110
+
+chain[118]:
+ 48
+
+chain[119]:
+ 0
+
+chain[120]:
+ 95
+
+chain[121]:
+ 0
+
+chain[122]:
+ 82
+
+chain[123]:
+ 109
+
+chain[124]:
+ 0
+
+chain[125]:
+ 103
+
+chain[126]:
+ 104
+
+chain[127]:
+ 62
+
+chain[128]:
+ 0
+
+chain[129]:
+ 79
+
+chain[130]:
+ 0
+
+chain[131]:
+ 125
+
+chain[132]:
+ 0
+
+chain[133]:
+ 115
+
+chain[134]:
+ 0
+
+chain[135]:
+ 98
+
+chain[136]:
+ 92
+
+chain[137]:
+ 131
+
+chain[138]:
+ 49
+
+chain[139]:
+ 107
+
+chain[140]:
+ 94
+
+chain[141]:
+ 91
+
+chain[142]:
+ 137
+
+chain[143]:
+ 53
+
diff --git a/test/elfdump/ts/dso1/@n%libelf.so.err b/test/elfdump/ts/dso1/@n%libelf.so.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso1/@n%libelf.so.err
diff --git a/test/elfdump/ts/dso1/@n%libelf.so.out b/test/elfdump/ts/dso1/@n%libelf.so.out
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso1/@n%libelf.so.out
diff --git a/test/elfdump/ts/dso1/@p%libelf.so.err b/test/elfdump/ts/dso1/@p%libelf.so.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso1/@p%libelf.so.err
diff --git a/test/elfdump/ts/dso1/@p%libelf.so.out b/test/elfdump/ts/dso1/@p%libelf.so.out
new file mode 100644
index 0000000000000..a2275262f57d5
--- /dev/null
+++ b/test/elfdump/ts/dso1/@p%libelf.so.out
@@ -0,0 +1,42 @@
+
+program header:
+
+entry: 0
+ p_type: PT_LOAD
+ p_offset: 0
+ p_vaddr: 0
+ p_paddr: 0
+ p_filesz: 90388
+ p_memsz: 90388
+ p_flags: PF_X|PF_R
+ p_align: 1048576
+
+entry: 1
+ p_type: PT_LOAD
+ p_offset: 90400
+ p_vaddr: 0x116120
+ p_paddr: 0x116120
+ p_filesz: 9272
+ p_memsz: 9280
+ p_flags: PF_W|PF_R
+ p_align: 1048576
+
+entry: 2
+ p_type: PT_DYNAMIC
+ p_offset: 98824
+ p_vaddr: 0x118208
+ p_paddr: 0x118208
+ p_filesz: 432
+ p_memsz: 432
+ p_flags: PF_W|PF_R
+ p_align: 8
+
+entry: 3
+ p_type: PT_NULL
+ p_offset: 90380
+ p_vaddr: 0x1610c
+ p_paddr: 0x1610c
+ p_filesz: 8
+ p_memsz: 8
+ p_flags: PF_R
+ p_align: 4
diff --git a/test/elfdump/ts/dso1/@p@s%libelf.so.err b/test/elfdump/ts/dso1/@p@s%libelf.so.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso1/@p@s%libelf.so.err
diff --git a/test/elfdump/ts/dso1/@p@s%libelf.so.out b/test/elfdump/ts/dso1/@p@s%libelf.so.out
new file mode 100644
index 0000000000000..f788b8fcb2333
--- /dev/null
+++ b/test/elfdump/ts/dso1/@p@s%libelf.so.out
@@ -0,0 +1,1052 @@
+
+program header:
+
+entry: 0
+ p_type: PT_LOAD
+ p_offset: 0
+ p_vaddr: 0
+ p_paddr: 0
+ p_filesz: 90388
+ p_memsz: 90388
+ p_flags: PF_X|PF_R
+ p_align: 1048576
+
+entry: 1
+ p_type: PT_LOAD
+ p_offset: 90400
+ p_vaddr: 0x116120
+ p_paddr: 0x116120
+ p_filesz: 9272
+ p_memsz: 9280
+ p_flags: PF_W|PF_R
+ p_align: 1048576
+
+entry: 2
+ p_type: PT_DYNAMIC
+ p_offset: 98824
+ p_vaddr: 0x118208
+ p_paddr: 0x118208
+ p_filesz: 432
+ p_memsz: 432
+ p_flags: PF_W|PF_R
+ p_align: 8
+
+entry: 3
+ p_type: PT_NULL
+ p_offset: 90380
+ p_vaddr: 0x1610c
+ p_paddr: 0x1610c
+ p_filesz: 8
+ p_memsz: 8
+ p_flags: PF_R
+ p_align: 4
+
+symbol table (.dynsym):
+
+entry: 0
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_LOCAL
+ st_shndx: 0
+
+entry: 1
+ st_name:
+ st_value: 0x120
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 1
+
+entry: 2
+ st_name:
+ st_value: 0x578
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 2
+
+entry: 3
+ st_name:
+ st_value: 0x12f8
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 3
+
+entry: 4
+ st_name:
+ st_value: 0x18aa
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 4
+
+entry: 5
+ st_name:
+ st_value: 0x19d0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 5
+
+entry: 6
+ st_name:
+ st_value: 0x1a28
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 6
+
+entry: 7
+ st_name:
+ st_value: 0x1a48
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 7
+
+entry: 8
+ st_name:
+ st_value: 0x24b0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 8
+
+entry: 9
+ st_name:
+ st_value: 0x2828
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 9
+
+entry: 10
+ st_name:
+ st_value: 0x283c
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 10
+
+entry: 11
+ st_name:
+ st_value: 0x2aa0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 11
+
+entry: 12
+ st_name:
+ st_value: 0x14ec8
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 12
+
+entry: 13
+ st_name:
+ st_value: 0x14ee0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 13
+
+entry: 14
+ st_name:
+ st_value: 0x1610c
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 14
+
+entry: 15
+ st_name:
+ st_value: 0x116120
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 15
+
+entry: 16
+ st_name:
+ st_value: 0x1165d8
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 16
+
+entry: 17
+ st_name:
+ st_value: 0x118208
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 17
+
+entry: 18
+ st_name:
+ st_value: 0x1183b8
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 18
+
+entry: 19
+ st_name:
+ st_value: 0x1183c8
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 19
+
+entry: 20
+ st_name:
+ st_value: 0x1183d8
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 20
+
+entry: 21
+ st_name:
+ st_value: 0x1183e0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 21
+
+entry: 22
+ st_name:
+ st_value: 0x118558
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 22
+
+entry: 23
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 23
+
+entry: 24
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 24
+
+entry: 25
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 25
+
+entry: 26
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 26
+
+entry: 27
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 27
+
+entry: 28
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 28
+
+entry: 29
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 29
+
+entry: 30
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 30
+
+entry: 31
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 31
+
+entry: 32
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 32
+
+entry: 33
+ st_name: gelf_getsyminfo
+ st_value: 0x2fb0
+ st_size: 346
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 34
+ st_name: elf_strptr
+ st_value: 0x5dd0
+ st_size: 361
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 35
+ st_name: write
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 36
+ st_name: elf_newscn
+ st_value: 0x7c60
+ st_size: 330
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 37
+ st_name: elf32_checksum
+ st_value: 0x44e0
+ st_size: 10
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 38
+ st_name: gelf_getmove
+ st_value: 0x4010
+ st_size: 404
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 39
+ st_name: elf_flagscn
+ st_value: 0x8d10
+ st_size: 68
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 40
+ st_name: elf_rawdata
+ st_value: 0x7e90
+ st_size: 360
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 41
+ st_name: elf_rawfile
+ st_value: 0x6120
+ st_size: 74
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 42
+ st_name: elf_flagelf
+ st_value: 0x8bd0
+ st_size: 116
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 43
+ st_name: strlcat
+ st_value: 0
+ st_size: 123
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 44
+ st_name: elf_getident
+ st_value: 0x6310
+ st_size: 202
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 45
+ st_name: elf_flagdata
+ st_value: 0x8b70
+ st_size: 92
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 46
+ st_name: elf64_xlatetof
+ st_value: 0x2bb0
+ st_size: 13
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 47
+ st_name: gelf_checksum
+ st_value: 0x44a0
+ st_size: 40
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 48
+ st_name: gelf_getehdr
+ st_value: 0x7870
+ st_size: 279
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 49
+ st_name: _libelf_get_no_error_message
+ st_value: 0x6520
+ st_size: 11
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 50
+ st_name: __cxa_finalize
+ st_value: 0
+ st_size: 305
+ st_info: STT_FUNC STB_WEAK
+ st_shndx: 0
+
+entry: 51
+ st_name: elf_begin
+ st_value: 0x6690
+ st_size: 483
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 52
+ st_name: gelf_getrela
+ st_value: 0x3600
+ st_size: 388
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 53
+ st_name: FBSD_1.0
+ st_value: 0
+ st_size: 0
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 65521
+
+entry: 54
+ st_name: gelf_update_shdr
+ st_value: 0x7390
+ st_size: 371
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 55
+ st_name: elf64_getphdr
+ st_value: 0x3e40
+ st_size: 10
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 56
+ st_name: elf64_checksum
+ st_value: 0x44d0
+ st_size: 10
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 57
+ st_name: elf64_xlatetom
+ st_value: 0x2b90
+ st_size: 16
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 58
+ st_name: elf32_newehdr
+ st_value: 0x7690
+ st_size: 15
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 59
+ st_name: elf_hash
+ st_value: 0x14950
+ st_size: 70
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 60
+ st_name: __stack_chk_guard
+ st_value: 0
+ st_size: 64
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 0
+
+entry: 61
+ st_name: elf_getphnum
+ st_value: 0x60b0
+ st_size: 106
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 62
+ st_name: gelf_getcap
+ st_value: 0x4660
+ st_size: 345
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 63
+ st_name: elf64_newehdr
+ st_value: 0x7680
+ st_size: 15
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 64
+ st_name: strerror
+ st_value: 0
+ st_size: 48
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 65
+ st_name: elf32_getehdr
+ st_value: 0x76b0
+ st_size: 12
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 66
+ st_name: gelf_fsize
+ st_value: 0x13d00
+ st_size: 53
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 67
+ st_name: elf_getshstrndx
+ st_value: 0x5f40
+ st_size: 106
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 68
+ st_name: gelf_update_syminfo
+ st_value: 0x2e60
+ st_size: 329
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 69
+ st_name: gelf_getclass
+ st_value: 0x41b0
+ st_size: 12
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 70
+ st_name: gelf_update_move
+ st_value: 0x3e60
+ st_size: 419
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 71
+ st_name: elf_flagshdr
+ st_value: 0x8d60
+ st_size: 5
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 72
+ st_name: gelf_getsym
+ st_value: 0x32b0
+ st_size: 396
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 73
+ st_name: munmap
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 74
+ st_name: gelf_xlatetof
+ st_value: 0x2b20
+ st_size: 46
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 75
+ st_name: elf_nextscn
+ st_value: 0x7e50
+ st_size: 59
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 76
+ st_name: elf64_newphdr
+ st_value: 0x3c90
+ st_size: 13
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 77
+ st_name: strncpy
+ st_value: 0
+ st_size: 76
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 78
+ st_name: gelf_newehdr
+ st_value: 0x7650
+ st_size: 40
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 79
+ st_name: elf_getscn
+ st_value: 0x7db0
+ st_size: 157
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 80
+ st_name: gelf_getdyn
+ st_value: 0x4340
+ st_size: 346
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 81
+ st_name: elf_fill
+ st_value: 0x64c0
+ st_size: 11
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 82
+ st_name: gelf_update_rel
+ st_value: 0x3790
+ st_size: 396
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 83
+ st_name: gelf_newphdr
+ st_value: 0x3c60
+ st_size: 36
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 84
+ st_name: gelf_update_dyn
+ st_value: 0x41c0
+ st_size: 370
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 85
+ st_name: memset
+ st_value: 0
+ st_size: 84
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 86
+ st_name: elf_getdata
+ st_value: 0x8000
+ st_size: 766
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 87
+ st_name: elf_flagarhdr
+ st_value: 0x8b20
+ st_size: 68
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 88
+ st_name: mmap
+ st_value: 0
+ st_size: 190
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 89
+ st_name: __error
+ st_value: 0
+ st_size: 8
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 90
+ st_name: __assert
+ st_value: 0
+ st_size: 88
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 91
+ st_name: elf_version
+ st_value: 0x47c0
+ st_size: 54
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 92
+ st_name: lseek
+ st_value: 0
+ st_size: 103
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 93
+ st_name: gelf_xlatetom
+ st_value: 0x2b50
+ st_size: 49
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 94
+ st_name: elf64_fsize
+ st_value: 0x13d40
+ st_size: 13
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 95
+ st_name: elf_newdata
+ st_value: 0x8300
+ st_size: 229
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 96
+ st_name: elf32_xlatetof
+ st_value: 0x2bc0
+ st_size: 13
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 97
+ st_name: elf_setshstrndx
+ st_value: 0x5fb0
+ st_size: 135
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 98
+ st_name: gelf_getsymshndx
+ st_value: 0x2d10
+ st_size: 328
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 99
+ st_name: gelf_update_rela
+ st_value: 0x3440
+ st_size: 441
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 100
+ st_name: ftruncate
+ st_value: 0
+ st_size: 81
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 101
+ st_name: _libelf_get_max_error
+ st_value: 0x64f0
+ st_size: 6
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 102
+ st_name: _libelf_get_unknown_error_message
+ st_value: 0x6510
+ st_size: 12
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 103
+ st_name: calloc
+ st_value: 0
+ st_size: 330
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 104
+ st_name: FBSDprivate_1.0
+ st_value: 0
+ st_size: 0
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 65521
+
+entry: 105
+ st_name: elf32_getshdr
+ st_value: 0x7520
+ st_size: 10
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 106
+ st_name: elf_end
+ st_value: 0x83f0
+ st_size: 298
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 107
+ st_name: elf32_fsize
+ st_value: 0x13d50
+ st_size: 13
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 108
+ st_name: elf_rand
+ st_value: 0x6170
+ st_size: 97
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 109
+ st_name: elf_next
+ st_value: 0x61e0
+ st_size: 267
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 110
+ st_name: gelf_getshdr
+ st_value: 0x7530
+ st_size: 281
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 111
+ st_name: gelf_getphdr
+ st_value: 0x3cb0
+ st_size: 397
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 112
+ st_name: elf64_getshdr
+ st_value: 0x7510
+ st_size: 10
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 113
+ st_name: gelf_update_sym
+ st_value: 0x3110
+ st_size: 416
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 114
+ st_name: elf_errmsg
+ st_value: 0x6530
+ st_size: 226
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 115
+ st_name: elf32_xlatetom
+ st_value: 0x2ba0
+ st_size: 16
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 116
+ st_name: _libelf_set_error
+ st_value: 0x6500
+ st_size: 11
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 117
+ st_name: gelf_getrel
+ st_value: 0x3920
+ st_size: 360
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 118
+ st_name: elf_getshnum
+ st_value: 0x6040
+ st_size: 106
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 119
+ st_name: malloc
+ st_value: 0
+ st_size: 175
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 120
+ st_name: elf64_getehdr
+ st_value: 0x76a0
+ st_size: 12
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 121
+ st_name: elf_getarsym
+ st_value: 0x6410
+ st_size: 127
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 122
+ st_name: memcpy
+ st_value: 0
+ st_size: 74
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 123
+ st_name: elf_errno
+ st_value: 0x64d0
+ st_size: 23
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 124
+ st_name: free
+ st_value: 0
+ st_size: 118
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 125
+ st_name: gelf_update_symshndx
+ st_value: 0x2bd0
+ st_size: 316
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 126
+ st_name: elf_ndxscn
+ st_value: 0x7990
+ st_size: 33
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 127
+ st_name: elf_flagphdr
+ st_value: 0x8cb0
+ st_size: 89
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 128
+ st_name: gelf_update_ehdr
+ st_value: 0x76c0
+ st_size: 428
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 129
+ st_name: __stack_chk_fail
+ st_value: 0
+ st_size: 12
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 130
+ st_name: gelf_update_phdr
+ st_value: 0x3a90
+ st_size: 449
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 131
+ st_name: elf_getbase
+ st_value: 0x63e0
+ st_size: 45
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 132
+ st_name: elf_getarhdr
+ st_value: 0x6490
+ st_size: 38
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 133
+ st_name: gelf_update_cap
+ st_value: 0x44f0
+ st_size: 364
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 134
+ st_name: elf_cntl
+ st_value: 0x6620
+ st_size: 104
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 135
+ st_name: elf_memory
+ st_value: 0x147c0
+ st_size: 390
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 136
+ st_name: elf_kind
+ st_value: 0x62f0
+ st_size: 22
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 137
+ st_name: elf32_getphdr
+ st_value: 0x3e50
+ st_size: 10
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 138
+ st_name: elf_flagehdr
+ st_value: 0x8c50
+ st_size: 89
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 139
+ st_name: _Jv_RegisterClasses
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_WEAK
+ st_shndx: 0
+
+entry: 140
+ st_name: elf32_newphdr
+ st_value: 0x3ca0
+ st_size: 13
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 141
+ st_name: elf_update
+ st_value: 0x4800
+ st_size: 5584
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 142
+ st_name: fstat
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 143
+ st_name: strlcpy
+ st_value: 0
+ st_size: 74
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
diff --git a/test/elfdump/ts/dso1/@r%libelf.so.err b/test/elfdump/ts/dso1/@r%libelf.so.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso1/@r%libelf.so.err
diff --git a/test/elfdump/ts/dso1/@r%libelf.so.out b/test/elfdump/ts/dso1/@r%libelf.so.out
new file mode 100644
index 0000000000000..8bb9837b4524a
--- /dev/null
+++ b/test/elfdump/ts/dso1/@r%libelf.so.out
@@ -0,0 +1,744 @@
+
+relocation with addend (.rela.dyn):
+
+entry: 0
+ r_offset: 0x116120
+ r_info: 0x8
+ r_addend: 1138976
+
+entry: 1
+ r_offset: 0x116128
+ r_info: 0x8
+ r_addend: 1147856
+
+entry: 2
+ r_offset: 0x116140
+ r_info: 0x8
+ r_addend: 87071
+
+entry: 3
+ r_offset: 0x116148
+ r_info: 0x8
+ r_addend: 87080
+
+entry: 4
+ r_offset: 0x116150
+ r_info: 0x8
+ r_addend: 87104
+
+entry: 5
+ r_offset: 0x116158
+ r_info: 0x8
+ r_addend: 87121
+
+entry: 6
+ r_offset: 0x116160
+ r_info: 0x8
+ r_addend: 87376
+
+entry: 7
+ r_offset: 0x116168
+ r_info: 0x8
+ r_addend: 87408
+
+entry: 8
+ r_offset: 0x116170
+ r_info: 0x8
+ r_addend: 87140
+
+entry: 9
+ r_offset: 0x116178
+ r_info: 0x8
+ r_addend: 87150
+
+entry: 10
+ r_offset: 0x116180
+ r_info: 0x8
+ r_addend: 87178
+
+entry: 11
+ r_offset: 0x116188
+ r_info: 0x8
+ r_addend: 87208
+
+entry: 12
+ r_offset: 0x116190
+ r_info: 0x8
+ r_addend: 87237
+
+entry: 13
+ r_offset: 0x116198
+ r_info: 0x8
+ r_addend: 87257
+
+entry: 14
+ r_offset: 0x1161a0
+ r_info: 0x8
+ r_addend: 87284
+
+entry: 15
+ r_offset: 0x1161a8
+ r_info: 0x8
+ r_addend: 87310
+
+entry: 16
+ r_offset: 0x1161b0
+ r_info: 0x8
+ r_addend: 87332
+
+entry: 17
+ r_offset: 0x1161b8
+ r_info: 0x8
+ r_addend: 87356
+
+entry: 18
+ r_offset: 0x1161c0
+ r_info: 0x8
+ r_addend: 60640
+
+entry: 19
+ r_offset: 0x1161c8
+ r_info: 0x8
+ r_addend: 60464
+
+entry: 20
+ r_offset: 0x1161d0
+ r_info: 0x8
+ r_addend: 60160
+
+entry: 21
+ r_offset: 0x1161d8
+ r_info: 0x8
+ r_addend: 59824
+
+entry: 22
+ r_offset: 0x1161e0
+ r_info: 0x8
+ r_addend: 53536
+
+entry: 23
+ r_offset: 0x1161e8
+ r_info: 0x8
+ r_addend: 53536
+
+entry: 24
+ r_offset: 0x1161f0
+ r_info: 0x8
+ r_addend: 53536
+
+entry: 25
+ r_offset: 0x1161f8
+ r_info: 0x8
+ r_addend: 53536
+
+entry: 26
+ r_offset: 0x116200
+ r_info: 0x8
+ r_addend: 36208
+
+entry: 27
+ r_offset: 0x116208
+ r_info: 0x8
+ r_addend: 80576
+
+entry: 28
+ r_offset: 0x116210
+ r_info: 0x8
+ r_addend: 36464
+
+entry: 29
+ r_offset: 0x116218
+ r_info: 0x8
+ r_addend: 72240
+
+entry: 30
+ r_offset: 0x116220
+ r_info: 0x8
+ r_addend: 36976
+
+entry: 31
+ r_offset: 0x116228
+ r_info: 0x8
+ r_addend: 80224
+
+entry: 32
+ r_offset: 0x116230
+ r_info: 0x8
+ r_addend: 37216
+
+entry: 33
+ r_offset: 0x116238
+ r_info: 0x8
+ r_addend: 71664
+
+entry: 34
+ r_offset: 0x116240
+ r_info: 0x8
+ r_addend: 58592
+
+entry: 35
+ r_offset: 0x116248
+ r_info: 0x8
+ r_addend: 78976
+
+entry: 36
+ r_offset: 0x116250
+ r_info: 0x8
+ r_addend: 56816
+
+entry: 37
+ r_offset: 0x116258
+ r_info: 0x8
+ r_addend: 69808
+
+entry: 38
+ r_offset: 0x116260
+ r_info: 0x8
+ r_addend: 56704
+
+entry: 39
+ r_offset: 0x116268
+ r_info: 0x8
+ r_addend: 56592
+
+entry: 40
+ r_offset: 0x116270
+ r_info: 0x8
+ r_addend: 56704
+
+entry: 41
+ r_offset: 0x116278
+ r_info: 0x8
+ r_addend: 56592
+
+entry: 42
+ r_offset: 0x116280
+ r_info: 0x8
+ r_addend: 56288
+
+entry: 43
+ r_offset: 0x116288
+ r_info: 0x8
+ r_addend: 55952
+
+entry: 44
+ r_offset: 0x116290
+ r_info: 0x8
+ r_addend: 56288
+
+entry: 45
+ r_offset: 0x116298
+ r_info: 0x8
+ r_addend: 55952
+
+entry: 46
+ r_offset: 0x1162a0
+ r_info: 0x8
+ r_addend: 37696
+
+entry: 47
+ r_offset: 0x1162a8
+ r_info: 0x8
+ r_addend: 78192
+
+entry: 48
+ r_offset: 0x1162b0
+ r_info: 0x8
+ r_addend: 38352
+
+entry: 49
+ r_offset: 0x1162b8
+ r_info: 0x8
+ r_addend: 68848
+
+entry: 50
+ r_offset: 0x1162e0
+ r_info: 0x8
+ r_addend: 52608
+
+entry: 51
+ r_offset: 0x1162e8
+ r_info: 0x8
+ r_addend: 53040
+
+entry: 52
+ r_offset: 0x1162f0
+ r_info: 0x8
+ r_addend: 52608
+
+entry: 53
+ r_offset: 0x1162f8
+ r_info: 0x8
+ r_addend: 53040
+
+entry: 54
+ r_offset: 0x116300
+ r_info: 0x8
+ r_addend: 55776
+
+entry: 55
+ r_offset: 0x116308
+ r_info: 0x8
+ r_addend: 55600
+
+entry: 56
+ r_offset: 0x116310
+ r_info: 0x8
+ r_addend: 55296
+
+entry: 57
+ r_offset: 0x116318
+ r_info: 0x8
+ r_addend: 54960
+
+entry: 58
+ r_offset: 0x116320
+ r_info: 0x8
+ r_addend: 39200
+
+entry: 59
+ r_offset: 0x116328
+ r_info: 0x8
+ r_addend: 76992
+
+entry: 60
+ r_offset: 0x116330
+ r_info: 0x8
+ r_addend: 40192
+
+entry: 61
+ r_offset: 0x116338
+ r_info: 0x8
+ r_addend: 66816
+
+entry: 62
+ r_offset: 0x116340
+ r_info: 0x8
+ r_addend: 41952
+
+entry: 63
+ r_offset: 0x116348
+ r_info: 0x8
+ r_addend: 76672
+
+entry: 64
+ r_offset: 0x116350
+ r_info: 0x8
+ r_addend: 42192
+
+entry: 65
+ r_offset: 0x116358
+ r_info: 0x8
+ r_addend: 66240
+
+entry: 66
+ r_offset: 0x116360
+ r_info: 0x8
+ r_addend: 42688
+
+entry: 67
+ r_offset: 0x116368
+ r_info: 0x8
+ r_addend: 76240
+
+entry: 68
+ r_offset: 0x116370
+ r_info: 0x8
+ r_addend: 43024
+
+entry: 69
+ r_offset: 0x116378
+ r_info: 0x8
+ r_addend: 65408
+
+entry: 70
+ r_offset: 0x116380
+ r_info: 0x8
+ r_addend: 43744
+
+entry: 71
+ r_offset: 0x116388
+ r_info: 0x8
+ r_addend: 74784
+
+entry: 72
+ r_offset: 0x116390
+ r_info: 0x8
+ r_addend: 44912
+
+entry: 73
+ r_offset: 0x116398
+ r_info: 0x8
+ r_addend: 63104
+
+entry: 74
+ r_offset: 0x1163a0
+ r_info: 0x8
+ r_addend: 54784
+
+entry: 75
+ r_offset: 0x1163a8
+ r_info: 0x8
+ r_addend: 54608
+
+entry: 76
+ r_offset: 0x1163b0
+ r_info: 0x8
+ r_addend: 54784
+
+entry: 77
+ r_offset: 0x1163b8
+ r_info: 0x8
+ r_addend: 54608
+
+entry: 78
+ r_offset: 0x1163e0
+ r_info: 0x8
+ r_addend: 46848
+
+entry: 79
+ r_offset: 0x1163e8
+ r_info: 0x8
+ r_addend: 74576
+
+entry: 80
+ r_offset: 0x1163f0
+ r_info: 0x8
+ r_addend: 46960
+
+entry: 81
+ r_offset: 0x1163f8
+ r_info: 0x8
+ r_addend: 62896
+
+entry: 82
+ r_offset: 0x116400
+ r_info: 0x8
+ r_addend: 47072
+
+entry: 83
+ r_offset: 0x116408
+ r_info: 0x8
+ r_addend: 74048
+
+entry: 84
+ r_offset: 0x116410
+ r_info: 0x8
+ r_addend: 47504
+
+entry: 85
+ r_offset: 0x116418
+ r_info: 0x8
+ r_addend: 62016
+
+entry: 86
+ r_offset: 0x116420
+ r_info: 0x8
+ r_addend: 48272
+
+entry: 87
+ r_offset: 0x116428
+ r_info: 0x8
+ r_addend: 73392
+
+entry: 88
+ r_offset: 0x116430
+ r_info: 0x8
+ r_addend: 48816
+
+entry: 89
+ r_offset: 0x116438
+ r_info: 0x8
+ r_addend: 61360
+
+entry: 90
+ r_offset: 0x116440
+ r_info: 0x8
+ r_addend: 49360
+
+entry: 91
+ r_offset: 0x116448
+ r_info: 0x8
+ r_addend: 72848
+
+entry: 92
+ r_offset: 0x116450
+ r_info: 0x8
+ r_addend: 49808
+
+entry: 93
+ r_offset: 0x116458
+ r_info: 0x8
+ r_addend: 60816
+
+entry: 94
+ r_offset: 0x116460
+ r_info: 0x8
+ r_addend: 54416
+
+entry: 95
+ r_offset: 0x116468
+ r_info: 0x8
+ r_addend: 54224
+
+entry: 96
+ r_offset: 0x116470
+ r_info: 0x8
+ r_addend: 54416
+
+entry: 97
+ r_offset: 0x116478
+ r_info: 0x8
+ r_addend: 54224
+
+entry: 98
+ r_offset: 0x116490
+ r_info: 0x8
+ r_addend: 53920
+
+entry: 99
+ r_offset: 0x116498
+ r_info: 0x8
+ r_addend: 53584
+
+entry: 100
+ r_offset: 0x1164a0
+ r_info: 0x8
+ r_addend: 54592
+
+entry: 101
+ r_offset: 0x1164a8
+ r_info: 0x8
+ r_addend: 54400
+
+entry: 102
+ r_offset: 0x1164b0
+ r_info: 0x8
+ r_addend: 51264
+
+entry: 103
+ r_offset: 0x1164b8
+ r_info: 0x8
+ r_addend: 50256
+
+entry: 104
+ r_offset: 0x118538
+ r_info: 0x8
+ r_addend: 1139904
+
+entry: 105
+ r_offset: 0x118548
+ r_info: 0x8
+ r_addend: 1139008
+
+entry: 106
+ r_offset: 0x118520
+ r_info: 0x3200000006
+ r_addend: 0
+
+entry: 107
+ r_offset: 0x118528
+ r_info: 0x3c00000006
+ r_addend: 0
+
+entry: 108
+ r_offset: 0x118530
+ r_info: 0x5e00000006
+ r_addend: 0
+
+entry: 109
+ r_offset: 0x118540
+ r_info: 0x6b00000006
+ r_addend: 0
+
+entry: 110
+ r_offset: 0x118550
+ r_info: 0x8b00000006
+ r_addend: 0
+
+relocation with addend (.rela.plt):
+
+entry: 0
+ r_offset: 0x1183f8
+ r_info: 0x2300000007
+ r_addend: 0
+
+entry: 1
+ r_offset: 0x118400
+ r_info: 0x2700000007
+ r_addend: 0
+
+entry: 2
+ r_offset: 0x118408
+ r_info: 0x2800000007
+ r_addend: 0
+
+entry: 3
+ r_offset: 0x118410
+ r_info: 0x2a00000007
+ r_addend: 0
+
+entry: 4
+ r_offset: 0x118418
+ r_info: 0x2b00000007
+ r_addend: 0
+
+entry: 5
+ r_offset: 0x118420
+ r_info: 0x3000000007
+ r_addend: 0
+
+entry: 6
+ r_offset: 0x118428
+ r_info: 0x3200000007
+ r_addend: 0
+
+entry: 7
+ r_offset: 0x118430
+ r_info: 0x3b00000007
+ r_addend: 0
+
+entry: 8
+ r_offset: 0x118438
+ r_info: 0x4000000007
+ r_addend: 0
+
+entry: 9
+ r_offset: 0x118440
+ r_info: 0x4200000007
+ r_addend: 0
+
+entry: 10
+ r_offset: 0x118448
+ r_info: 0x4700000007
+ r_addend: 0
+
+entry: 11
+ r_offset: 0x118450
+ r_info: 0x4800000007
+ r_addend: 0
+
+entry: 12
+ r_offset: 0x118458
+ r_info: 0x4900000007
+ r_addend: 0
+
+entry: 13
+ r_offset: 0x118460
+ r_info: 0x4d00000007
+ r_addend: 0
+
+entry: 14
+ r_offset: 0x118468
+ r_info: 0x4f00000007
+ r_addend: 0
+
+entry: 15
+ r_offset: 0x118470
+ r_info: 0x5500000007
+ r_addend: 0
+
+entry: 16
+ r_offset: 0x118478
+ r_info: 0x5600000007
+ r_addend: 0
+
+entry: 17
+ r_offset: 0x118480
+ r_info: 0x5800000007
+ r_addend: 0
+
+entry: 18
+ r_offset: 0x118488
+ r_info: 0x5900000007
+ r_addend: 0
+
+entry: 19
+ r_offset: 0x118490
+ r_info: 0x5a00000007
+ r_addend: 0
+
+entry: 20
+ r_offset: 0x118498
+ r_info: 0x5c00000007
+ r_addend: 0
+
+entry: 21
+ r_offset: 0x1184a0
+ r_info: 0x5e00000007
+ r_addend: 0
+
+entry: 22
+ r_offset: 0x1184a8
+ r_info: 0x6400000007
+ r_addend: 0
+
+entry: 23
+ r_offset: 0x1184b0
+ r_info: 0x6700000007
+ r_addend: 0
+
+entry: 24
+ r_offset: 0x1184b8
+ r_info: 0x6a00000007
+ r_addend: 0
+
+entry: 25
+ r_offset: 0x1184c0
+ r_info: 0x6b00000007
+ r_addend: 0
+
+entry: 26
+ r_offset: 0x1184c8
+ r_info: 0x6e00000007
+ r_addend: 0
+
+entry: 27
+ r_offset: 0x1184d0
+ r_info: 0x7100000007
+ r_addend: 0
+
+entry: 28
+ r_offset: 0x1184d8
+ r_info: 0x7700000007
+ r_addend: 0
+
+entry: 29
+ r_offset: 0x1184e0
+ r_info: 0x7a00000007
+ r_addend: 0
+
+entry: 30
+ r_offset: 0x1184e8
+ r_info: 0x7c00000007
+ r_addend: 0
+
+entry: 31
+ r_offset: 0x1184f0
+ r_info: 0x7f00000007
+ r_addend: 0
+
+entry: 32
+ r_offset: 0x1184f8
+ r_info: 0x8100000007
+ r_addend: 0
+
+entry: 33
+ r_offset: 0x118500
+ r_info: 0x8700000007
+ r_addend: 0
+
+entry: 34
+ r_offset: 0x118508
+ r_info: 0x8a00000007
+ r_addend: 0
+
+entry: 35
+ r_offset: 0x118510
+ r_info: 0x8e00000007
+ r_addend: 0
+
+entry: 36
+ r_offset: 0x118518
+ r_info: 0x8f00000007
+ r_addend: 0
diff --git a/test/elfdump/ts/dso1/libelf.so b/test/elfdump/ts/dso1/libelf.so
new file mode 100644
index 0000000000000..1832cda352986
--- /dev/null
+++ b/test/elfdump/ts/dso1/libelf.so
Binary files differ
diff --git a/test/elfdump/ts/dso1/tc b/test/elfdump/ts/dso1/tc
new file mode 100755
index 0000000000000..d97437fdb1a8d
--- /dev/null
+++ b/test/elfdump/ts/dso1/tc
@@ -0,0 +1,157 @@
+#!/bin/sh
+#
+# $Id: tc 2083 2011-10-27 04:41:39Z jkoshy $
+
+tp1()
+{
+ run "@e%libelf.so"
+}
+
+tp2()
+{
+ run "@p%libelf.so"
+}
+
+tp3()
+{
+ run "@G%libelf.so"
+}
+
+tp4()
+{
+ run "@n%libelf.so"
+}
+
+tp5()
+{
+ run "@p@s%libelf.so"
+}
+
+tp6()
+{
+ run "@c%libelf.so"
+}
+
+tp7()
+{
+ run "@c@s%libelf.so"
+}
+
+tp8()
+{
+ run "@c@p@n%libelf.so"
+}
+
+tp9()
+{
+ run "@d%libelf.so"
+}
+
+tp10()
+{
+ run "@e@i%libelf.so"
+}
+
+tp11()
+{
+ run "@r%libelf.so"
+}
+
+tp12()
+{
+ run "@h%libelf.so"
+}
+
+tp13()
+{
+ run "@e@p@c%libelf.so"
+}
+
+tp14()
+{
+ run "@S@e%libelf.so"
+}
+
+tp15()
+{
+ run "@S@p%libelf.so"
+}
+
+tp16()
+{
+ run "@S@G%libelf.so"
+}
+
+tp17()
+{
+ run "@S@s@N%.dynsym%libelf.so"
+}
+
+tp18()
+{
+ run "@S@r%libelf.so"
+}
+
+tp19()
+{
+ run "@S@d%libelf.so"
+}
+
+tp20()
+{
+ run "@S@n%libelf.so"
+}
+
+tp21()
+{
+ run "@S@c@s%libelf.so"
+}
+
+tp22()
+{
+ run "@S@k%libelf.so"
+}
+
+tp23()
+{
+ run "@S@v%libelf.so"
+}
+
+tp24()
+{
+ run "@S@h%libelf.so"
+}
+
+tet_startup=""
+tet_cleanup="cleanup"
+
+iclist="ic1 ic2 ic3 ic4 ic5 ic6 ic7 ic8 ic9 ic10 ic11 ic12 ic13 ic14 ic15 ic16 ic17 ic18 ic19 ic20 ic21 ic22 ic23 ic24"
+
+ic1="tp1"
+ic2="tp2"
+ic3="tp3"
+ic4="tp4"
+ic5="tp5"
+ic6="tp6"
+ic7="tp7"
+ic8="tp8"
+ic9="tp9"
+ic10="tp10"
+ic11="tp11"
+ic12="tp12"
+ic13="tp13"
+ic14="tp14"
+ic15="tp15"
+ic16="tp16"
+ic17="tp17"
+ic18="tp18"
+ic19="tp19"
+ic20="tp20"
+ic21="tp21"
+ic22="tp22"
+ic23="tp23"
+ic24="tp24"
+
+
+. $TET_SUITE_ROOT/ts/common/func.sh
+. $TET_ROOT/lib/xpg3sh/tcm.sh
diff --git a/test/elfdump/ts/dso2/@G%test.so.err b/test/elfdump/ts/dso2/@G%test.so.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso2/@G%test.so.err
diff --git a/test/elfdump/ts/dso2/@G%test.so.out b/test/elfdump/ts/dso2/@G%test.so.out
new file mode 100644
index 0000000000000..d506229a774ce
--- /dev/null
+++ b/test/elfdump/ts/dso2/@G%test.so.out
@@ -0,0 +1,11 @@
+
+global offset table:
+
+entry: 0
+ 0
+
+entry: 1
+ 0
+
+entry: 2
+ 0
diff --git a/test/elfdump/ts/dso2/@S@G%test.so.err b/test/elfdump/ts/dso2/@S@G%test.so.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso2/@S@G%test.so.err
diff --git a/test/elfdump/ts/dso2/@S@G%test.so.out b/test/elfdump/ts/dso2/@S@G%test.so.out
new file mode 100644
index 0000000000000..7b5bdff019e31
--- /dev/null
+++ b/test/elfdump/ts/dso2/@S@G%test.so.out
@@ -0,0 +1,6 @@
+
+Global Offset Table Section: .got (3 entries)
+ ndx addr value reloc addend symbol
+[00000] 0000000000200de8 0000000000000000 R_X86_64_GLOB_DAT 000000000000 __gmon_start__
+[00001] 0000000000200df0 0000000000000000 R_X86_64_GLOB_DAT 000000000000 _Jv_RegisterClasses
+[00002] 0000000000200df8 0000000000000000 R_X86_64_GLOB_DAT 000000000000 __cxa_finalize
diff --git a/test/elfdump/ts/dso2/@S@c%test.so.err b/test/elfdump/ts/dso2/@S@c%test.so.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso2/@S@c%test.so.err
diff --git a/test/elfdump/ts/dso2/@S@c%test.so.out b/test/elfdump/ts/dso2/@S@c%test.so.out
new file mode 100644
index 0000000000000..4dbedfa0eb7cb
--- /dev/null
+++ b/test/elfdump/ts/dso2/@S@c%test.so.out
@@ -0,0 +1,210 @@
+
+Section Header[1]: sh_name: .gnu.hash
+ sh_addr: 0x158 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x50 sh_type: [ SHT_GNU_HASH ]
+ sh_offset: 0x158 sh_entsize: 0
+ sh_link: 2 sh_info: 0
+ sh_addralign: 0x8
+
+Section Header[2]: sh_name: .dynsym
+ sh_addr: 0x1a8 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x240 sh_type: [ SHT_DYNSYM ]
+ sh_offset: 0x1a8 sh_entsize: 0x18
+ sh_link: 3 sh_info: 2
+ sh_addralign: 0x8
+
+Section Header[3]: sh_name: .dynstr
+ sh_addr: 0x3e8 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0xc4 sh_type: [ SHT_STRTAB ]
+ sh_offset: 0x3e8 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[4]: sh_name: .gnu.version
+ sh_addr: 0x4ac sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x30 sh_type: [ SHT_SUNW(GNU)_versym ]
+ sh_offset: 0x4ac sh_entsize: 0x2
+ sh_link: 2 sh_info: 0
+ sh_addralign: 0x2
+
+Section Header[5]: sh_name: .gnu.version_r
+ sh_addr: 0x4e0 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x40 sh_type: [ SHT_SUNW(GNU)_verneed ]
+ sh_offset: 0x4e0 sh_entsize: 0
+ sh_link: 3 sh_info: 2
+ sh_addralign: 0x8
+
+Section Header[6]: sh_name: .rela.dyn
+ sh_addr: 0x520 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x78 sh_type: [ SHT_RELA ]
+ sh_offset: 0x520 sh_entsize: 0x18
+ sh_link: 2 sh_info: 0
+ sh_addralign: 0x8
+
+Section Header[7]: sh_name: .rela.plt
+ sh_addr: 0x598 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0xd8 sh_type: [ SHT_RELA ]
+ sh_offset: 0x598 sh_entsize: 0x18
+ sh_link: 2 sh_info: 9
+ sh_addralign: 0x8
+
+Section Header[8]: sh_name: .init
+ sh_addr: 0x670 sh_flags: [ SHF_ALLOC|SHF_EXECINSTR ]
+ sh_size: 0x18 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x670 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[9]: sh_name: .plt
+ sh_addr: 0x688 sh_flags: [ SHF_ALLOC|SHF_EXECINSTR ]
+ sh_size: 0xa0 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x688 sh_entsize: 0x10
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[10]: sh_name: .text
+ sh_addr: 0x730 sh_flags: [ SHF_ALLOC|SHF_EXECINSTR ]
+ sh_size: 0x358 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x730 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x10
+
+Section Header[11]: sh_name: .fini
+ sh_addr: 0xa88 sh_flags: [ SHF_ALLOC|SHF_EXECINSTR ]
+ sh_size: 0xe sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0xa88 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[12]: sh_name: .rodata
+ sh_addr: 0xa98 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x78 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0xa98 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x8
+
+Section Header[13]: sh_name: .eh_frame_hdr
+ sh_addr: 0xb10 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x3c sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0xb10 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[14]: sh_name: .eh_frame
+ sh_addr: 0xb50 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0xdc sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0xb50 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x8
+
+Section Header[15]: sh_name: .ctors
+ sh_addr: 0x200c30 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0x10 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0xc30 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x8
+
+Section Header[16]: sh_name: .dtors
+ sh_addr: 0x200c40 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0x10 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0xc40 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x8
+
+Section Header[17]: sh_name: .jcr
+ sh_addr: 0x200c50 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0x8 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0xc50 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x8
+
+Section Header[18]: sh_name: .dynamic
+ sh_addr: 0x200c58 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0x190 sh_type: [ SHT_DYNAMIC ]
+ sh_offset: 0xc58 sh_entsize: 0x10
+ sh_link: 3 sh_info: 0
+ sh_addralign: 0x8
+
+Section Header[19]: sh_name: .got
+ sh_addr: 0x200de8 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0x18 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0xde8 sh_entsize: 0x8
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x8
+
+Section Header[20]: sh_name: .got.plt
+ sh_addr: 0x200e00 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0x60 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0xe00 sh_entsize: 0x8
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x8
+
+Section Header[21]: sh_name: .data
+ sh_addr: 0x200e60 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0x10 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0xe60 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x8
+
+Section Header[22]: sh_name: .bss
+ sh_addr: 0x200e70 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0x8 sh_type: [ SHT_NOBITS ]
+ sh_offset: 0xe70 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[23]: sh_name: .comment
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x122 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0xe70 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[24]: sh_name: .debug_aranges
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x90 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0xfa0 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x10
+
+Section Header[25]: sh_name: .debug_info
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x1a4 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x1030 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[26]: sh_name: .debug_abbrev
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x20 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x11d4 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[27]: sh_name: .debug_line
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x160 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x11f4 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[28]: sh_name: .shstrtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x10a sh_type: [ SHT_STRTAB ]
+ sh_offset: 0x1354 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[29]: sh_name: .symtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x6d8 sh_type: [ SHT_SYMTAB ]
+ sh_offset: 0x1c20 sh_entsize: 0x18
+ sh_link: 30 sh_info: 51
+ sh_addralign: 0x8
+
+Section Header[30]: sh_name: .strtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x2dc sh_type: [ SHT_STRTAB ]
+ sh_offset: 0x22f8 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
diff --git a/test/elfdump/ts/dso2/@S@d%test.so.err b/test/elfdump/ts/dso2/@S@d%test.so.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso2/@S@d%test.so.err
diff --git a/test/elfdump/ts/dso2/@S@d%test.so.out b/test/elfdump/ts/dso2/@S@d%test.so.out
new file mode 100644
index 0000000000000..4a56b906fc543
--- /dev/null
+++ b/test/elfdump/ts/dso2/@S@d%test.so.out
@@ -0,0 +1,27 @@
+Dynamic Section: .dynamic
+ index tag value
+ [0] DT_NEEDED 0x8c libm.so.6
+ [1] DT_NEEDED 0x96 libc.so.6
+ [2] DT_INIT 0x670
+ [3] DT_FINI 0xa88
+ [4] DT_GNU_HASH 0x158
+ [5] DT_STRTAB 0x3e8
+ [6] DT_SYMTAB 0x1a8
+ [7] DT_STRSZ 0xc4
+ [8] DT_SYMENT 0x18
+ [9] DT_PLTGOT 0x200e00
+ [10] DT_PLTRELSZ 0xd8
+ [11] DT_PLTREL 0x7
+ [12] DT_JMPREL 0x598
+ [13] DT_RELA 0x520
+ [14] DT_RELASZ 0x78
+ [15] DT_RELAENT 0x18
+ [16] DT_VERNEED 0x4e0
+ [17] DT_VERNEEDNUM 0x2
+ [18] DT_GNU_VERSYM 0x4ac
+ [19] DT_RELACOUNT 0x2
+ [20] DT_NULL
+ [21] DT_NULL
+ [22] DT_NULL
+ [23] DT_NULL
+ [24] DT_NULL
diff --git a/test/elfdump/ts/dso2/@S@e%test.so.err b/test/elfdump/ts/dso2/@S@e%test.so.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso2/@S@e%test.so.err
diff --git a/test/elfdump/ts/dso2/@S@e%test.so.out b/test/elfdump/ts/dso2/@S@e%test.so.out
new file mode 100644
index 0000000000000..0f30ff8c3ba4d
--- /dev/null
+++ b/test/elfdump/ts/dso2/@S@e%test.so.out
@@ -0,0 +1,10 @@
+
+ELF Header
+ ei_magic: { 0x7f, E, L, F }
+ ei_class: ELFCLASS64 ei_data: ELFDATA2LSB
+ e_machine: EM_X86_64 e_version: EV_CURRENT
+ e_type: ET_DYN
+ e_flags: 0
+ e_entry: 0x730 e_ehsize: 64 e_shstrndx: 28
+ e_shoff: 0x1460 e_shentsize: 64 e_shnum: 31
+ e_phoff: 0x40 e_phentsize: 56 e_phnum: 5
diff --git a/test/elfdump/ts/dso2/@S@h%test.so.err b/test/elfdump/ts/dso2/@S@h%test.so.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso2/@S@h%test.so.err
diff --git a/test/elfdump/ts/dso2/@S@h%test.so.out b/test/elfdump/ts/dso2/@S@h%test.so.out
new file mode 100644
index 0000000000000..c3c244df3b86d
--- /dev/null
+++ b/test/elfdump/ts/dso2/@S@h%test.so.out
@@ -0,0 +1,22 @@
+
+GNU Hash Section: .gnu.hash
+ bucket symndx name
+ 0 [13] _end
+ [14] _edata
+ [15] add4
+ 1 [16] mathstring
+ [17] add2
+ [18] add
+ [19] __bss_start
+ [20] _init
+ 2 [21] _fini
+ [22] add3
+ [23] sub
+
+ 0 buckets contain 0 symbols
+ 0 buckets contain 1 symbols
+ 0 buckets contain 2 symbols
+ 2 buckets contain 3 symbols
+ 0 buckets contain 4 symbols
+ 1 buckets contain 5 symbols
+ 3 buckets 11 symbols (globals)
diff --git a/test/elfdump/ts/dso2/@S@k%test.so.err b/test/elfdump/ts/dso2/@S@k%test.so.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso2/@S@k%test.so.err
diff --git a/test/elfdump/ts/dso2/@S@k%test.so.out b/test/elfdump/ts/dso2/@S@k%test.so.out
new file mode 100644
index 0000000000000..2abc8a5facecf
--- /dev/null
+++ b/test/elfdump/ts/dso2/@S@k%test.so.out
@@ -0,0 +1,2 @@
+
+elf checksum: 0xa722
diff --git a/test/elfdump/ts/dso2/@S@n%test.so.err b/test/elfdump/ts/dso2/@S@n%test.so.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso2/@S@n%test.so.err
diff --git a/test/elfdump/ts/dso2/@S@n%test.so.out b/test/elfdump/ts/dso2/@S@n%test.so.out
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso2/@S@n%test.so.out
diff --git a/test/elfdump/ts/dso2/@S@p%test.so.err b/test/elfdump/ts/dso2/@S@p%test.so.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso2/@S@p%test.so.err
diff --git a/test/elfdump/ts/dso2/@S@p%test.so.out b/test/elfdump/ts/dso2/@S@p%test.so.out
new file mode 100644
index 0000000000000..2182aa193e7f4
--- /dev/null
+++ b/test/elfdump/ts/dso2/@S@p%test.so.out
@@ -0,0 +1,30 @@
+
+Program Header[0]:
+ p_vaddr: 0 p_flags: [ PF_X|PF_R ]
+ p_paddr: 0 p_type: [ PT_LOAD ]
+ p_filesz: 0xc2c p_memsz: 0xc2c
+ p_offset: 0 p_align: 0x200000
+
+Program Header[1]:
+ p_vaddr: 0x200c30 p_flags: [ PF_W|PF_R ]
+ p_paddr: 0x200c30 p_type: [ PT_LOAD ]
+ p_filesz: 0x240 p_memsz: 0x248
+ p_offset: 0xc30 p_align: 0x200000
+
+Program Header[2]:
+ p_vaddr: 0x200c58 p_flags: [ PF_W|PF_R ]
+ p_paddr: 0x200c58 p_type: [ PT_DYNAMIC ]
+ p_filesz: 0x190 p_memsz: 0x190
+ p_offset: 0xc58 p_align: 0x8
+
+Program Header[3]:
+ p_vaddr: 0xb10 p_flags: [ PF_R ]
+ p_paddr: 0xb10 p_type: [ PT_NULL ]
+ p_filesz: 0x3c p_memsz: 0x3c
+ p_offset: 0xb10 p_align: 0x4
+
+Program Header[4]:
+ p_vaddr: 0 p_flags: [ PF_W|PF_R ]
+ p_paddr: 0 p_type: [ PT_LOAD ]
+ p_filesz: 0 p_memsz: 0
+ p_offset: 0 p_align: 0x8
diff --git a/test/elfdump/ts/dso2/@S@r%test.so.err b/test/elfdump/ts/dso2/@S@r%test.so.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso2/@S@r%test.so.err
diff --git a/test/elfdump/ts/dso2/@S@r%test.so.out b/test/elfdump/ts/dso2/@S@r%test.so.out
new file mode 100644
index 0000000000000..d787b2cd9313b
--- /dev/null
+++ b/test/elfdump/ts/dso2/@S@r%test.so.out
@@ -0,0 +1,20 @@
+
+Relocation Section: .rela.dyn
+ type offset addend section with respect to
+ R_X86_64_RELATIVE 0x200e60 2100832 .rela.dyn
+ R_X86_64_RELATIVE 0x200e68 2100296 .rela.dyn
+ R_X86_64_GLOB_DAT 0x200de8 0 .rela.dyn __gmon_start__
+ R_X86_64_GLOB_DAT 0x200df0 0 .rela.dyn _Jv_RegisterClasses
+ R_X86_64_GLOB_DAT 0x200df8 0 .rela.dyn __cxa_finalize
+
+Relocation Section: .rela.plt
+ type offset addend section with respect to
+ R_X86_64_JMP_SLOT 0x200e18 0 .rela.plt printf
+ R_X86_64_JMP_SLOT 0x200e20 0 .rela.plt puts
+ R_X86_64_JMP_SLOT 0x200e28 0 .rela.plt toupper
+ R_X86_64_JMP_SLOT 0x200e30 0 .rela.plt cos
+ R_X86_64_JMP_SLOT 0x200e38 0 .rela.plt cosh
+ R_X86_64_JMP_SLOT 0x200e40 0 .rela.plt __cxa_finalize
+ R_X86_64_JMP_SLOT 0x200e48 0 .rela.plt gets
+ R_X86_64_JMP_SLOT 0x200e50 0 .rela.plt tolower
+ R_X86_64_JMP_SLOT 0x200e58 0 .rela.plt acos
diff --git a/test/elfdump/ts/dso2/@S@s%test.so.err b/test/elfdump/ts/dso2/@S@s%test.so.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso2/@S@s%test.so.err
diff --git a/test/elfdump/ts/dso2/@S@s%test.so.out b/test/elfdump/ts/dso2/@S@s%test.so.out
new file mode 100644
index 0000000000000..72436b7ae9886
--- /dev/null
+++ b/test/elfdump/ts/dso2/@S@s%test.so.out
@@ -0,0 +1,103 @@
+
+Symbol Table Section: .dynsym
+ index value size type bind oth ver shndx name
+ [0] 0x00000000 0x000000000000 NOTY LOCL D 0 UNDEF
+ [1] 0x00000670 0x000000000000 SECT LOCL D 0 .init
+ [2] 0x00000000 0x000000000000 FUNC GLOB D 2 UNDEF printf
+ [3] 0x00000000 0x000000000000 NOTY WEAK D 0 UNDEF __gmon_start__
+ [4] 0x00000000 0x000000000000 NOTY WEAK D 0 UNDEF _Jv_RegisterClasses
+ [5] 0x00000000 0x000000000000 FUNC GLOB D 2 UNDEF puts
+ [6] 0x00000000 0x000000000000 FUNC GLOB D 2 UNDEF toupper
+ [7] 0x00000000 0x000000000000 FUNC GLOB D 3 UNDEF cos
+ [8] 0x00000000 0x000000000000 FUNC GLOB D 3 UNDEF cosh
+ [9] 0x00000000 0x000000000000 FUNC WEAK D 2 UNDEF __cxa_finalize
+ [10] 0x00000000 0x000000000000 FUNC GLOB D 2 UNDEF gets
+ [11] 0x00000000 0x000000000000 FUNC GLOB D 2 UNDEF tolower
+ [12] 0x00000000 0x000000000000 FUNC GLOB D 3 UNDEF acos
+ [13] 0x00200e78 0x000000000000 NOTY GLOB D 1 ABS _end
+ [14] 0x00200e70 0x000000000000 NOTY GLOB D 1 ABS _edata
+ [15] 0x00000802 0x000000000012 FUNC GLOB D 1 .text add4
+ [16] 0x00000828 0x00000000021a FUNC GLOB D 1 .text mathstring
+ [17] 0x000007de 0x000000000012 FUNC GLOB D 1 .text add2
+ [18] 0x000007cc 0x000000000012 FUNC GLOB D 1 .text add
+ [19] 0x00200e70 0x000000000000 NOTY GLOB D 1 ABS __bss_start
+ [20] 0x00000670 0x000000000000 FUNC GLOB D 1 .init _init
+ [21] 0x00000a88 0x000000000000 FUNC GLOB D 1 .fini _fini
+ [22] 0x000007f0 0x000000000012 FUNC GLOB D 1 .text add3
+ [23] 0x00000814 0x000000000014 FUNC GLOB D 1 .text sub
+
+Symbol Table Section: .symtab
+ index value size type bind oth ver shndx name
+ [0] 0x00000000 0x000000000000 NOTY LOCL D 0 UNDEF
+ [1] 0x00000158 0x000000000000 SECT LOCL D 0 .gnu.hash
+ [2] 0x000001a8 0x000000000000 SECT LOCL D 0 .dynsym
+ [3] 0x000003e8 0x000000000000 SECT LOCL D 0 .dynstr
+ [4] 0x000004ac 0x000000000000 SECT LOCL D 0 .gnu.versio
+ [5] 0x000004e0 0x000000000000 SECT LOCL D 0 .gnu.versio
+ [6] 0x00000520 0x000000000000 SECT LOCL D 0 .rela.dyn
+ [7] 0x00000598 0x000000000000 SECT LOCL D 0 .rela.plt
+ [8] 0x00000670 0x000000000000 SECT LOCL D 0 .init
+ [9] 0x00000688 0x000000000000 SECT LOCL D 0 .plt
+ [10] 0x00000730 0x000000000000 SECT LOCL D 0 .text
+ [11] 0x00000a88 0x000000000000 SECT LOCL D 0 .fini
+ [12] 0x00000a98 0x000000000000 SECT LOCL D 0 .rodata
+ [13] 0x00000b10 0x000000000000 SECT LOCL D 0 .eh_frame_h
+ [14] 0x00000b50 0x000000000000 SECT LOCL D 0 .eh_frame
+ [15] 0x00200c30 0x000000000000 SECT LOCL D 0 .ctors
+ [16] 0x00200c40 0x000000000000 SECT LOCL D 0 .dtors
+ [17] 0x00200c50 0x000000000000 SECT LOCL D 0 .jcr
+ [18] 0x00200c58 0x000000000000 SECT LOCL D 0 .dynamic
+ [19] 0x00200de8 0x000000000000 SECT LOCL D 0 .got
+ [20] 0x00200e00 0x000000000000 SECT LOCL D 0 .got.plt
+ [21] 0x00200e60 0x000000000000 SECT LOCL D 0 .data
+ [22] 0x00200e70 0x000000000000 SECT LOCL D 0 .bss
+ [23] 0x00000000 0x000000000000 SECT LOCL D 0 .comment
+ [24] 0x00000000 0x000000000000 SECT LOCL D 0 .debug_aran
+ [25] 0x00000000 0x000000000000 SECT LOCL D 0 .debug_info
+ [26] 0x00000000 0x000000000000 SECT LOCL D 0 .debug_abbr
+ [27] 0x00000000 0x000000000000 SECT LOCL D 0 .debug_line
+ [28] 0x00000000 0x000000000000 FILE LOCL D 0 ABS initfini.c
+ [29] 0x00000000 0x000000000000 FILE LOCL D 0 ABS /home/aurel32/debian/co-packages/glibc/etch/glibc-2.3.6.ds1/build-tree/amd64-libc/csu/crti.S
+ [30] 0x00000730 0x000000000000 FUNC LOCL D 0 .text call_gmon_start
+ [31] 0x00000000 0x000000000000 FILE LOCL D 0 ABS crtstuff.c
+ [32] 0x00200c30 0x000000000000 OBJT LOCL D 0 .ctors __CTOR_LIST__
+ [33] 0x00200c40 0x000000000000 OBJT LOCL D 0 .dtors __DTOR_LIST__
+ [34] 0x00200c50 0x000000000000 OBJT LOCL D 0 .jcr __JCR_LIST__
+ [35] 0x00200e70 0x000000000001 OBJT LOCL D 0 .bss completed.5959
+ [36] 0x00200e68 0x000000000000 OBJT LOCL D 0 .data p.5957
+ [37] 0x00000750 0x000000000000 FUNC LOCL D 0 .text __do_global_dtors_aux
+ [38] 0x000007a0 0x000000000000 FUNC LOCL D 0 .text frame_dummy
+ [39] 0x00000000 0x000000000000 FILE LOCL D 0 ABS crtstuff.c
+ [40] 0x00200c38 0x000000000000 OBJT LOCL D 0 .ctors __CTOR_END__
+ [41] 0x00200c48 0x000000000000 OBJT LOCL D 0 .dtors __DTOR_END__
+ [42] 0x00000c28 0x000000000000 OBJT LOCL D 0 .eh_frame __FRAME_END__
+ [43] 0x00200c50 0x000000000000 OBJT LOCL D 0 .jcr __JCR_END__
+ [44] 0x00000a50 0x000000000000 FUNC LOCL D 0 .text __do_global_ctors_aux
+ [45] 0x00000000 0x000000000000 FILE LOCL D 0 ABS initfini.c
+ [46] 0x00000000 0x000000000000 FILE LOCL D 0 ABS /home/aurel32/debian/co-packages/glibc/etch/glibc-2.3.6.ds1/build-tree/amd64-libc/csu/crtn.S
+ [47] 0x00000000 0x000000000000 FILE LOCL D 0 ABS test2.c
+ [48] 0x00200e00 0x000000000000 OBJT LOCL H 0 ABS _GLOBAL_OFFSET_TABLE_
+ [49] 0x00200e60 0x000000000000 OBJT LOCL H 0 .data __dso_handle
+ [50] 0x00200c58 0x000000000000 OBJT LOCL H 0 ABS _DYNAMIC
+ [51] 0x00000000 0x000000000000 FUNC GLOB D 0 UNDEF printf@@GLIBC_2.2.5
+ [52] 0x00000828 0x00000000021a FUNC GLOB D 0 .text mathstring
+ [53] 0x00000000 0x000000000000 NOTY WEAK D 0 UNDEF __gmon_start__
+ [54] 0x00000000 0x000000000000 NOTY WEAK D 0 UNDEF _Jv_RegisterClasses
+ [55] 0x00000000 0x000000000000 FUNC GLOB D 0 UNDEF puts@@GLIBC_2.2.5
+ [56] 0x00000000 0x000000000000 FUNC GLOB D 0 UNDEF toupper@@GLIBC_2.2.5
+ [57] 0x00000a88 0x000000000000 FUNC GLOB D 0 .fini _fini
+ [58] 0x000007f0 0x000000000012 FUNC GLOB D 0 .text add3
+ [59] 0x00000000 0x000000000000 FUNC GLOB D 0 UNDEF cos@@GLIBC_2.2.5
+ [60] 0x00000000 0x000000000000 FUNC GLOB D 0 UNDEF cosh@@GLIBC_2.2.5
+ [61] 0x00000000 0x000000000000 FUNC WEAK D 0 UNDEF __cxa_finalize@@GLIBC_2.2.5
+ [62] 0x000007de 0x000000000012 FUNC GLOB D 0 .text add2
+ [63] 0x00000000 0x000000000000 FUNC GLOB D 0 UNDEF gets@@GLIBC_2.2.5
+ [64] 0x000007cc 0x000000000012 FUNC GLOB D 0 .text add
+ [65] 0x00200e70 0x000000000000 NOTY GLOB D 0 ABS __bss_start
+ [66] 0x00000000 0x000000000000 FUNC GLOB D 0 UNDEF tolower@@GLIBC_2.2.5
+ [67] 0x00000000 0x000000000000 FUNC GLOB D 0 UNDEF acos@@GLIBC_2.2.5
+ [68] 0x00200e78 0x000000000000 NOTY GLOB D 0 ABS _end
+ [69] 0x00200e70 0x000000000000 NOTY GLOB D 0 ABS _edata
+ [70] 0x00000814 0x000000000014 FUNC GLOB D 0 .text sub
+ [71] 0x00000670 0x000000000000 FUNC GLOB D 0 .init _init
+ [72] 0x00000802 0x000000000012 FUNC GLOB D 0 .text add4
diff --git a/test/elfdump/ts/dso2/@S@v%test.so.err b/test/elfdump/ts/dso2/@S@v%test.so.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso2/@S@v%test.so.err
diff --git a/test/elfdump/ts/dso2/@S@v%test.so.out b/test/elfdump/ts/dso2/@S@v%test.so.out
new file mode 100644
index 0000000000000..d987203ca678f
--- /dev/null
+++ b/test/elfdump/ts/dso2/@S@v%test.so.out
@@ -0,0 +1,5 @@
+
+Version Needed Section: .gnu.version_r
+ file version
+ libm.so.6 GLIBC_2.2.5
+ libc.so.6 GLIBC_2.2.5
diff --git a/test/elfdump/ts/dso2/@c%test.so.err b/test/elfdump/ts/dso2/@c%test.so.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso2/@c%test.so.err
diff --git a/test/elfdump/ts/dso2/@c%test.so.out b/test/elfdump/ts/dso2/@c%test.so.out
new file mode 100644
index 0000000000000..920ab151fd0c9
--- /dev/null
+++ b/test/elfdump/ts/dso2/@c%test.so.out
@@ -0,0 +1,374 @@
+
+section header:
+
+entry: 0
+ sh_name:
+ sh_type: SHT_NULL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 0
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 0
+ sh_entsize: 0
+
+entry: 1
+ sh_name: .gnu.hash
+ sh_type: SHT_GNU_HASH
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x158
+ sh_offset: 344
+ sh_size: 80
+ sh_link: 2
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 2
+ sh_name: .dynsym
+ sh_type: SHT_DYNSYM
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x1a8
+ sh_offset: 424
+ sh_size: 576
+ sh_link: 3
+ sh_info: 2
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 3
+ sh_name: .dynstr
+ sh_type: SHT_STRTAB
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x3e8
+ sh_offset: 1000
+ sh_size: 196
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 4
+ sh_name: .gnu.version
+ sh_type: SHT_SUNW(GNU)_versym
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x4ac
+ sh_offset: 1196
+ sh_size: 48
+ sh_link: 2
+ sh_info: 0
+ sh_addralign: 2
+ sh_entsize: 2
+
+entry: 5
+ sh_name: .gnu.version_r
+ sh_type: SHT_SUNW(GNU)_verneed
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x4e0
+ sh_offset: 1248
+ sh_size: 64
+ sh_link: 3
+ sh_info: 2
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 6
+ sh_name: .rela.dyn
+ sh_type: SHT_RELA
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x520
+ sh_offset: 1312
+ sh_size: 120
+ sh_link: 2
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 7
+ sh_name: .rela.plt
+ sh_type: SHT_RELA
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x598
+ sh_offset: 1432
+ sh_size: 216
+ sh_link: 2
+ sh_info: 9
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 8
+ sh_name: .init
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x670
+ sh_offset: 1648
+ sh_size: 24
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 9
+ sh_name: .plt
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x688
+ sh_offset: 1672
+ sh_size: 160
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 16
+
+entry: 10
+ sh_name: .text
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x730
+ sh_offset: 1840
+ sh_size: 856
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 11
+ sh_name: .fini
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0xa88
+ sh_offset: 2696
+ sh_size: 14
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 12
+ sh_name: .rodata
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0xa98
+ sh_offset: 2712
+ sh_size: 120
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 13
+ sh_name: .eh_frame_hdr
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0xb10
+ sh_offset: 2832
+ sh_size: 60
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 14
+ sh_name: .eh_frame
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0xb50
+ sh_offset: 2896
+ sh_size: 220
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 15
+ sh_name: .ctors
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x200c30
+ sh_offset: 3120
+ sh_size: 16
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 16
+ sh_name: .dtors
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x200c40
+ sh_offset: 3136
+ sh_size: 16
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 17
+ sh_name: .jcr
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x200c50
+ sh_offset: 3152
+ sh_size: 8
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 18
+ sh_name: .dynamic
+ sh_type: SHT_DYNAMIC
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x200c58
+ sh_offset: 3160
+ sh_size: 400
+ sh_link: 3
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 16
+
+entry: 19
+ sh_name: .got
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x200de8
+ sh_offset: 3560
+ sh_size: 24
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 8
+
+entry: 20
+ sh_name: .got.plt
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x200e00
+ sh_offset: 3584
+ sh_size: 96
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 8
+
+entry: 21
+ sh_name: .data
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x200e60
+ sh_offset: 3680
+ sh_size: 16
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 22
+ sh_name: .bss
+ sh_type: SHT_NOBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x200e70
+ sh_offset: 3696
+ sh_size: 8
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 23
+ sh_name: .comment
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 3696
+ sh_size: 290
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 24
+ sh_name: .debug_aranges
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 4000
+ sh_size: 144
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 25
+ sh_name: .debug_info
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 4144
+ sh_size: 420
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 26
+ sh_name: .debug_abbrev
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 4564
+ sh_size: 32
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 27
+ sh_name: .debug_line
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 4596
+ sh_size: 352
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 28
+ sh_name: .shstrtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 4948
+ sh_size: 266
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 29
+ sh_name: .symtab
+ sh_type: SHT_SYMTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 7200
+ sh_size: 1752
+ sh_link: 30
+ sh_info: 51
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 30
+ sh_name: .strtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 8952
+ sh_size: 732
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
diff --git a/test/elfdump/ts/dso2/@c@p@n%test.so.err b/test/elfdump/ts/dso2/@c@p@n%test.so.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso2/@c@p@n%test.so.err
diff --git a/test/elfdump/ts/dso2/@c@p@n%test.so.out b/test/elfdump/ts/dso2/@c@p@n%test.so.out
new file mode 100644
index 0000000000000..57a82068dbc43
--- /dev/null
+++ b/test/elfdump/ts/dso2/@c@p@n%test.so.out
@@ -0,0 +1,426 @@
+
+program header:
+
+entry: 0
+ p_type: PT_LOAD
+ p_offset: 0
+ p_vaddr: 0
+ p_paddr: 0
+ p_filesz: 3116
+ p_memsz: 3116
+ p_flags: PF_X|PF_R
+ p_align: 2097152
+
+entry: 1
+ p_type: PT_LOAD
+ p_offset: 3120
+ p_vaddr: 0x200c30
+ p_paddr: 0x200c30
+ p_filesz: 576
+ p_memsz: 584
+ p_flags: PF_W|PF_R
+ p_align: 2097152
+
+entry: 2
+ p_type: PT_DYNAMIC
+ p_offset: 3160
+ p_vaddr: 0x200c58
+ p_paddr: 0x200c58
+ p_filesz: 400
+ p_memsz: 400
+ p_flags: PF_W|PF_R
+ p_align: 8
+
+entry: 3
+ p_type: PT_NULL
+ p_offset: 2832
+ p_vaddr: 0xb10
+ p_paddr: 0xb10
+ p_filesz: 60
+ p_memsz: 60
+ p_flags: PF_R
+ p_align: 4
+
+entry: 4
+ p_type: PT_LOAD
+ p_offset: 0
+ p_vaddr: 0
+ p_paddr: 0
+ p_filesz: 0
+ p_memsz: 0
+ p_flags: PF_W|PF_R
+ p_align: 8
+
+section header:
+
+entry: 0
+ sh_name:
+ sh_type: SHT_NULL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 0
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 0
+ sh_entsize: 0
+
+entry: 1
+ sh_name: .gnu.hash
+ sh_type: SHT_GNU_HASH
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x158
+ sh_offset: 344
+ sh_size: 80
+ sh_link: 2
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 2
+ sh_name: .dynsym
+ sh_type: SHT_DYNSYM
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x1a8
+ sh_offset: 424
+ sh_size: 576
+ sh_link: 3
+ sh_info: 2
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 3
+ sh_name: .dynstr
+ sh_type: SHT_STRTAB
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x3e8
+ sh_offset: 1000
+ sh_size: 196
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 4
+ sh_name: .gnu.version
+ sh_type: SHT_SUNW(GNU)_versym
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x4ac
+ sh_offset: 1196
+ sh_size: 48
+ sh_link: 2
+ sh_info: 0
+ sh_addralign: 2
+ sh_entsize: 2
+
+entry: 5
+ sh_name: .gnu.version_r
+ sh_type: SHT_SUNW(GNU)_verneed
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x4e0
+ sh_offset: 1248
+ sh_size: 64
+ sh_link: 3
+ sh_info: 2
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 6
+ sh_name: .rela.dyn
+ sh_type: SHT_RELA
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x520
+ sh_offset: 1312
+ sh_size: 120
+ sh_link: 2
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 7
+ sh_name: .rela.plt
+ sh_type: SHT_RELA
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x598
+ sh_offset: 1432
+ sh_size: 216
+ sh_link: 2
+ sh_info: 9
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 8
+ sh_name: .init
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x670
+ sh_offset: 1648
+ sh_size: 24
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 9
+ sh_name: .plt
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x688
+ sh_offset: 1672
+ sh_size: 160
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 16
+
+entry: 10
+ sh_name: .text
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x730
+ sh_offset: 1840
+ sh_size: 856
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 11
+ sh_name: .fini
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0xa88
+ sh_offset: 2696
+ sh_size: 14
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 12
+ sh_name: .rodata
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0xa98
+ sh_offset: 2712
+ sh_size: 120
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 13
+ sh_name: .eh_frame_hdr
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0xb10
+ sh_offset: 2832
+ sh_size: 60
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 14
+ sh_name: .eh_frame
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0xb50
+ sh_offset: 2896
+ sh_size: 220
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 15
+ sh_name: .ctors
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x200c30
+ sh_offset: 3120
+ sh_size: 16
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 16
+ sh_name: .dtors
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x200c40
+ sh_offset: 3136
+ sh_size: 16
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 17
+ sh_name: .jcr
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x200c50
+ sh_offset: 3152
+ sh_size: 8
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 18
+ sh_name: .dynamic
+ sh_type: SHT_DYNAMIC
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x200c58
+ sh_offset: 3160
+ sh_size: 400
+ sh_link: 3
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 16
+
+entry: 19
+ sh_name: .got
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x200de8
+ sh_offset: 3560
+ sh_size: 24
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 8
+
+entry: 20
+ sh_name: .got.plt
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x200e00
+ sh_offset: 3584
+ sh_size: 96
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 8
+
+entry: 21
+ sh_name: .data
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x200e60
+ sh_offset: 3680
+ sh_size: 16
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 22
+ sh_name: .bss
+ sh_type: SHT_NOBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x200e70
+ sh_offset: 3696
+ sh_size: 8
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 23
+ sh_name: .comment
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 3696
+ sh_size: 290
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 24
+ sh_name: .debug_aranges
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 4000
+ sh_size: 144
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 25
+ sh_name: .debug_info
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 4144
+ sh_size: 420
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 26
+ sh_name: .debug_abbrev
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 4564
+ sh_size: 32
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 27
+ sh_name: .debug_line
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 4596
+ sh_size: 352
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 28
+ sh_name: .shstrtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 4948
+ sh_size: 266
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 29
+ sh_name: .symtab
+ sh_type: SHT_SYMTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 7200
+ sh_size: 1752
+ sh_link: 30
+ sh_info: 51
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 30
+ sh_name: .strtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 8952
+ sh_size: 732
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
diff --git a/test/elfdump/ts/dso2/@c@s%test.so.err b/test/elfdump/ts/dso2/@c@s%test.so.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso2/@c@s%test.so.err
diff --git a/test/elfdump/ts/dso2/@c@s%test.so.out b/test/elfdump/ts/dso2/@c@s%test.so.out
new file mode 100644
index 0000000000000..a8c805b08d6c9
--- /dev/null
+++ b/test/elfdump/ts/dso2/@c@s%test.so.out
@@ -0,0 +1,1057 @@
+
+section header:
+
+entry: 0
+ sh_name:
+ sh_type: SHT_NULL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 0
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 0
+ sh_entsize: 0
+
+entry: 1
+ sh_name: .gnu.hash
+ sh_type: SHT_GNU_HASH
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x158
+ sh_offset: 344
+ sh_size: 80
+ sh_link: 2
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 2
+ sh_name: .dynsym
+ sh_type: SHT_DYNSYM
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x1a8
+ sh_offset: 424
+ sh_size: 576
+ sh_link: 3
+ sh_info: 2
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 3
+ sh_name: .dynstr
+ sh_type: SHT_STRTAB
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x3e8
+ sh_offset: 1000
+ sh_size: 196
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 4
+ sh_name: .gnu.version
+ sh_type: SHT_SUNW(GNU)_versym
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x4ac
+ sh_offset: 1196
+ sh_size: 48
+ sh_link: 2
+ sh_info: 0
+ sh_addralign: 2
+ sh_entsize: 2
+
+entry: 5
+ sh_name: .gnu.version_r
+ sh_type: SHT_SUNW(GNU)_verneed
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x4e0
+ sh_offset: 1248
+ sh_size: 64
+ sh_link: 3
+ sh_info: 2
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 6
+ sh_name: .rela.dyn
+ sh_type: SHT_RELA
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x520
+ sh_offset: 1312
+ sh_size: 120
+ sh_link: 2
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 7
+ sh_name: .rela.plt
+ sh_type: SHT_RELA
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x598
+ sh_offset: 1432
+ sh_size: 216
+ sh_link: 2
+ sh_info: 9
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 8
+ sh_name: .init
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x670
+ sh_offset: 1648
+ sh_size: 24
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 9
+ sh_name: .plt
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x688
+ sh_offset: 1672
+ sh_size: 160
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 16
+
+entry: 10
+ sh_name: .text
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x730
+ sh_offset: 1840
+ sh_size: 856
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 11
+ sh_name: .fini
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0xa88
+ sh_offset: 2696
+ sh_size: 14
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 12
+ sh_name: .rodata
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0xa98
+ sh_offset: 2712
+ sh_size: 120
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 13
+ sh_name: .eh_frame_hdr
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0xb10
+ sh_offset: 2832
+ sh_size: 60
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 14
+ sh_name: .eh_frame
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0xb50
+ sh_offset: 2896
+ sh_size: 220
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 15
+ sh_name: .ctors
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x200c30
+ sh_offset: 3120
+ sh_size: 16
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 16
+ sh_name: .dtors
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x200c40
+ sh_offset: 3136
+ sh_size: 16
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 17
+ sh_name: .jcr
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x200c50
+ sh_offset: 3152
+ sh_size: 8
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 18
+ sh_name: .dynamic
+ sh_type: SHT_DYNAMIC
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x200c58
+ sh_offset: 3160
+ sh_size: 400
+ sh_link: 3
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 16
+
+entry: 19
+ sh_name: .got
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x200de8
+ sh_offset: 3560
+ sh_size: 24
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 8
+
+entry: 20
+ sh_name: .got.plt
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x200e00
+ sh_offset: 3584
+ sh_size: 96
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 8
+
+entry: 21
+ sh_name: .data
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x200e60
+ sh_offset: 3680
+ sh_size: 16
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 22
+ sh_name: .bss
+ sh_type: SHT_NOBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x200e70
+ sh_offset: 3696
+ sh_size: 8
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 23
+ sh_name: .comment
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 3696
+ sh_size: 290
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 24
+ sh_name: .debug_aranges
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 4000
+ sh_size: 144
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 25
+ sh_name: .debug_info
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 4144
+ sh_size: 420
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 26
+ sh_name: .debug_abbrev
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 4564
+ sh_size: 32
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 27
+ sh_name: .debug_line
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 4596
+ sh_size: 352
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 28
+ sh_name: .shstrtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 4948
+ sh_size: 266
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 29
+ sh_name: .symtab
+ sh_type: SHT_SYMTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 7200
+ sh_size: 1752
+ sh_link: 30
+ sh_info: 51
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 30
+ sh_name: .strtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 8952
+ sh_size: 732
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+symbol table (.dynsym):
+
+entry: 0
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_LOCAL
+ st_shndx: 0
+
+entry: 1
+ st_name:
+ st_value: 0x670
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 8
+
+entry: 2
+ st_name: printf
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 3
+ st_name: __gmon_start__
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_WEAK
+ st_shndx: 0
+
+entry: 4
+ st_name: _Jv_RegisterClasses
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_WEAK
+ st_shndx: 0
+
+entry: 5
+ st_name: puts
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 6
+ st_name: toupper
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 7
+ st_name: cos
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 8
+ st_name: cosh
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 9
+ st_name: __cxa_finalize
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_WEAK
+ st_shndx: 0
+
+entry: 10
+ st_name: gets
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 11
+ st_name: tolower
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 12
+ st_name: acos
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 13
+ st_name: _end
+ st_value: 0x200e78
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 65521
+
+entry: 14
+ st_name: _edata
+ st_value: 0x200e70
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 65521
+
+entry: 15
+ st_name: add4
+ st_value: 0x802
+ st_size: 18
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 10
+
+entry: 16
+ st_name: mathstring
+ st_value: 0x828
+ st_size: 538
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 10
+
+entry: 17
+ st_name: add2
+ st_value: 0x7de
+ st_size: 18
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 10
+
+entry: 18
+ st_name: add
+ st_value: 0x7cc
+ st_size: 18
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 10
+
+entry: 19
+ st_name: __bss_start
+ st_value: 0x200e70
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 65521
+
+entry: 20
+ st_name: _init
+ st_value: 0x670
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 8
+
+entry: 21
+ st_name: _fini
+ st_value: 0xa88
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 22
+ st_name: add3
+ st_value: 0x7f0
+ st_size: 18
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 10
+
+entry: 23
+ st_name: sub
+ st_value: 0x814
+ st_size: 20
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 10
+
+symbol table (.symtab):
+
+entry: 0
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_LOCAL
+ st_shndx: 0
+
+entry: 1
+ st_name:
+ st_value: 0x158
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 1
+
+entry: 2
+ st_name:
+ st_value: 0x1a8
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 2
+
+entry: 3
+ st_name:
+ st_value: 0x3e8
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 3
+
+entry: 4
+ st_name:
+ st_value: 0x4ac
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 4
+
+entry: 5
+ st_name:
+ st_value: 0x4e0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 5
+
+entry: 6
+ st_name:
+ st_value: 0x520
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 6
+
+entry: 7
+ st_name:
+ st_value: 0x598
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 7
+
+entry: 8
+ st_name:
+ st_value: 0x670
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 8
+
+entry: 9
+ st_name:
+ st_value: 0x688
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 9
+
+entry: 10
+ st_name:
+ st_value: 0x730
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 10
+
+entry: 11
+ st_name:
+ st_value: 0xa88
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 11
+
+entry: 12
+ st_name:
+ st_value: 0xa98
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 12
+
+entry: 13
+ st_name:
+ st_value: 0xb10
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 13
+
+entry: 14
+ st_name:
+ st_value: 0xb50
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 14
+
+entry: 15
+ st_name:
+ st_value: 0x200c30
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 15
+
+entry: 16
+ st_name:
+ st_value: 0x200c40
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 16
+
+entry: 17
+ st_name:
+ st_value: 0x200c50
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 17
+
+entry: 18
+ st_name:
+ st_value: 0x200c58
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 18
+
+entry: 19
+ st_name:
+ st_value: 0x200de8
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 19
+
+entry: 20
+ st_name:
+ st_value: 0x200e00
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 20
+
+entry: 21
+ st_name:
+ st_value: 0x200e60
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 21
+
+entry: 22
+ st_name:
+ st_value: 0x200e70
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 22
+
+entry: 23
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 23
+
+entry: 24
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 24
+
+entry: 25
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 25
+
+entry: 26
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 26
+
+entry: 27
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 27
+
+entry: 28
+ st_name: initfini.c
+ st_value: 0
+ st_size: 0
+ st_info: STT_FILE STB_LOCAL
+ st_shndx: 65521
+
+entry: 29
+ st_name: /home/aurel32/debian/co-packages/glibc/etch/glibc-2.3.6.ds1/build-tree/amd64-libc/csu/crti.S
+ st_value: 0
+ st_size: 0
+ st_info: STT_FILE STB_LOCAL
+ st_shndx: 65521
+
+entry: 30
+ st_name: call_gmon_start
+ st_value: 0x730
+ st_size: 0
+ st_info: STT_FUNC STB_LOCAL
+ st_shndx: 10
+
+entry: 31
+ st_name: crtstuff.c
+ st_value: 0
+ st_size: 0
+ st_info: STT_FILE STB_LOCAL
+ st_shndx: 65521
+
+entry: 32
+ st_name: __CTOR_LIST__
+ st_value: 0x200c30
+ st_size: 0
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 15
+
+entry: 33
+ st_name: __DTOR_LIST__
+ st_value: 0x200c40
+ st_size: 0
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 16
+
+entry: 34
+ st_name: __JCR_LIST__
+ st_value: 0x200c50
+ st_size: 0
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 17
+
+entry: 35
+ st_name: completed.5959
+ st_value: 0x200e70
+ st_size: 1
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 22
+
+entry: 36
+ st_name: p.5957
+ st_value: 0x200e68
+ st_size: 0
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 21
+
+entry: 37
+ st_name: __do_global_dtors_aux
+ st_value: 0x750
+ st_size: 0
+ st_info: STT_FUNC STB_LOCAL
+ st_shndx: 10
+
+entry: 38
+ st_name: frame_dummy
+ st_value: 0x7a0
+ st_size: 0
+ st_info: STT_FUNC STB_LOCAL
+ st_shndx: 10
+
+entry: 39
+ st_name: crtstuff.c
+ st_value: 0
+ st_size: 0
+ st_info: STT_FILE STB_LOCAL
+ st_shndx: 65521
+
+entry: 40
+ st_name: __CTOR_END__
+ st_value: 0x200c38
+ st_size: 0
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 15
+
+entry: 41
+ st_name: __DTOR_END__
+ st_value: 0x200c48
+ st_size: 0
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 16
+
+entry: 42
+ st_name: __FRAME_END__
+ st_value: 0xc28
+ st_size: 0
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 14
+
+entry: 43
+ st_name: __JCR_END__
+ st_value: 0x200c50
+ st_size: 0
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 17
+
+entry: 44
+ st_name: __do_global_ctors_aux
+ st_value: 0xa50
+ st_size: 0
+ st_info: STT_FUNC STB_LOCAL
+ st_shndx: 10
+
+entry: 45
+ st_name: initfini.c
+ st_value: 0
+ st_size: 0
+ st_info: STT_FILE STB_LOCAL
+ st_shndx: 65521
+
+entry: 46
+ st_name: /home/aurel32/debian/co-packages/glibc/etch/glibc-2.3.6.ds1/build-tree/amd64-libc/csu/crtn.S
+ st_value: 0
+ st_size: 0
+ st_info: STT_FILE STB_LOCAL
+ st_shndx: 65521
+
+entry: 47
+ st_name: test2.c
+ st_value: 0
+ st_size: 0
+ st_info: STT_FILE STB_LOCAL
+ st_shndx: 65521
+
+entry: 48
+ st_name: _GLOBAL_OFFSET_TABLE_
+ st_value: 0x200e00
+ st_size: 0
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 65521
+
+entry: 49
+ st_name: __dso_handle
+ st_value: 0x200e60
+ st_size: 0
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 21
+
+entry: 50
+ st_name: _DYNAMIC
+ st_value: 0x200c58
+ st_size: 0
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 65521
+
+entry: 51
+ st_name: printf@@GLIBC_2.2.5
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 52
+ st_name: mathstring
+ st_value: 0x828
+ st_size: 538
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 10
+
+entry: 53
+ st_name: __gmon_start__
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_WEAK
+ st_shndx: 0
+
+entry: 54
+ st_name: _Jv_RegisterClasses
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_WEAK
+ st_shndx: 0
+
+entry: 55
+ st_name: puts@@GLIBC_2.2.5
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 56
+ st_name: toupper@@GLIBC_2.2.5
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 57
+ st_name: _fini
+ st_value: 0xa88
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 58
+ st_name: add3
+ st_value: 0x7f0
+ st_size: 18
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 10
+
+entry: 59
+ st_name: cos@@GLIBC_2.2.5
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 60
+ st_name: cosh@@GLIBC_2.2.5
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 61
+ st_name: __cxa_finalize@@GLIBC_2.2.5
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_WEAK
+ st_shndx: 0
+
+entry: 62
+ st_name: add2
+ st_value: 0x7de
+ st_size: 18
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 10
+
+entry: 63
+ st_name: gets@@GLIBC_2.2.5
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 64
+ st_name: add
+ st_value: 0x7cc
+ st_size: 18
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 10
+
+entry: 65
+ st_name: __bss_start
+ st_value: 0x200e70
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 65521
+
+entry: 66
+ st_name: tolower@@GLIBC_2.2.5
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 67
+ st_name: acos@@GLIBC_2.2.5
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 68
+ st_name: _end
+ st_value: 0x200e78
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 65521
+
+entry: 69
+ st_name: _edata
+ st_value: 0x200e70
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 65521
+
+entry: 70
+ st_name: sub
+ st_value: 0x814
+ st_size: 20
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 10
+
+entry: 71
+ st_name: _init
+ st_value: 0x670
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 8
+
+entry: 72
+ st_name: add4
+ st_value: 0x802
+ st_size: 18
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 10
diff --git a/test/elfdump/ts/dso2/@d%test.so.err b/test/elfdump/ts/dso2/@d%test.so.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso2/@d%test.so.err
diff --git a/test/elfdump/ts/dso2/@d%test.so.out b/test/elfdump/ts/dso2/@d%test.so.out
new file mode 100644
index 0000000000000..8ba63bf9fde88
--- /dev/null
+++ b/test/elfdump/ts/dso2/@d%test.so.out
@@ -0,0 +1,97 @@
+
+dynamic:
+
+entry: 0
+ d_tag: DT_NEEDED
+ d_val: libm.so.6
+
+entry: 1
+ d_tag: DT_NEEDED
+ d_val: libc.so.6
+
+entry: 2
+ d_tag: DT_INIT
+ d_ptr: 0x670
+
+entry: 3
+ d_tag: DT_FINI
+ d_ptr: 0xa88
+
+entry: 4
+ d_tag: DT_GNU_HASH
+ d_ptr: 0x158
+
+entry: 5
+ d_tag: DT_STRTAB
+ d_ptr: 0x3e8
+
+entry: 6
+ d_tag: DT_SYMTAB
+ d_ptr: 0x1a8
+
+entry: 7
+ d_tag: DT_STRSZ
+ d_val: 196
+
+entry: 8
+ d_tag: DT_SYMENT
+ d_val: 24
+
+entry: 9
+ d_tag: DT_PLTGOT
+ d_ptr: 0x200e00
+
+entry: 10
+ d_tag: DT_PLTRELSZ
+ d_val: 216
+
+entry: 11
+ d_tag: DT_PLTREL
+ d_val: 7
+
+entry: 12
+ d_tag: DT_JMPREL
+ d_ptr: 0x598
+
+entry: 13
+ d_tag: DT_RELA
+ d_val: 1312
+
+entry: 14
+ d_tag: DT_RELASZ
+ d_val: 120
+
+entry: 15
+ d_tag: DT_RELAENT
+ d_val: 24
+
+entry: 16
+ d_tag: DT_VERNEED
+ d_val: 1248
+
+entry: 17
+ d_tag: DT_VERNEEDNUM
+ d_val: 2
+
+entry: 18
+ d_tag: DT_GNU_VERSYM
+ d_val: 1196
+
+entry: 19
+ d_tag: DT_RELACOUNT
+ d_val: 2
+
+entry: 20
+ d_tag: DT_NULL
+
+entry: 21
+ d_tag: DT_NULL
+
+entry: 22
+ d_tag: DT_NULL
+
+entry: 23
+ d_tag: DT_NULL
+
+entry: 24
+ d_tag: DT_NULL
diff --git a/test/elfdump/ts/dso2/@e%test.so.err b/test/elfdump/ts/dso2/@e%test.so.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso2/@e%test.so.err
diff --git a/test/elfdump/ts/dso2/@e%test.so.out b/test/elfdump/ts/dso2/@e%test.so.out
new file mode 100644
index 0000000000000..427aef9d2bb5c
--- /dev/null
+++ b/test/elfdump/ts/dso2/@e%test.so.out
@@ -0,0 +1,17 @@
+
+elf header:
+
+ e_ident: ELFCLASS64 ELFDATA2LSB ELFOSABI_SYSV
+ e_type: ET_DYN
+ e_machine: EM_X86_64
+ e_version: EV_CURRENT
+ e_entry: 0x730
+ e_phoff: 64
+ e_shoff: 5216
+ e_flags: 0
+ e_ehsize: 64
+ e_phentsize: 56
+ e_phnum: 5
+ e_shentsize: 64
+ e_shnum: 31
+ e_shstrndx: 28
diff --git a/test/elfdump/ts/dso2/@e@i%test.so.err b/test/elfdump/ts/dso2/@e@i%test.so.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso2/@e@i%test.so.err
diff --git a/test/elfdump/ts/dso2/@e@i%test.so.out b/test/elfdump/ts/dso2/@e@i%test.so.out
new file mode 100644
index 0000000000000..427aef9d2bb5c
--- /dev/null
+++ b/test/elfdump/ts/dso2/@e@i%test.so.out
@@ -0,0 +1,17 @@
+
+elf header:
+
+ e_ident: ELFCLASS64 ELFDATA2LSB ELFOSABI_SYSV
+ e_type: ET_DYN
+ e_machine: EM_X86_64
+ e_version: EV_CURRENT
+ e_entry: 0x730
+ e_phoff: 64
+ e_shoff: 5216
+ e_flags: 0
+ e_ehsize: 64
+ e_phentsize: 56
+ e_phnum: 5
+ e_shentsize: 64
+ e_shnum: 31
+ e_shstrndx: 28
diff --git a/test/elfdump/ts/dso2/@e@p@c%test.so.err b/test/elfdump/ts/dso2/@e@p@c%test.so.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso2/@e@p@c%test.so.err
diff --git a/test/elfdump/ts/dso2/@e@p@c%test.so.out b/test/elfdump/ts/dso2/@e@p@c%test.so.out
new file mode 100644
index 0000000000000..370dced8b06f4
--- /dev/null
+++ b/test/elfdump/ts/dso2/@e@p@c%test.so.out
@@ -0,0 +1,443 @@
+
+elf header:
+
+ e_ident: ELFCLASS64 ELFDATA2LSB ELFOSABI_SYSV
+ e_type: ET_DYN
+ e_machine: EM_X86_64
+ e_version: EV_CURRENT
+ e_entry: 0x730
+ e_phoff: 64
+ e_shoff: 5216
+ e_flags: 0
+ e_ehsize: 64
+ e_phentsize: 56
+ e_phnum: 5
+ e_shentsize: 64
+ e_shnum: 31
+ e_shstrndx: 28
+
+program header:
+
+entry: 0
+ p_type: PT_LOAD
+ p_offset: 0
+ p_vaddr: 0
+ p_paddr: 0
+ p_filesz: 3116
+ p_memsz: 3116
+ p_flags: PF_X|PF_R
+ p_align: 2097152
+
+entry: 1
+ p_type: PT_LOAD
+ p_offset: 3120
+ p_vaddr: 0x200c30
+ p_paddr: 0x200c30
+ p_filesz: 576
+ p_memsz: 584
+ p_flags: PF_W|PF_R
+ p_align: 2097152
+
+entry: 2
+ p_type: PT_DYNAMIC
+ p_offset: 3160
+ p_vaddr: 0x200c58
+ p_paddr: 0x200c58
+ p_filesz: 400
+ p_memsz: 400
+ p_flags: PF_W|PF_R
+ p_align: 8
+
+entry: 3
+ p_type: PT_NULL
+ p_offset: 2832
+ p_vaddr: 0xb10
+ p_paddr: 0xb10
+ p_filesz: 60
+ p_memsz: 60
+ p_flags: PF_R
+ p_align: 4
+
+entry: 4
+ p_type: PT_LOAD
+ p_offset: 0
+ p_vaddr: 0
+ p_paddr: 0
+ p_filesz: 0
+ p_memsz: 0
+ p_flags: PF_W|PF_R
+ p_align: 8
+
+section header:
+
+entry: 0
+ sh_name:
+ sh_type: SHT_NULL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 0
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 0
+ sh_entsize: 0
+
+entry: 1
+ sh_name: .gnu.hash
+ sh_type: SHT_GNU_HASH
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x158
+ sh_offset: 344
+ sh_size: 80
+ sh_link: 2
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 2
+ sh_name: .dynsym
+ sh_type: SHT_DYNSYM
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x1a8
+ sh_offset: 424
+ sh_size: 576
+ sh_link: 3
+ sh_info: 2
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 3
+ sh_name: .dynstr
+ sh_type: SHT_STRTAB
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x3e8
+ sh_offset: 1000
+ sh_size: 196
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 4
+ sh_name: .gnu.version
+ sh_type: SHT_SUNW(GNU)_versym
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x4ac
+ sh_offset: 1196
+ sh_size: 48
+ sh_link: 2
+ sh_info: 0
+ sh_addralign: 2
+ sh_entsize: 2
+
+entry: 5
+ sh_name: .gnu.version_r
+ sh_type: SHT_SUNW(GNU)_verneed
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x4e0
+ sh_offset: 1248
+ sh_size: 64
+ sh_link: 3
+ sh_info: 2
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 6
+ sh_name: .rela.dyn
+ sh_type: SHT_RELA
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x520
+ sh_offset: 1312
+ sh_size: 120
+ sh_link: 2
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 7
+ sh_name: .rela.plt
+ sh_type: SHT_RELA
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x598
+ sh_offset: 1432
+ sh_size: 216
+ sh_link: 2
+ sh_info: 9
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 8
+ sh_name: .init
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x670
+ sh_offset: 1648
+ sh_size: 24
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 9
+ sh_name: .plt
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x688
+ sh_offset: 1672
+ sh_size: 160
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 16
+
+entry: 10
+ sh_name: .text
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x730
+ sh_offset: 1840
+ sh_size: 856
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 11
+ sh_name: .fini
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0xa88
+ sh_offset: 2696
+ sh_size: 14
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 12
+ sh_name: .rodata
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0xa98
+ sh_offset: 2712
+ sh_size: 120
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 13
+ sh_name: .eh_frame_hdr
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0xb10
+ sh_offset: 2832
+ sh_size: 60
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 14
+ sh_name: .eh_frame
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0xb50
+ sh_offset: 2896
+ sh_size: 220
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 15
+ sh_name: .ctors
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x200c30
+ sh_offset: 3120
+ sh_size: 16
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 16
+ sh_name: .dtors
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x200c40
+ sh_offset: 3136
+ sh_size: 16
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 17
+ sh_name: .jcr
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x200c50
+ sh_offset: 3152
+ sh_size: 8
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 18
+ sh_name: .dynamic
+ sh_type: SHT_DYNAMIC
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x200c58
+ sh_offset: 3160
+ sh_size: 400
+ sh_link: 3
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 16
+
+entry: 19
+ sh_name: .got
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x200de8
+ sh_offset: 3560
+ sh_size: 24
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 8
+
+entry: 20
+ sh_name: .got.plt
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x200e00
+ sh_offset: 3584
+ sh_size: 96
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 8
+
+entry: 21
+ sh_name: .data
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x200e60
+ sh_offset: 3680
+ sh_size: 16
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 22
+ sh_name: .bss
+ sh_type: SHT_NOBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x200e70
+ sh_offset: 3696
+ sh_size: 8
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 23
+ sh_name: .comment
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 3696
+ sh_size: 290
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 24
+ sh_name: .debug_aranges
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 4000
+ sh_size: 144
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 25
+ sh_name: .debug_info
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 4144
+ sh_size: 420
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 26
+ sh_name: .debug_abbrev
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 4564
+ sh_size: 32
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 27
+ sh_name: .debug_line
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 4596
+ sh_size: 352
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 28
+ sh_name: .shstrtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 4948
+ sh_size: 266
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 29
+ sh_name: .symtab
+ sh_type: SHT_SYMTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 7200
+ sh_size: 1752
+ sh_link: 30
+ sh_info: 51
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 30
+ sh_name: .strtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 8952
+ sh_size: 732
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
diff --git a/test/elfdump/ts/dso2/@h%test.so.err b/test/elfdump/ts/dso2/@h%test.so.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso2/@h%test.so.err
diff --git a/test/elfdump/ts/dso2/@h%test.so.out b/test/elfdump/ts/dso2/@h%test.so.out
new file mode 100644
index 0000000000000..25f62f37eb5e9
--- /dev/null
+++ b/test/elfdump/ts/dso2/@h%test.so.out
@@ -0,0 +1,51 @@
+
+gnu hash table (.gnu.hash):
+
+nbucket: 3
+symndx: 13
+maskwords: 1
+shift2: 6
+nchain: 11
+
+bucket[0]:
+ 13
+
+bucket[1]:
+ 16
+
+bucket[2]:
+ 21
+
+chain[0]:
+ 2090001338
+
+chain[1]:
+ 3973399874
+
+chain[2]:
+ 2090071747
+
+chain[3]:
+ 2038844230
+
+chain[4]:
+ 2090071744
+
+chain[5]:
+ 193486030
+
+chain[6]:
+ 475558360
+
+chain[7]:
+ 250711481
+
+chain[8]:
+ 250598378
+
+chain[9]:
+ 2090071744
+
+chain[10]:
+ 193506191
+
diff --git a/test/elfdump/ts/dso2/@n%test.so.err b/test/elfdump/ts/dso2/@n%test.so.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso2/@n%test.so.err
diff --git a/test/elfdump/ts/dso2/@n%test.so.out b/test/elfdump/ts/dso2/@n%test.so.out
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso2/@n%test.so.out
diff --git a/test/elfdump/ts/dso2/@p%test.so.err b/test/elfdump/ts/dso2/@p%test.so.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso2/@p%test.so.err
diff --git a/test/elfdump/ts/dso2/@p%test.so.out b/test/elfdump/ts/dso2/@p%test.so.out
new file mode 100644
index 0000000000000..99b2fb9f22508
--- /dev/null
+++ b/test/elfdump/ts/dso2/@p%test.so.out
@@ -0,0 +1,52 @@
+
+program header:
+
+entry: 0
+ p_type: PT_LOAD
+ p_offset: 0
+ p_vaddr: 0
+ p_paddr: 0
+ p_filesz: 3116
+ p_memsz: 3116
+ p_flags: PF_X|PF_R
+ p_align: 2097152
+
+entry: 1
+ p_type: PT_LOAD
+ p_offset: 3120
+ p_vaddr: 0x200c30
+ p_paddr: 0x200c30
+ p_filesz: 576
+ p_memsz: 584
+ p_flags: PF_W|PF_R
+ p_align: 2097152
+
+entry: 2
+ p_type: PT_DYNAMIC
+ p_offset: 3160
+ p_vaddr: 0x200c58
+ p_paddr: 0x200c58
+ p_filesz: 400
+ p_memsz: 400
+ p_flags: PF_W|PF_R
+ p_align: 8
+
+entry: 3
+ p_type: PT_NULL
+ p_offset: 2832
+ p_vaddr: 0xb10
+ p_paddr: 0xb10
+ p_filesz: 60
+ p_memsz: 60
+ p_flags: PF_R
+ p_align: 4
+
+entry: 4
+ p_type: PT_LOAD
+ p_offset: 0
+ p_vaddr: 0
+ p_paddr: 0
+ p_filesz: 0
+ p_memsz: 0
+ p_flags: PF_W|PF_R
+ p_align: 8
diff --git a/test/elfdump/ts/dso2/@p@s%test.so.err b/test/elfdump/ts/dso2/@p@s%test.so.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso2/@p@s%test.so.err
diff --git a/test/elfdump/ts/dso2/@p@s%test.so.out b/test/elfdump/ts/dso2/@p@s%test.so.out
new file mode 100644
index 0000000000000..ae24ddb363901
--- /dev/null
+++ b/test/elfdump/ts/dso2/@p@s%test.so.out
@@ -0,0 +1,735 @@
+
+program header:
+
+entry: 0
+ p_type: PT_LOAD
+ p_offset: 0
+ p_vaddr: 0
+ p_paddr: 0
+ p_filesz: 3116
+ p_memsz: 3116
+ p_flags: PF_X|PF_R
+ p_align: 2097152
+
+entry: 1
+ p_type: PT_LOAD
+ p_offset: 3120
+ p_vaddr: 0x200c30
+ p_paddr: 0x200c30
+ p_filesz: 576
+ p_memsz: 584
+ p_flags: PF_W|PF_R
+ p_align: 2097152
+
+entry: 2
+ p_type: PT_DYNAMIC
+ p_offset: 3160
+ p_vaddr: 0x200c58
+ p_paddr: 0x200c58
+ p_filesz: 400
+ p_memsz: 400
+ p_flags: PF_W|PF_R
+ p_align: 8
+
+entry: 3
+ p_type: PT_NULL
+ p_offset: 2832
+ p_vaddr: 0xb10
+ p_paddr: 0xb10
+ p_filesz: 60
+ p_memsz: 60
+ p_flags: PF_R
+ p_align: 4
+
+entry: 4
+ p_type: PT_LOAD
+ p_offset: 0
+ p_vaddr: 0
+ p_paddr: 0
+ p_filesz: 0
+ p_memsz: 0
+ p_flags: PF_W|PF_R
+ p_align: 8
+
+symbol table (.dynsym):
+
+entry: 0
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_LOCAL
+ st_shndx: 0
+
+entry: 1
+ st_name:
+ st_value: 0x670
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 8
+
+entry: 2
+ st_name: printf
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 3
+ st_name: __gmon_start__
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_WEAK
+ st_shndx: 0
+
+entry: 4
+ st_name: _Jv_RegisterClasses
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_WEAK
+ st_shndx: 0
+
+entry: 5
+ st_name: puts
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 6
+ st_name: toupper
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 7
+ st_name: cos
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 8
+ st_name: cosh
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 9
+ st_name: __cxa_finalize
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_WEAK
+ st_shndx: 0
+
+entry: 10
+ st_name: gets
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 11
+ st_name: tolower
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 12
+ st_name: acos
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 13
+ st_name: _end
+ st_value: 0x200e78
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 65521
+
+entry: 14
+ st_name: _edata
+ st_value: 0x200e70
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 65521
+
+entry: 15
+ st_name: add4
+ st_value: 0x802
+ st_size: 18
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 10
+
+entry: 16
+ st_name: mathstring
+ st_value: 0x828
+ st_size: 538
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 10
+
+entry: 17
+ st_name: add2
+ st_value: 0x7de
+ st_size: 18
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 10
+
+entry: 18
+ st_name: add
+ st_value: 0x7cc
+ st_size: 18
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 10
+
+entry: 19
+ st_name: __bss_start
+ st_value: 0x200e70
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 65521
+
+entry: 20
+ st_name: _init
+ st_value: 0x670
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 8
+
+entry: 21
+ st_name: _fini
+ st_value: 0xa88
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 22
+ st_name: add3
+ st_value: 0x7f0
+ st_size: 18
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 10
+
+entry: 23
+ st_name: sub
+ st_value: 0x814
+ st_size: 20
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 10
+
+symbol table (.symtab):
+
+entry: 0
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_LOCAL
+ st_shndx: 0
+
+entry: 1
+ st_name:
+ st_value: 0x158
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 1
+
+entry: 2
+ st_name:
+ st_value: 0x1a8
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 2
+
+entry: 3
+ st_name:
+ st_value: 0x3e8
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 3
+
+entry: 4
+ st_name:
+ st_value: 0x4ac
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 4
+
+entry: 5
+ st_name:
+ st_value: 0x4e0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 5
+
+entry: 6
+ st_name:
+ st_value: 0x520
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 6
+
+entry: 7
+ st_name:
+ st_value: 0x598
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 7
+
+entry: 8
+ st_name:
+ st_value: 0x670
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 8
+
+entry: 9
+ st_name:
+ st_value: 0x688
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 9
+
+entry: 10
+ st_name:
+ st_value: 0x730
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 10
+
+entry: 11
+ st_name:
+ st_value: 0xa88
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 11
+
+entry: 12
+ st_name:
+ st_value: 0xa98
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 12
+
+entry: 13
+ st_name:
+ st_value: 0xb10
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 13
+
+entry: 14
+ st_name:
+ st_value: 0xb50
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 14
+
+entry: 15
+ st_name:
+ st_value: 0x200c30
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 15
+
+entry: 16
+ st_name:
+ st_value: 0x200c40
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 16
+
+entry: 17
+ st_name:
+ st_value: 0x200c50
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 17
+
+entry: 18
+ st_name:
+ st_value: 0x200c58
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 18
+
+entry: 19
+ st_name:
+ st_value: 0x200de8
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 19
+
+entry: 20
+ st_name:
+ st_value: 0x200e00
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 20
+
+entry: 21
+ st_name:
+ st_value: 0x200e60
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 21
+
+entry: 22
+ st_name:
+ st_value: 0x200e70
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 22
+
+entry: 23
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 23
+
+entry: 24
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 24
+
+entry: 25
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 25
+
+entry: 26
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 26
+
+entry: 27
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_SECTION STB_LOCAL
+ st_shndx: 27
+
+entry: 28
+ st_name: initfini.c
+ st_value: 0
+ st_size: 0
+ st_info: STT_FILE STB_LOCAL
+ st_shndx: 65521
+
+entry: 29
+ st_name: /home/aurel32/debian/co-packages/glibc/etch/glibc-2.3.6.ds1/build-tree/amd64-libc/csu/crti.S
+ st_value: 0
+ st_size: 0
+ st_info: STT_FILE STB_LOCAL
+ st_shndx: 65521
+
+entry: 30
+ st_name: call_gmon_start
+ st_value: 0x730
+ st_size: 0
+ st_info: STT_FUNC STB_LOCAL
+ st_shndx: 10
+
+entry: 31
+ st_name: crtstuff.c
+ st_value: 0
+ st_size: 0
+ st_info: STT_FILE STB_LOCAL
+ st_shndx: 65521
+
+entry: 32
+ st_name: __CTOR_LIST__
+ st_value: 0x200c30
+ st_size: 0
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 15
+
+entry: 33
+ st_name: __DTOR_LIST__
+ st_value: 0x200c40
+ st_size: 0
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 16
+
+entry: 34
+ st_name: __JCR_LIST__
+ st_value: 0x200c50
+ st_size: 0
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 17
+
+entry: 35
+ st_name: completed.5959
+ st_value: 0x200e70
+ st_size: 1
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 22
+
+entry: 36
+ st_name: p.5957
+ st_value: 0x200e68
+ st_size: 0
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 21
+
+entry: 37
+ st_name: __do_global_dtors_aux
+ st_value: 0x750
+ st_size: 0
+ st_info: STT_FUNC STB_LOCAL
+ st_shndx: 10
+
+entry: 38
+ st_name: frame_dummy
+ st_value: 0x7a0
+ st_size: 0
+ st_info: STT_FUNC STB_LOCAL
+ st_shndx: 10
+
+entry: 39
+ st_name: crtstuff.c
+ st_value: 0
+ st_size: 0
+ st_info: STT_FILE STB_LOCAL
+ st_shndx: 65521
+
+entry: 40
+ st_name: __CTOR_END__
+ st_value: 0x200c38
+ st_size: 0
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 15
+
+entry: 41
+ st_name: __DTOR_END__
+ st_value: 0x200c48
+ st_size: 0
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 16
+
+entry: 42
+ st_name: __FRAME_END__
+ st_value: 0xc28
+ st_size: 0
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 14
+
+entry: 43
+ st_name: __JCR_END__
+ st_value: 0x200c50
+ st_size: 0
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 17
+
+entry: 44
+ st_name: __do_global_ctors_aux
+ st_value: 0xa50
+ st_size: 0
+ st_info: STT_FUNC STB_LOCAL
+ st_shndx: 10
+
+entry: 45
+ st_name: initfini.c
+ st_value: 0
+ st_size: 0
+ st_info: STT_FILE STB_LOCAL
+ st_shndx: 65521
+
+entry: 46
+ st_name: /home/aurel32/debian/co-packages/glibc/etch/glibc-2.3.6.ds1/build-tree/amd64-libc/csu/crtn.S
+ st_value: 0
+ st_size: 0
+ st_info: STT_FILE STB_LOCAL
+ st_shndx: 65521
+
+entry: 47
+ st_name: test2.c
+ st_value: 0
+ st_size: 0
+ st_info: STT_FILE STB_LOCAL
+ st_shndx: 65521
+
+entry: 48
+ st_name: _GLOBAL_OFFSET_TABLE_
+ st_value: 0x200e00
+ st_size: 0
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 65521
+
+entry: 49
+ st_name: __dso_handle
+ st_value: 0x200e60
+ st_size: 0
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 21
+
+entry: 50
+ st_name: _DYNAMIC
+ st_value: 0x200c58
+ st_size: 0
+ st_info: STT_OBJECT STB_LOCAL
+ st_shndx: 65521
+
+entry: 51
+ st_name: printf@@GLIBC_2.2.5
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 52
+ st_name: mathstring
+ st_value: 0x828
+ st_size: 538
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 10
+
+entry: 53
+ st_name: __gmon_start__
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_WEAK
+ st_shndx: 0
+
+entry: 54
+ st_name: _Jv_RegisterClasses
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_WEAK
+ st_shndx: 0
+
+entry: 55
+ st_name: puts@@GLIBC_2.2.5
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 56
+ st_name: toupper@@GLIBC_2.2.5
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 57
+ st_name: _fini
+ st_value: 0xa88
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 11
+
+entry: 58
+ st_name: add3
+ st_value: 0x7f0
+ st_size: 18
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 10
+
+entry: 59
+ st_name: cos@@GLIBC_2.2.5
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 60
+ st_name: cosh@@GLIBC_2.2.5
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 61
+ st_name: __cxa_finalize@@GLIBC_2.2.5
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_WEAK
+ st_shndx: 0
+
+entry: 62
+ st_name: add2
+ st_value: 0x7de
+ st_size: 18
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 10
+
+entry: 63
+ st_name: gets@@GLIBC_2.2.5
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 64
+ st_name: add
+ st_value: 0x7cc
+ st_size: 18
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 10
+
+entry: 65
+ st_name: __bss_start
+ st_value: 0x200e70
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 65521
+
+entry: 66
+ st_name: tolower@@GLIBC_2.2.5
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 67
+ st_name: acos@@GLIBC_2.2.5
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 68
+ st_name: _end
+ st_value: 0x200e78
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 65521
+
+entry: 69
+ st_name: _edata
+ st_value: 0x200e70
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 65521
+
+entry: 70
+ st_name: sub
+ st_value: 0x814
+ st_size: 20
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 10
+
+entry: 71
+ st_name: _init
+ st_value: 0x670
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 8
+
+entry: 72
+ st_name: add4
+ st_value: 0x802
+ st_size: 18
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 10
diff --git a/test/elfdump/ts/dso2/@r%test.so.err b/test/elfdump/ts/dso2/@r%test.so.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/dso2/@r%test.so.err
diff --git a/test/elfdump/ts/dso2/@r%test.so.out b/test/elfdump/ts/dso2/@r%test.so.out
new file mode 100644
index 0000000000000..c394e902f3285
--- /dev/null
+++ b/test/elfdump/ts/dso2/@r%test.so.out
@@ -0,0 +1,74 @@
+
+relocation with addend (.rela.dyn):
+
+entry: 0
+ r_offset: 0x200e60
+ r_info: 0x8
+ r_addend: 2100832
+
+entry: 1
+ r_offset: 0x200e68
+ r_info: 0x8
+ r_addend: 2100296
+
+entry: 2
+ r_offset: 0x200de8
+ r_info: 0x300000006
+ r_addend: 0
+
+entry: 3
+ r_offset: 0x200df0
+ r_info: 0x400000006
+ r_addend: 0
+
+entry: 4
+ r_offset: 0x200df8
+ r_info: 0x900000006
+ r_addend: 0
+
+relocation with addend (.rela.plt):
+
+entry: 0
+ r_offset: 0x200e18
+ r_info: 0x200000007
+ r_addend: 0
+
+entry: 1
+ r_offset: 0x200e20
+ r_info: 0x500000007
+ r_addend: 0
+
+entry: 2
+ r_offset: 0x200e28
+ r_info: 0x600000007
+ r_addend: 0
+
+entry: 3
+ r_offset: 0x200e30
+ r_info: 0x700000007
+ r_addend: 0
+
+entry: 4
+ r_offset: 0x200e38
+ r_info: 0x800000007
+ r_addend: 0
+
+entry: 5
+ r_offset: 0x200e40
+ r_info: 0x900000007
+ r_addend: 0
+
+entry: 6
+ r_offset: 0x200e48
+ r_info: 0xa00000007
+ r_addend: 0
+
+entry: 7
+ r_offset: 0x200e50
+ r_info: 0xb00000007
+ r_addend: 0
+
+entry: 8
+ r_offset: 0x200e58
+ r_info: 0xc00000007
+ r_addend: 0
diff --git a/test/elfdump/ts/dso2/tc b/test/elfdump/ts/dso2/tc
new file mode 100755
index 0000000000000..73659a6421ac3
--- /dev/null
+++ b/test/elfdump/ts/dso2/tc
@@ -0,0 +1,156 @@
+#!/bin/sh
+#
+# $Id: tc 2083 2011-10-27 04:41:39Z jkoshy $
+
+tp1()
+{
+ run "@e%test.so"
+}
+
+tp2()
+{
+ run "@p%test.so"
+}
+
+tp3()
+{
+ run "@G%test.so"
+}
+
+tp4()
+{
+ run "@n%test.so"
+}
+
+tp5()
+{
+ run "@p@s%test.so"
+}
+
+tp6()
+{
+ run "@c%test.so"
+}
+
+tp7()
+{
+ run "@c@s%test.so"
+}
+
+tp8()
+{
+ run "@c@p@n%test.so"
+}
+
+tp9()
+{
+ run "@d%test.so"
+}
+
+tp10()
+{
+ run "@e@i%test.so"
+}
+
+tp11()
+{
+ run "@r%test.so"
+}
+
+tp12()
+{
+ run "@h%test.so"
+}
+
+tp13()
+{
+ run "@e@p@c%test.so"
+}
+
+tp14()
+{
+ run "@S@e%test.so"
+}
+
+tp15()
+{
+ run "@S@p%test.so"
+}
+
+tp16()
+{
+ run "@S@G%test.so"
+}
+
+tp17()
+{
+ run "@S@r%test.so"
+}
+
+tp18()
+{
+ run "@S@d%test.so"
+}
+
+tp19()
+{
+ run "@S@n%test.so"
+}
+
+tp20()
+{
+ run "@S@c%test.so"
+}
+
+tp21()
+{
+ run "@S@s%test.so"
+}
+
+tp22()
+{
+ run "@S@k%test.so"
+}
+
+tp23()
+{
+ run "@S@v%test.so"
+}
+
+tp24()
+{
+ run "@S@h%test.so"
+}
+
+tet_startup=""
+tet_cleanup="cleanup"
+
+iclist="ic1 ic2 ic3 ic4 ic5 ic6 ic7 ic8 ic9 ic10 ic11 ic12 ic13 ic14 ic15 ic16 ic17 ic18 ic19 ic20 ic21 ic22 ic23 ic24"
+
+ic1="tp1"
+ic2="tp2"
+ic3="tp3"
+ic4="tp4"
+ic5="tp5"
+ic6="tp6"
+ic7="tp7"
+ic8="tp8"
+ic9="tp9"
+ic10="tp10"
+ic11="tp11"
+ic12="tp12"
+ic13="tp13"
+ic14="tp14"
+ic15="tp15"
+ic16="tp16"
+ic17="tp17"
+ic18="tp18"
+ic19="tp19"
+ic20="tp20"
+ic21="tp21"
+ic22="tp22"
+ic23="tp23"
+ic24="tp24"
+
+. $TET_SUITE_ROOT/ts/common/func.sh
+. $TET_ROOT/lib/xpg3sh/tcm.sh
diff --git a/test/elfdump/ts/dso2/test.so b/test/elfdump/ts/dso2/test.so
new file mode 100644
index 0000000000000..993a16d1410f3
--- /dev/null
+++ b/test/elfdump/ts/dso2/test.so
Binary files differ
diff --git a/test/elfdump/ts/exec1/@G%ls.err b/test/elfdump/ts/exec1/@G%ls.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec1/@G%ls.err
diff --git a/test/elfdump/ts/exec1/@G%ls.out b/test/elfdump/ts/exec1/@G%ls.out
new file mode 100644
index 0000000000000..8470efe18be65
--- /dev/null
+++ b/test/elfdump/ts/exec1/@G%ls.out
@@ -0,0 +1,221 @@
+
+global offset table:
+
+entry: 0
+ 0x506708
+
+entry: 1
+ 0
+
+entry: 2
+ 0
+
+entry: 3
+ 0x401862
+
+entry: 4
+ 0x401872
+
+entry: 5
+ 0x401882
+
+entry: 6
+ 0x401892
+
+entry: 7
+ 0x4018a2
+
+entry: 8
+ 0x4018b2
+
+entry: 9
+ 0x4018c2
+
+entry: 10
+ 0x4018d2
+
+entry: 11
+ 0x4018e2
+
+entry: 12
+ 0x4018f2
+
+entry: 13
+ 0x401902
+
+entry: 14
+ 0x401912
+
+entry: 15
+ 0x401922
+
+entry: 16
+ 0x401932
+
+entry: 17
+ 0x401942
+
+entry: 18
+ 0x401952
+
+entry: 19
+ 0x401962
+
+entry: 20
+ 0x401972
+
+entry: 21
+ 0x401982
+
+entry: 22
+ 0x401992
+
+entry: 23
+ 0x4019a2
+
+entry: 24
+ 0x4019b2
+
+entry: 25
+ 0x4019c2
+
+entry: 26
+ 0x4019d2
+
+entry: 27
+ 0x4019e2
+
+entry: 28
+ 0x4019f2
+
+entry: 29
+ 0x401a02
+
+entry: 30
+ 0x401a12
+
+entry: 31
+ 0x401a22
+
+entry: 32
+ 0x401a32
+
+entry: 33
+ 0x401a42
+
+entry: 34
+ 0x401a52
+
+entry: 35
+ 0x401a62
+
+entry: 36
+ 0x401a72
+
+entry: 37
+ 0x401a82
+
+entry: 38
+ 0x401a92
+
+entry: 39
+ 0x401aa2
+
+entry: 40
+ 0x401ab2
+
+entry: 41
+ 0x401ac2
+
+entry: 42
+ 0x401ad2
+
+entry: 43
+ 0x401ae2
+
+entry: 44
+ 0x401af2
+
+entry: 45
+ 0x401b02
+
+entry: 46
+ 0x401b12
+
+entry: 47
+ 0x401b22
+
+entry: 48
+ 0x401b32
+
+entry: 49
+ 0x401b42
+
+entry: 50
+ 0x401b52
+
+entry: 51
+ 0x401b62
+
+entry: 52
+ 0x401b72
+
+entry: 53
+ 0x401b82
+
+entry: 54
+ 0x401b92
+
+entry: 55
+ 0x401ba2
+
+entry: 56
+ 0x401bb2
+
+entry: 57
+ 0x401bc2
+
+entry: 58
+ 0x401bd2
+
+entry: 59
+ 0x401be2
+
+entry: 60
+ 0x401bf2
+
+entry: 61
+ 0x401c02
+
+entry: 62
+ 0x401c12
+
+entry: 63
+ 0x401c22
+
+entry: 64
+ 0x401c32
+
+entry: 65
+ 0x401c42
+
+entry: 66
+ 0x401c52
+
+entry: 67
+ 0x401c62
+
+entry: 68
+ 0x401c72
+
+entry: 69
+ 0x401c82
+
+entry: 70
+ 0x401c92
+
+entry: 71
+ 0x401ca2
+
+entry: 72
+ 0x401cb2
diff --git a/test/elfdump/ts/exec1/@G@e%ls.err b/test/elfdump/ts/exec1/@G@e%ls.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec1/@G@e%ls.err
diff --git a/test/elfdump/ts/exec1/@G@e%ls.out b/test/elfdump/ts/exec1/@G@e%ls.out
new file mode 100644
index 0000000000000..a58bacfeb7613
--- /dev/null
+++ b/test/elfdump/ts/exec1/@G@e%ls.out
@@ -0,0 +1,238 @@
+
+elf header:
+
+ e_ident: ELFCLASS64 ELFDATA2LSB ELFOSABI_FREEBSD
+ e_type: ET_EXEC
+ e_machine: EM_X86_64
+ e_version: EV_CURRENT
+ e_entry: 0x401cc0
+ e_phoff: 64
+ e_shoff: 28336
+ e_flags: 0
+ e_ehsize: 64
+ e_phentsize: 56
+ e_phnum: 7
+ e_shentsize: 64
+ e_shnum: 26
+ e_shstrndx: 25
+
+global offset table:
+
+entry: 0
+ 0x506708
+
+entry: 1
+ 0
+
+entry: 2
+ 0
+
+entry: 3
+ 0x401862
+
+entry: 4
+ 0x401872
+
+entry: 5
+ 0x401882
+
+entry: 6
+ 0x401892
+
+entry: 7
+ 0x4018a2
+
+entry: 8
+ 0x4018b2
+
+entry: 9
+ 0x4018c2
+
+entry: 10
+ 0x4018d2
+
+entry: 11
+ 0x4018e2
+
+entry: 12
+ 0x4018f2
+
+entry: 13
+ 0x401902
+
+entry: 14
+ 0x401912
+
+entry: 15
+ 0x401922
+
+entry: 16
+ 0x401932
+
+entry: 17
+ 0x401942
+
+entry: 18
+ 0x401952
+
+entry: 19
+ 0x401962
+
+entry: 20
+ 0x401972
+
+entry: 21
+ 0x401982
+
+entry: 22
+ 0x401992
+
+entry: 23
+ 0x4019a2
+
+entry: 24
+ 0x4019b2
+
+entry: 25
+ 0x4019c2
+
+entry: 26
+ 0x4019d2
+
+entry: 27
+ 0x4019e2
+
+entry: 28
+ 0x4019f2
+
+entry: 29
+ 0x401a02
+
+entry: 30
+ 0x401a12
+
+entry: 31
+ 0x401a22
+
+entry: 32
+ 0x401a32
+
+entry: 33
+ 0x401a42
+
+entry: 34
+ 0x401a52
+
+entry: 35
+ 0x401a62
+
+entry: 36
+ 0x401a72
+
+entry: 37
+ 0x401a82
+
+entry: 38
+ 0x401a92
+
+entry: 39
+ 0x401aa2
+
+entry: 40
+ 0x401ab2
+
+entry: 41
+ 0x401ac2
+
+entry: 42
+ 0x401ad2
+
+entry: 43
+ 0x401ae2
+
+entry: 44
+ 0x401af2
+
+entry: 45
+ 0x401b02
+
+entry: 46
+ 0x401b12
+
+entry: 47
+ 0x401b22
+
+entry: 48
+ 0x401b32
+
+entry: 49
+ 0x401b42
+
+entry: 50
+ 0x401b52
+
+entry: 51
+ 0x401b62
+
+entry: 52
+ 0x401b72
+
+entry: 53
+ 0x401b82
+
+entry: 54
+ 0x401b92
+
+entry: 55
+ 0x401ba2
+
+entry: 56
+ 0x401bb2
+
+entry: 57
+ 0x401bc2
+
+entry: 58
+ 0x401bd2
+
+entry: 59
+ 0x401be2
+
+entry: 60
+ 0x401bf2
+
+entry: 61
+ 0x401c02
+
+entry: 62
+ 0x401c12
+
+entry: 63
+ 0x401c22
+
+entry: 64
+ 0x401c32
+
+entry: 65
+ 0x401c42
+
+entry: 66
+ 0x401c52
+
+entry: 67
+ 0x401c62
+
+entry: 68
+ 0x401c72
+
+entry: 69
+ 0x401c82
+
+entry: 70
+ 0x401c92
+
+entry: 71
+ 0x401ca2
+
+entry: 72
+ 0x401cb2
diff --git a/test/elfdump/ts/exec1/@S@G%ls.err b/test/elfdump/ts/exec1/@S@G%ls.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec1/@S@G%ls.err
diff --git a/test/elfdump/ts/exec1/@S@G%ls.out b/test/elfdump/ts/exec1/@S@G%ls.out
new file mode 100644
index 0000000000000..07560abcdcb4b
--- /dev/null
+++ b/test/elfdump/ts/exec1/@S@G%ls.out
@@ -0,0 +1,76 @@
+
+Global Offset Table Section: .got (73 entries)
+ ndx addr value reloc addend symbol
+[00000] 00000000005068e0 0000000000506708 R_X86_64_NONE 000000000000
+[00001] 00000000005068e8 0000000000000000 R_X86_64_NONE 000000000000
+[00002] 00000000005068f0 0000000000000000 R_X86_64_NONE 000000000000
+[00003] 00000000005068f8 0000000000401862 R_X86_64_JMP_SLOT 000000000000 fflagstostr
+[00004] 0000000000506900 0000000000401872 R_X86_64_JMP_SLOT 000000000000 puts
+[00005] 0000000000506908 0000000000401882 R_X86_64_JMP_SLOT 000000000000 fprintf
+[00006] 0000000000506910 0000000000401892 R_X86_64_JMP_SLOT 000000000000 atoi
+[00007] 0000000000506918 00000000004018a2 R_X86_64_JMP_SLOT 000000000000 time
+[00008] 0000000000506920 00000000004018b2 R_X86_64_JMP_SLOT 000000000000 mbrtowc
+[00009] 0000000000506928 00000000004018c2 R_X86_64_JMP_SLOT 000000000000 write
+[00010] 0000000000506930 00000000004018d2 R_X86_64_JMP_SLOT 000000000000 fputc
+[00011] 0000000000506938 00000000004018e2 R_X86_64_JMP_SLOT 000000000000 getenv
+[00012] 0000000000506940 00000000004018f2 R_X86_64_JMP_SLOT 000000000000 kill
+[00013] 0000000000506948 0000000000401902 R_X86_64_JMP_SLOT 000000000000 humanize_number
+[00014] 0000000000506950 0000000000401912 R_X86_64_JMP_SLOT 000000000000 tgoto
+[00015] 0000000000506958 0000000000401922 R_X86_64_JMP_SLOT 000000000000 putc
+[00016] 0000000000506960 0000000000401932 R_X86_64_JMP_SLOT 000000000000 strdup
+[00017] 0000000000506968 0000000000401942 R_X86_64_JMP_SLOT 000000000000 mac_get_link
+[00018] 0000000000506970 0000000000401952 R_X86_64_JMP_SLOT 000000000000 fputs
+[00019] 0000000000506978 0000000000401962 R_X86_64_JMP_SLOT 000000000000 ___runetype
+[00020] 0000000000506980 0000000000401972 R_X86_64_JMP_SLOT 000000000000 mac_prepare_file_label
+[00021] 0000000000506988 0000000000401982 R_X86_64_JMP_SLOT 000000000000 mac_to_text
+[00022] 0000000000506990 0000000000401992 R_X86_64_JMP_SLOT 000000000000 ioctl
+[00023] 0000000000506998 00000000004019a2 R_X86_64_JMP_SLOT 000000000000 group_from_gid
+[00024] 00000000005069a0 00000000004019b2 R_X86_64_JMP_SLOT 000000000000 strftime
+[00025] 00000000005069a8 00000000004019c2 R_X86_64_JMP_SLOT 000000000000 strerror
+[00026] 00000000005069b0 00000000004019d2 R_X86_64_JMP_SLOT 000000000000 _init_tls
+[00027] 00000000005069b8 00000000004019e2 R_X86_64_JMP_SLOT 000000000000 realloc
+[00028] 00000000005069c0 00000000004019f2 R_X86_64_JMP_SLOT 000000000000 localtime
+[00029] 00000000005069c8 0000000000401a02 R_X86_64_JMP_SLOT 000000000000 mac_free
+[00030] 00000000005069d0 0000000000401a12 R_X86_64_JMP_SLOT 000000000000 acl_get_entry
+[00031] 00000000005069d8 0000000000401a22 R_X86_64_JMP_SLOT 000000000000 fts_set
+[00032] 00000000005069e0 0000000000401a32 R_X86_64_JMP_SLOT 000000000000 strchr
+[00033] 00000000005069e8 0000000000401a42 R_X86_64_JMP_SLOT 000000000000 strcoll
+[00034] 00000000005069f0 0000000000401a52 R_X86_64_JMP_SLOT 000000000000 getopt
+[00035] 00000000005069f8 0000000000401a62 R_X86_64_JMP_SLOT 000000000000 strmode
+[00036] 0000000000506a00 0000000000401a72 R_X86_64_JMP_SLOT 000000000000 warnx
+[00037] 0000000000506a08 0000000000401a82 R_X86_64_JMP_SLOT 000000000000 tputs
+[00038] 0000000000506a10 0000000000401a92 R_X86_64_JMP_SLOT 000000000000 sscanf
+[00039] 0000000000506a18 0000000000401aa2 R_X86_64_JMP_SLOT 000000000000 memset
+[00040] 0000000000506a20 0000000000401ab2 R_X86_64_JMP_SLOT 000000000000 __error
+[00041] 0000000000506a28 0000000000401ac2 R_X86_64_JMP_SLOT 000000000000 pathconf
+[00042] 0000000000506a30 0000000000401ad2 R_X86_64_JMP_SLOT 000000000000 fts_children
+[00043] 0000000000506a38 0000000000401ae2 R_X86_64_JMP_SLOT 000000000000 printf
+[00044] 0000000000506a40 0000000000401af2 R_X86_64_JMP_SLOT 000000000000 user_from_uid
+[00045] 0000000000506a48 0000000000401b02 R_X86_64_JMP_SLOT 000000000000 snprintf
+[00046] 0000000000506a50 0000000000401b12 R_X86_64_JMP_SLOT 000000000000 warn
+[00047] 0000000000506a58 0000000000401b22 R_X86_64_JMP_SLOT 000000000000 tgetent
+[00048] 0000000000506a60 0000000000401b32 R_X86_64_JMP_SLOT 000000000000 signal
+[00049] 0000000000506a68 0000000000401b42 R_X86_64_JMP_SLOT 000000000000 fts_read
+[00050] 0000000000506a70 0000000000401b52 R_X86_64_JMP_SLOT 000000000000 nl_langinfo
+[00051] 0000000000506a78 0000000000401b62 R_X86_64_JMP_SLOT 000000000000 setenv
+[00052] 0000000000506a80 0000000000401b72 R_X86_64_JMP_SLOT 000000000000 fwrite
+[00053] 0000000000506a88 0000000000401b82 R_X86_64_JMP_SLOT 000000000000 fts_open
+[00054] 0000000000506a90 0000000000401b92 R_X86_64_JMP_SLOT 000000000000 getbsize
+[00055] 0000000000506a98 0000000000401ba2 R_X86_64_JMP_SLOT 000000000000 __swbuf
+[00056] 0000000000506aa0 0000000000401bb2 R_X86_64_JMP_SLOT 000000000000 exit
+[00057] 0000000000506aa8 0000000000401bc2 R_X86_64_JMP_SLOT 000000000000 malloc
+[00058] 0000000000506ab0 0000000000401bd2 R_X86_64_JMP_SLOT 000000000000 mac_get_file
+[00059] 0000000000506ab8 0000000000401be2 R_X86_64_JMP_SLOT 000000000000 err
+[00060] 0000000000506ac0 0000000000401bf2 R_X86_64_JMP_SLOT 000000000000 isatty
+[00061] 0000000000506ac8 0000000000401c02 R_X86_64_JMP_SLOT 000000000000 setlocale
+[00062] 0000000000506ad0 0000000000401c12 R_X86_64_JMP_SLOT 000000000000 free
+[00063] 0000000000506ad8 0000000000401c22 R_X86_64_JMP_SLOT 000000000000 getuid
+[00064] 0000000000506ae0 0000000000401c32 R_X86_64_JMP_SLOT 000000000000 __stack_chk_fail
+[00065] 0000000000506ae8 0000000000401c42 R_X86_64_JMP_SLOT 000000000000 atexit
+[00066] 0000000000506af0 0000000000401c52 R_X86_64_JMP_SLOT 000000000000 acl_free
+[00067] 0000000000506af8 0000000000401c62 R_X86_64_JMP_SLOT 000000000000 getpid
+[00068] 0000000000506b00 0000000000401c72 R_X86_64_JMP_SLOT 000000000000 strlen
+[00069] 0000000000506b08 0000000000401c82 R_X86_64_JMP_SLOT 000000000000 strcpy
+[00070] 0000000000506b10 0000000000401c92 R_X86_64_JMP_SLOT 000000000000 readlink
+[00071] 0000000000506b18 0000000000401ca2 R_X86_64_JMP_SLOT 000000000000 tgetstr
+[00072] 0000000000506b20 0000000000401cb2 R_X86_64_JMP_SLOT 000000000000 acl_get_file
diff --git a/test/elfdump/ts/exec1/@S@c@s%ls.err b/test/elfdump/ts/exec1/@S@c@s%ls.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec1/@S@c@s%ls.err
diff --git a/test/elfdump/ts/exec1/@S@c@s%ls.out b/test/elfdump/ts/exec1/@S@c@s%ls.out
new file mode 100644
index 0000000000000..e62c8717ad431
--- /dev/null
+++ b/test/elfdump/ts/exec1/@S@c@s%ls.out
@@ -0,0 +1,267 @@
+
+Section Header[1]: sh_name: .interp
+ sh_addr: 0x4001c8 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x15 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x1c8 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[2]: sh_name: .note.ABI-tag
+ sh_addr: 0x4001e0 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x18 sh_type: [ SHT_NOTE ]
+ sh_offset: 0x1e0 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[3]: sh_name: .hash
+ sh_addr: 0x4001f8 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x278 sh_type: [ SHT_HASH ]
+ sh_offset: 0x1f8 sh_entsize: 0x4
+ sh_link: 4 sh_info: 0
+ sh_addralign: 0x8
+
+Section Header[4]: sh_name: .dynsym
+ sh_addr: 0x400470 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x858 sh_type: [ SHT_DYNSYM ]
+ sh_offset: 0x470 sh_entsize: 0x18
+ sh_link: 5 sh_info: 1
+ sh_addralign: 0x8
+
+Section Header[5]: sh_name: .dynstr
+ sh_addr: 0x400cc8 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x33c sh_type: [ SHT_STRTAB ]
+ sh_offset: 0xcc8 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[6]: sh_name: .gnu.version
+ sh_addr: 0x401004 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0xb2 sh_type: [ SHT_SUNW(GNU)_versym ]
+ sh_offset: 0x1004 sh_entsize: 0x2
+ sh_link: 4 sh_info: 0
+ sh_addralign: 0x2
+
+Section Header[7]: sh_name: .gnu.version_r
+ sh_addr: 0x4010b8 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x30 sh_type: [ SHT_SUNW(GNU)_verneed ]
+ sh_offset: 0x10b8 sh_entsize: 0
+ sh_link: 5 sh_info: 1
+ sh_addralign: 0x8
+
+Section Header[8]: sh_name: .rela.dyn
+ sh_addr: 0x4010e8 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0xc0 sh_type: [ SHT_RELA ]
+ sh_offset: 0x10e8 sh_entsize: 0x18
+ sh_link: 4 sh_info: 0
+ sh_addralign: 0x8
+
+Section Header[9]: sh_name: .rela.plt
+ sh_addr: 0x4011a8 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x690 sh_type: [ SHT_RELA ]
+ sh_offset: 0x11a8 sh_entsize: 0x18
+ sh_link: 4 sh_info: 11
+ sh_addralign: 0x8
+
+Section Header[10]: sh_name: .init
+ sh_addr: 0x401838 sh_flags: [ SHF_ALLOC|SHF_EXECINSTR ]
+ sh_size: 0x13 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x1838 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[11]: sh_name: .plt
+ sh_addr: 0x40184c sh_flags: [ SHF_ALLOC|SHF_EXECINSTR ]
+ sh_size: 0x470 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x184c sh_entsize: 0x10
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[12]: sh_name: .text
+ sh_addr: 0x401cc0 sh_flags: [ SHF_ALLOC|SHF_EXECINSTR ]
+ sh_size: 0x3e88 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x1cc0 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x10
+
+Section Header[13]: sh_name: .fini
+ sh_addr: 0x405b48 sh_flags: [ SHF_ALLOC|SHF_EXECINSTR ]
+ sh_size: 0xe sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x5b48 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[14]: sh_name: .rodata
+ sh_addr: 0x405b60 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x5dc sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x5b60 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x10
+
+Section Header[15]: sh_name: .eh_frame_hdr
+ sh_addr: 0x40613c sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x8 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x613c sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[16]: sh_name: .data
+ sh_addr: 0x506150 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0x4c sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x6150 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x10
+
+Section Header[17]: sh_name: .eh_frame
+ sh_addr: 0x5061a0 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x568 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x61a0 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x8
+
+Section Header[18]: sh_name: .dynamic
+ sh_addr: 0x506708 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0x1b0 sh_type: [ SHT_DYNAMIC ]
+ sh_offset: 0x6708 sh_entsize: 0x10
+ sh_link: 5 sh_info: 0
+ sh_addralign: 0x8
+
+Section Header[19]: sh_name: .ctors
+ sh_addr: 0x5068b8 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0x10 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x68b8 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x8
+
+Section Header[20]: sh_name: .dtors
+ sh_addr: 0x5068c8 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0x10 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x68c8 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x8
+
+Section Header[21]: sh_name: .jcr
+ sh_addr: 0x5068d8 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0x8 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x68d8 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x8
+
+Section Header[22]: sh_name: .got
+ sh_addr: 0x5068e0 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0x248 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x68e0 sh_entsize: 0x8
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x8
+
+Section Header[23]: sh_name: .bss
+ sh_addr: 0x506b40 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0x218 sh_type: [ SHT_NOBITS ]
+ sh_offset: 0x6b40 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x20
+
+Section Header[24]: sh_name: .comment
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x2a0 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x6b40 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[25]: sh_name: .shstrtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0xce sh_type: [ SHT_STRTAB ]
+ sh_offset: 0x6de0 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Symbol Table Section: .dynsym
+ index value size type bind oth ver shndx name
+ [0] 0x00000000 0x000000000000 NOTY LOCL D 0 UNDEF
+ [1] 0x0040185c 0x00000000008a FUNC GLOB D 2 UNDEF fflagstostr
+ [2] 0x0040186c 0x0000000000d2 FUNC GLOB D 2 UNDEF puts
+ [3] 0x0040187c 0x000000000090 FUNC GLOB D 2 UNDEF fprintf
+ [4] 0x0040188c 0x000000000015 FUNC GLOB D 2 UNDEF atoi
+ [5] 0x0040189c 0x000000000032 FUNC GLOB D 2 UNDEF time
+ [6] 0x004018ac 0x00000000001b FUNC GLOB D 2 UNDEF mbrtowc
+ [7] 0x004018bc 0x000000000000 FUNC GLOB D 2 UNDEF write
+ [8] 0x004018cc 0x00000000009e FUNC GLOB D 2 UNDEF fputc
+ [9] 0x004018dc 0x000000000185 FUNC GLOB D 2 UNDEF getenv
+ [10] 0x00506708 0x000000000000 OBJT GLOB D 1 ABS _DYNAMIC
+ [11] 0x004018ec 0x000000000000 FUNC GLOB D 2 UNDEF kill
+ [12] 0x004018fc 0x0000000003bf FUNC GLOB D 0 UNDEF humanize_number
+ [13] 0x0040190c 0x0000000003e1 FUNC GLOB D 0 UNDEF tgoto
+ [14] 0x0040191c 0x00000000009e FUNC GLOB D 2 UNDEF putc
+ [15] 0x0040192c 0x000000000055 FUNC GLOB D 2 UNDEF strdup
+ [16] 0x0040193c 0x000000000005 FUNC GLOB D 2 UNDEF mac_get_link
+ [17] 0x0040194c 0x00000000009a FUNC GLOB D 2 UNDEF fputs
+ [18] 0x0040195c 0x000000000075 FUNC GLOB D 2 UNDEF ___runetype
+ [19] 0x0040196c 0x00000000000c FUNC GLOB D 2 UNDEF mac_prepare_file_label
+ [20] 0x0040197c 0x00000000001b FUNC GLOB D 2 UNDEF mac_to_text
+ [21] 0x00506b40 0x000000000040 OBJT GLOB D 2 .bss __stack_chk_guard
+ [22] 0x0040198c 0x000000000000 FUNC GLOB D 2 UNDEF ioctl
+ [23] 0x0040199c 0x00000000010f FUNC GLOB D 2 UNDEF group_from_gid
+ [24] 0x004019ac 0x000000000187 FUNC GLOB D 2 UNDEF strftime
+ [25] 0x004019bc 0x000000000030 FUNC GLOB D 2 UNDEF strerror
+ [26] 0x004019cc 0x000000000002 FUNC GLOB D 2 UNDEF _init_tls
+ [27] 0x004019dc 0x0000000004fc FUNC GLOB D 2 UNDEF realloc
+ [28] 0x00401838 0x000000000000 FUNC GLOB D 1 .init _init
+ [29] 0x004019ec 0x000000000141 FUNC GLOB D 2 UNDEF localtime
+ [30] 0x00506cc8 0x000000000008 OBJT GLOB D 1 .bss environ
+ [31] 0x004019fc 0x00000000001e FUNC GLOB D 2 UNDEF mac_free
+ [32] 0x00401a0c 0x00000000005f FUNC GLOB D 2 UNDEF acl_get_entry
+ [33] 0x00401a1c 0x000000000028 FUNC GLOB D 3 UNDEF fts_set
+ [34] 0x00401a2c 0x000000000029 FUNC GLOB D 2 UNDEF strchr
+ [35] 0x00401a3c 0x0000000001e8 FUNC GLOB D 2 UNDEF strcoll
+ [36] 0x00506b80 0x000000000004 OBJT GLOB D 2 .bss __isthreaded
+ [37] 0x00401a4c 0x0000000002ad FUNC GLOB D 2 UNDEF getopt
+ [38] 0x00506150 0x000000000008 OBJT GLOB D 1 .data __progname
+ [39] 0x00401a5c 0x0000000002f8 FUNC GLOB D 2 UNDEF strmode
+ [40] 0x00401a6c 0x000000000095 FUNC GLOB D 2 UNDEF warnx
+ [41] 0x00401a7c 0x0000000003d6 FUNC GLOB D 0 UNDEF tputs
+ [42] 0x00506b88 0x000000000008 OBJT GLOB D 2 .bss optarg
+ [43] 0x00401a8c 0x000000000143 FUNC GLOB D 2 UNDEF sscanf
+ [44] 0x00401a9c 0x000000000054 FUNC GLOB D 2 UNDEF memset
+ [45] 0x00401aac 0x000000000008 FUNC GLOB D 2 UNDEF __error
+ [46] 0x00401abc 0x000000000000 FUNC GLOB D 2 UNDEF pathconf
+ [47] 0x00401acc 0x00000000012b FUNC GLOB D 3 UNDEF fts_children
+ [48] 0x00401adc 0x0000000000a2 FUNC GLOB D 2 UNDEF printf
+ [49] 0x00401aec 0x00000000010f FUNC GLOB D 2 UNDEF user_from_uid
+ [50] 0x00506b28 0x000000000000 NOTY GLOB D 1 ABS __bss_start
+ [51] 0x00401afc 0x0000000001f5 FUNC GLOB D 2 UNDEF snprintf
+ [52] 0x00401b0c 0x0000000000a8 FUNC GLOB D 2 UNDEF warn
+ [53] 0x00506b90 0x000000000004 OBJT GLOB D 2 .bss __mb_sb_limit
+ [54] 0x00401b1c 0x00000000063e FUNC GLOB D 0 UNDEF tgetent
+ [55] 0x00401b2c 0x00000000005f FUNC GLOB D 2 UNDEF signal
+ [56] 0x00401b3c 0x0000000004d8 FUNC GLOB D 3 UNDEF fts_read
+ [57] 0x00405b48 0x000000000000 FUNC GLOB D 1 .fini _fini
+ [58] 0x00401b4c 0x0000000002a5 FUNC GLOB D 2 UNDEF nl_langinfo
+ [59] 0x00401b5c 0x000000000093 FUNC GLOB D 2 UNDEF setenv
+ [60] 0x00506b98 0x000000000008 OBJT GLOB D 2 .bss __stdoutp
+ [61] 0x00401b6c 0x0000000000ca FUNC GLOB D 2 UNDEF fwrite
+ [62] 0x00506ba0 0x000000000008 OBJT GLOB D 2 .bss _CurrentRuneLocale
+ [63] 0x00401b7c 0x000000000285 FUNC GLOB D 3 UNDEF fts_open
+ [64] 0x00401b8c 0x000000000221 FUNC GLOB D 2 UNDEF getbsize
+ [65] 0x00401b9c 0x0000000000e6 FUNC GLOB D 2 UNDEF __swbuf
+ [66] 0x00401bac 0x00000000002f FUNC GLOB D 2 UNDEF exit
+ [67] 0x00401bbc 0x0000000000af FUNC GLOB D 2 UNDEF malloc
+ [68] 0x00401bcc 0x000000000005 FUNC GLOB D 2 UNDEF mac_get_file
+ [69] 0x00401bdc 0x0000000000aa FUNC GLOB D 2 UNDEF err
+ [70] 0x00506b28 0x000000000000 NOTY GLOB D 1 ABS _edata
+ [71] 0x00401bec 0x00000000003c FUNC GLOB D 2 UNDEF isatty
+ [72] 0x005068e0 0x000000000000 OBJT GLOB D 1 ABS _GLOBAL_OFFSET_TABLE_
+ [73] 0x00506d58 0x000000000000 NOTY GLOB D 1 ABS _end
+ [74] 0x00401bfc 0x000000000388 FUNC GLOB D 2 UNDEF setlocale
+ [75] 0x00506ba8 0x000000000008 OBJT GLOB D 2 .bss __stderrp
+ [76] 0x00401c0c 0x000000000076 FUNC GLOB D 2 UNDEF free
+ [77] 0x00506bb0 0x000000000004 OBJT GLOB D 2 .bss optind
+ [78] 0x00401c1c 0x000000000000 FUNC GLOB D 2 UNDEF getuid
+ [79] 0x00401c2c 0x00000000000c FUNC GLOB D 2 UNDEF __stack_chk_fail
+ [80] 0x00401c3c 0x00000000002f FUNC GLOB D 2 UNDEF atexit
+ [81] 0x00401c4c 0x000000000015 FUNC GLOB D 2 UNDEF acl_free
+ [82] 0x00401c5c 0x000000000000 FUNC GLOB D 2 UNDEF getpid
+ [83] 0x00401c6c 0x0000000000c7 FUNC GLOB D 2 UNDEF strlen
+ [84] 0x00401c7c 0x0000000000ae FUNC GLOB D 2 UNDEF strcpy
+ [85] 0x00000000 0x000000000000 NOTY WEAK D 0 UNDEF _Jv_RegisterClasses
+ [86] 0x00401c8c 0x000000000000 FUNC GLOB D 2 UNDEF readlink
+ [87] 0x00401c9c 0x000000000163 FUNC GLOB D 0 UNDEF tgetstr
+ [88] 0x00401cac 0x00000000005d FUNC GLOB D 2 UNDEF acl_get_file
diff --git a/test/elfdump/ts/exec1/@S@d%ls.err b/test/elfdump/ts/exec1/@S@d%ls.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec1/@S@d%ls.err
diff --git a/test/elfdump/ts/exec1/@S@d%ls.out b/test/elfdump/ts/exec1/@S@d%ls.out
new file mode 100644
index 0000000000000..0f11e6270b8bf
--- /dev/null
+++ b/test/elfdump/ts/exec1/@S@d%ls.out
@@ -0,0 +1,29 @@
+Dynamic Section: .dynamic
+ index tag value
+ [0] DT_NEEDED 0x1 libutil.so.7
+ [1] DT_NEEDED 0x5d libncurses.so.7
+ [2] DT_NEEDED 0x89 libc.so.7
+ [3] DT_INIT 0x401838
+ [4] DT_FINI 0x405b48
+ [5] DT_HASH 0x4001f8
+ [6] DT_STRTAB 0x400cc8
+ [7] DT_SYMTAB 0x400470
+ [8] DT_STRSZ 0x33c
+ [9] DT_SYMENT 0x18
+ [10] DT_DEBUG 0
+ [11] DT_PLTGOT 0x5068e0
+ [12] DT_PLTRELSZ 0x690
+ [13] DT_PLTREL 0x7
+ [14] DT_JMPREL 0x4011a8
+ [15] DT_RELA 0x4010e8
+ [16] DT_RELASZ 0xc0
+ [17] DT_RELAENT 0x18
+ [18] DT_VERNEED 0x4010b8
+ [19] DT_VERNEEDNUM 0x1
+ [20] DT_GNU_VERSYM 0x401004
+ [21] DT_NULL
+ [22] DT_NULL
+ [23] DT_NULL
+ [24] DT_NULL
+ [25] DT_NULL
+ [26] DT_NULL
diff --git a/test/elfdump/ts/exec1/@S@e%ls.err b/test/elfdump/ts/exec1/@S@e%ls.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec1/@S@e%ls.err
diff --git a/test/elfdump/ts/exec1/@S@e%ls.out b/test/elfdump/ts/exec1/@S@e%ls.out
new file mode 100644
index 0000000000000..e9920835c34d0
--- /dev/null
+++ b/test/elfdump/ts/exec1/@S@e%ls.out
@@ -0,0 +1,10 @@
+
+ELF Header
+ ei_magic: { 0x7f, E, L, F }
+ ei_class: ELFCLASS64 ei_data: ELFDATA2LSB
+ e_machine: EM_X86_64 e_version: EV_CURRENT
+ e_type: ET_EXEC
+ e_flags: 0
+ e_entry: 0x401cc0 e_ehsize: 64 e_shstrndx: 25
+ e_shoff: 0x6eb0 e_shentsize: 64 e_shnum: 26
+ e_phoff: 0x40 e_phentsize: 56 e_phnum: 7
diff --git a/test/elfdump/ts/exec1/@S@e@k%ls.err b/test/elfdump/ts/exec1/@S@e@k%ls.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec1/@S@e@k%ls.err
diff --git a/test/elfdump/ts/exec1/@S@e@k%ls.out b/test/elfdump/ts/exec1/@S@e@k%ls.out
new file mode 100644
index 0000000000000..bcbb7843b1a16
--- /dev/null
+++ b/test/elfdump/ts/exec1/@S@e@k%ls.out
@@ -0,0 +1,12 @@
+
+ELF Header
+ ei_magic: { 0x7f, E, L, F }
+ ei_class: ELFCLASS64 ei_data: ELFDATA2LSB
+ e_machine: EM_X86_64 e_version: EV_CURRENT
+ e_type: ET_EXEC
+ e_flags: 0
+ e_entry: 0x401cc0 e_ehsize: 64 e_shstrndx: 25
+ e_shoff: 0x6eb0 e_shentsize: 64 e_shnum: 26
+ e_phoff: 0x40 e_phentsize: 56 e_phnum: 7
+
+elf checksum: 0x8518
diff --git a/test/elfdump/ts/exec1/@S@e@p%ls.err b/test/elfdump/ts/exec1/@S@e@p%ls.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec1/@S@e@p%ls.err
diff --git a/test/elfdump/ts/exec1/@S@e@p%ls.out b/test/elfdump/ts/exec1/@S@e@p%ls.out
new file mode 100644
index 0000000000000..20e7b632c5a8a
--- /dev/null
+++ b/test/elfdump/ts/exec1/@S@e@p%ls.out
@@ -0,0 +1,52 @@
+
+ELF Header
+ ei_magic: { 0x7f, E, L, F }
+ ei_class: ELFCLASS64 ei_data: ELFDATA2LSB
+ e_machine: EM_X86_64 e_version: EV_CURRENT
+ e_type: ET_EXEC
+ e_flags: 0
+ e_entry: 0x401cc0 e_ehsize: 64 e_shstrndx: 25
+ e_shoff: 0x6eb0 e_shentsize: 64 e_shnum: 26
+ e_phoff: 0x40 e_phentsize: 56 e_phnum: 7
+
+Program Header[0]:
+ p_vaddr: 0x400040 p_flags: [ PF_X|PF_R ]
+ p_paddr: 0x400040 p_type: [ PT_PHDR ]
+ p_filesz: 0x188 p_memsz: 0x188
+ p_offset: 0x40 p_align: 0x8
+
+Program Header[1]:
+ p_vaddr: 0x4001c8 p_flags: [ PF_R ]
+ p_paddr: 0x4001c8 p_type: [ PT_INTERP ]
+ p_filesz: 0x15 p_memsz: 0x15
+ p_offset: 0x1c8 p_align: 0x1
+
+Program Header[2]:
+ p_vaddr: 0x400000 p_flags: [ PF_X|PF_R ]
+ p_paddr: 0x400000 p_type: [ PT_LOAD ]
+ p_filesz: 0x6144 p_memsz: 0x6144
+ p_offset: 0 p_align: 0x100000
+
+Program Header[3]:
+ p_vaddr: 0x506150 p_flags: [ PF_W|PF_R ]
+ p_paddr: 0x506150 p_type: [ PT_LOAD ]
+ p_filesz: 0x9d8 p_memsz: 0xc08
+ p_offset: 0x6150 p_align: 0x100000
+
+Program Header[4]:
+ p_vaddr: 0x506708 p_flags: [ PF_W|PF_R ]
+ p_paddr: 0x506708 p_type: [ PT_DYNAMIC ]
+ p_filesz: 0x1b0 p_memsz: 0x1b0
+ p_offset: 0x6708 p_align: 0x8
+
+Program Header[5]:
+ p_vaddr: 0x4001e0 p_flags: [ PF_R ]
+ p_paddr: 0x4001e0 p_type: [ PT_NOTE ]
+ p_filesz: 0x18 p_memsz: 0x18
+ p_offset: 0x1e0 p_align: 0x4
+
+Program Header[6]:
+ p_vaddr: 0x40613c p_flags: [ PF_R ]
+ p_paddr: 0x40613c p_type: [ PT_NULL ]
+ p_filesz: 0x8 p_memsz: 0x8
+ p_offset: 0x613c p_align: 0x4
diff --git a/test/elfdump/ts/exec1/@S@h%ls.err b/test/elfdump/ts/exec1/@S@h%ls.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec1/@S@h%ls.err
diff --git a/test/elfdump/ts/exec1/@S@h%ls.out b/test/elfdump/ts/exec1/@S@h%ls.out
new file mode 100644
index 0000000000000..94d81bca5de73
--- /dev/null
+++ b/test/elfdump/ts/exec1/@S@h%ls.out
@@ -0,0 +1,99 @@
+
+Hash Section: .hash
+ bucket symndx name
+ 0 [64] getbsize
+ 1 [85] _Jv_RegisterClasses
+ [46] pathconf
+ 2 [23] group_from_gid
+ 4 [61] fwrite
+ [34] strchr
+ 5 [84] strcpy
+ 7 [60] __stdoutp
+ [48] printf
+ [36] __isthreaded
+ 8 [58] nl_langinfo
+ 9 [82] getpid
+ [63] fts_open
+ 10 [70] _edata
+ 11 [22] ioctl
+ 13 [65] __swbuf
+ [35] strcoll
+ 14 [55] signal
+ 15 [68] mac_get_file
+ [59] setenv
+ [37] getopt
+ [32] acl_get_entry
+ [18] ___runetype
+ 16 [78] getuid
+ [75] __stderrp
+ 18 [44] memset
+ [19] mac_prepare_file_label
+ [14] putc
+ 19 [21] __stack_chk_guard
+ 20 [24] strftime
+ [6] mbrtowc
+ 21 [5] time
+ 22 [77] optind
+ [4] atoi
+ 23 [86] readlink
+ 24 [72] _GLOBAL_OFFSET_TABLE_
+ [29] localtime
+ 26 [28] _init
+ 27 [45] __error
+ 28 [38] __progname
+ 29 [73] _end
+ [40] warnx
+ [25] strerror
+ 32 [52] warn
+ [7] write
+ 33 [8] fputc
+ 34 [87] tgetstr
+ [43] sscanf
+ [2] puts
+ 35 [39] strmode
+ [27] realloc
+ 37 [10] _DYNAMIC
+ 38 [9] getenv
+ [1] fflagstostr
+ 42 [13] tgoto
+ 43 [62] _CurrentRuneLocale
+ 44 [54] tgetent
+ [20] mac_to_text
+ 45 [83] strlen
+ [71] isatty
+ 46 [12] humanize_number
+ 47 [30] environ
+ 48 [88] acl_get_file
+ 49 [50] __bss_start
+ [17] fputs
+ 50 [31] mac_free
+ 51 [42] optarg
+ 53 [81] acl_free
+ 54 [47] fts_children
+ 55 [74] setlocale
+ [41] tputs
+ 56 [80] atexit
+ [69] err
+ [51] snprintf
+ [16] mac_get_link
+ [3] fprintf
+ 59 [66] exit
+ [56] fts_read
+ 61 [76] free
+ [57] _fini
+ 62 [67] malloc
+ 64 [79] __stack_chk_fail
+ [49] user_from_uid
+ [15] strdup
+ 65 [53] __mb_sb_limit
+ [33] fts_set
+ [26] _init_tls
+ [11] kill
+
+ 17 buckets contain 0 symbols
+ 25 buckets contain 1 symbols
+ 17 buckets contain 2 symbols
+ 5 buckets contain 3 symbols
+ 1 buckets contain 4 symbols
+ 2 buckets contain 5 symbols
+ 67 buckets 88 symbols (globals)
diff --git a/test/elfdump/ts/exec1/@S@n%ls.err b/test/elfdump/ts/exec1/@S@n%ls.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec1/@S@n%ls.err
diff --git a/test/elfdump/ts/exec1/@S@n%ls.out b/test/elfdump/ts/exec1/@S@n%ls.out
new file mode 100644
index 0000000000000..802a846db707a
--- /dev/null
+++ b/test/elfdump/ts/exec1/@S@n%ls.out
@@ -0,0 +1,8 @@
+
+Note Section: .note.ABI-tag
+
+ type 0x1
+ namesz 0x8:
+FreeBSD
+ descsz 0x4:
+ desc[0] 4a 35 0c 00
diff --git a/test/elfdump/ts/exec1/@S@r%ls.err b/test/elfdump/ts/exec1/@S@r%ls.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec1/@S@r%ls.err
diff --git a/test/elfdump/ts/exec1/@S@r%ls.out b/test/elfdump/ts/exec1/@S@r%ls.out
new file mode 100644
index 0000000000000..7bfc084aa1409
--- /dev/null
+++ b/test/elfdump/ts/exec1/@S@r%ls.out
@@ -0,0 +1,84 @@
+
+Relocation Section: .rela.dyn
+ type offset addend section with respect to
+ R_X86_64_COPY 0x506b40 0 .rela.dyn __stack_chk_guard
+ R_X86_64_COPY 0x506b80 0 .rela.dyn __isthreaded
+ R_X86_64_COPY 0x506b88 0 .rela.dyn optarg
+ R_X86_64_COPY 0x506b90 0 .rela.dyn __mb_sb_limit
+ R_X86_64_COPY 0x506b98 0 .rela.dyn __stdoutp
+ R_X86_64_COPY 0x506ba0 0 .rela.dyn _CurrentRuneLocale
+ R_X86_64_COPY 0x506ba8 0 .rela.dyn __stderrp
+ R_X86_64_COPY 0x506bb0 0 .rela.dyn optind
+
+Relocation Section: .rela.plt
+ type offset addend section with respect to
+ R_X86_64_JMP_SLOT 0x5068f8 0 .rela.plt fflagstostr
+ R_X86_64_JMP_SLOT 0x506900 0 .rela.plt puts
+ R_X86_64_JMP_SLOT 0x506908 0 .rela.plt fprintf
+ R_X86_64_JMP_SLOT 0x506910 0 .rela.plt atoi
+ R_X86_64_JMP_SLOT 0x506918 0 .rela.plt time
+ R_X86_64_JMP_SLOT 0x506920 0 .rela.plt mbrtowc
+ R_X86_64_JMP_SLOT 0x506928 0 .rela.plt write
+ R_X86_64_JMP_SLOT 0x506930 0 .rela.plt fputc
+ R_X86_64_JMP_SLOT 0x506938 0 .rela.plt getenv
+ R_X86_64_JMP_SLOT 0x506940 0 .rela.plt kill
+ R_X86_64_JMP_SLOT 0x506948 0 .rela.plt humanize_number
+ R_X86_64_JMP_SLOT 0x506950 0 .rela.plt tgoto
+ R_X86_64_JMP_SLOT 0x506958 0 .rela.plt putc
+ R_X86_64_JMP_SLOT 0x506960 0 .rela.plt strdup
+ R_X86_64_JMP_SLOT 0x506968 0 .rela.plt mac_get_link
+ R_X86_64_JMP_SLOT 0x506970 0 .rela.plt fputs
+ R_X86_64_JMP_SLOT 0x506978 0 .rela.plt ___runetype
+ R_X86_64_JMP_SLOT 0x506980 0 .rela.plt mac_prepare_file_label
+ R_X86_64_JMP_SLOT 0x506988 0 .rela.plt mac_to_text
+ R_X86_64_JMP_SLOT 0x506990 0 .rela.plt ioctl
+ R_X86_64_JMP_SLOT 0x506998 0 .rela.plt group_from_gid
+ R_X86_64_JMP_SLOT 0x5069a0 0 .rela.plt strftime
+ R_X86_64_JMP_SLOT 0x5069a8 0 .rela.plt strerror
+ R_X86_64_JMP_SLOT 0x5069b0 0 .rela.plt _init_tls
+ R_X86_64_JMP_SLOT 0x5069b8 0 .rela.plt realloc
+ R_X86_64_JMP_SLOT 0x5069c0 0 .rela.plt localtime
+ R_X86_64_JMP_SLOT 0x5069c8 0 .rela.plt mac_free
+ R_X86_64_JMP_SLOT 0x5069d0 0 .rela.plt acl_get_entry
+ R_X86_64_JMP_SLOT 0x5069d8 0 .rela.plt fts_set
+ R_X86_64_JMP_SLOT 0x5069e0 0 .rela.plt strchr
+ R_X86_64_JMP_SLOT 0x5069e8 0 .rela.plt strcoll
+ R_X86_64_JMP_SLOT 0x5069f0 0 .rela.plt getopt
+ R_X86_64_JMP_SLOT 0x5069f8 0 .rela.plt strmode
+ R_X86_64_JMP_SLOT 0x506a00 0 .rela.plt warnx
+ R_X86_64_JMP_SLOT 0x506a08 0 .rela.plt tputs
+ R_X86_64_JMP_SLOT 0x506a10 0 .rela.plt sscanf
+ R_X86_64_JMP_SLOT 0x506a18 0 .rela.plt memset
+ R_X86_64_JMP_SLOT 0x506a20 0 .rela.plt __error
+ R_X86_64_JMP_SLOT 0x506a28 0 .rela.plt pathconf
+ R_X86_64_JMP_SLOT 0x506a30 0 .rela.plt fts_children
+ R_X86_64_JMP_SLOT 0x506a38 0 .rela.plt printf
+ R_X86_64_JMP_SLOT 0x506a40 0 .rela.plt user_from_uid
+ R_X86_64_JMP_SLOT 0x506a48 0 .rela.plt snprintf
+ R_X86_64_JMP_SLOT 0x506a50 0 .rela.plt warn
+ R_X86_64_JMP_SLOT 0x506a58 0 .rela.plt tgetent
+ R_X86_64_JMP_SLOT 0x506a60 0 .rela.plt signal
+ R_X86_64_JMP_SLOT 0x506a68 0 .rela.plt fts_read
+ R_X86_64_JMP_SLOT 0x506a70 0 .rela.plt nl_langinfo
+ R_X86_64_JMP_SLOT 0x506a78 0 .rela.plt setenv
+ R_X86_64_JMP_SLOT 0x506a80 0 .rela.plt fwrite
+ R_X86_64_JMP_SLOT 0x506a88 0 .rela.plt fts_open
+ R_X86_64_JMP_SLOT 0x506a90 0 .rela.plt getbsize
+ R_X86_64_JMP_SLOT 0x506a98 0 .rela.plt __swbuf
+ R_X86_64_JMP_SLOT 0x506aa0 0 .rela.plt exit
+ R_X86_64_JMP_SLOT 0x506aa8 0 .rela.plt malloc
+ R_X86_64_JMP_SLOT 0x506ab0 0 .rela.plt mac_get_file
+ R_X86_64_JMP_SLOT 0x506ab8 0 .rela.plt err
+ R_X86_64_JMP_SLOT 0x506ac0 0 .rela.plt isatty
+ R_X86_64_JMP_SLOT 0x506ac8 0 .rela.plt setlocale
+ R_X86_64_JMP_SLOT 0x506ad0 0 .rela.plt free
+ R_X86_64_JMP_SLOT 0x506ad8 0 .rela.plt getuid
+ R_X86_64_JMP_SLOT 0x506ae0 0 .rela.plt __stack_chk_fail
+ R_X86_64_JMP_SLOT 0x506ae8 0 .rela.plt atexit
+ R_X86_64_JMP_SLOT 0x506af0 0 .rela.plt acl_free
+ R_X86_64_JMP_SLOT 0x506af8 0 .rela.plt getpid
+ R_X86_64_JMP_SLOT 0x506b00 0 .rela.plt strlen
+ R_X86_64_JMP_SLOT 0x506b08 0 .rela.plt strcpy
+ R_X86_64_JMP_SLOT 0x506b10 0 .rela.plt readlink
+ R_X86_64_JMP_SLOT 0x506b18 0 .rela.plt tgetstr
+ R_X86_64_JMP_SLOT 0x506b20 0 .rela.plt acl_get_file
diff --git a/test/elfdump/ts/exec1/@S@r@N%.rela.dyn%ls.err b/test/elfdump/ts/exec1/@S@r@N%.rela.dyn%ls.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec1/@S@r@N%.rela.dyn%ls.err
diff --git a/test/elfdump/ts/exec1/@S@r@N%.rela.dyn%ls.out b/test/elfdump/ts/exec1/@S@r@N%.rela.dyn%ls.out
new file mode 100644
index 0000000000000..9c5b4c6a0b64d
--- /dev/null
+++ b/test/elfdump/ts/exec1/@S@r@N%.rela.dyn%ls.out
@@ -0,0 +1,11 @@
+
+Relocation Section: .rela.dyn
+ type offset addend section with respect to
+ R_X86_64_COPY 0x506b40 0 .rela.dyn __stack_chk_guard
+ R_X86_64_COPY 0x506b80 0 .rela.dyn __isthreaded
+ R_X86_64_COPY 0x506b88 0 .rela.dyn optarg
+ R_X86_64_COPY 0x506b90 0 .rela.dyn __mb_sb_limit
+ R_X86_64_COPY 0x506b98 0 .rela.dyn __stdoutp
+ R_X86_64_COPY 0x506ba0 0 .rela.dyn _CurrentRuneLocale
+ R_X86_64_COPY 0x506ba8 0 .rela.dyn __stderrp
+ R_X86_64_COPY 0x506bb0 0 .rela.dyn optind
diff --git a/test/elfdump/ts/exec1/@S@r@N%.rela.dyn@N%.rela.plt%ls.err b/test/elfdump/ts/exec1/@S@r@N%.rela.dyn@N%.rela.plt%ls.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec1/@S@r@N%.rela.dyn@N%.rela.plt%ls.err
diff --git a/test/elfdump/ts/exec1/@S@r@N%.rela.dyn@N%.rela.plt%ls.out b/test/elfdump/ts/exec1/@S@r@N%.rela.dyn@N%.rela.plt%ls.out
new file mode 100644
index 0000000000000..7bfc084aa1409
--- /dev/null
+++ b/test/elfdump/ts/exec1/@S@r@N%.rela.dyn@N%.rela.plt%ls.out
@@ -0,0 +1,84 @@
+
+Relocation Section: .rela.dyn
+ type offset addend section with respect to
+ R_X86_64_COPY 0x506b40 0 .rela.dyn __stack_chk_guard
+ R_X86_64_COPY 0x506b80 0 .rela.dyn __isthreaded
+ R_X86_64_COPY 0x506b88 0 .rela.dyn optarg
+ R_X86_64_COPY 0x506b90 0 .rela.dyn __mb_sb_limit
+ R_X86_64_COPY 0x506b98 0 .rela.dyn __stdoutp
+ R_X86_64_COPY 0x506ba0 0 .rela.dyn _CurrentRuneLocale
+ R_X86_64_COPY 0x506ba8 0 .rela.dyn __stderrp
+ R_X86_64_COPY 0x506bb0 0 .rela.dyn optind
+
+Relocation Section: .rela.plt
+ type offset addend section with respect to
+ R_X86_64_JMP_SLOT 0x5068f8 0 .rela.plt fflagstostr
+ R_X86_64_JMP_SLOT 0x506900 0 .rela.plt puts
+ R_X86_64_JMP_SLOT 0x506908 0 .rela.plt fprintf
+ R_X86_64_JMP_SLOT 0x506910 0 .rela.plt atoi
+ R_X86_64_JMP_SLOT 0x506918 0 .rela.plt time
+ R_X86_64_JMP_SLOT 0x506920 0 .rela.plt mbrtowc
+ R_X86_64_JMP_SLOT 0x506928 0 .rela.plt write
+ R_X86_64_JMP_SLOT 0x506930 0 .rela.plt fputc
+ R_X86_64_JMP_SLOT 0x506938 0 .rela.plt getenv
+ R_X86_64_JMP_SLOT 0x506940 0 .rela.plt kill
+ R_X86_64_JMP_SLOT 0x506948 0 .rela.plt humanize_number
+ R_X86_64_JMP_SLOT 0x506950 0 .rela.plt tgoto
+ R_X86_64_JMP_SLOT 0x506958 0 .rela.plt putc
+ R_X86_64_JMP_SLOT 0x506960 0 .rela.plt strdup
+ R_X86_64_JMP_SLOT 0x506968 0 .rela.plt mac_get_link
+ R_X86_64_JMP_SLOT 0x506970 0 .rela.plt fputs
+ R_X86_64_JMP_SLOT 0x506978 0 .rela.plt ___runetype
+ R_X86_64_JMP_SLOT 0x506980 0 .rela.plt mac_prepare_file_label
+ R_X86_64_JMP_SLOT 0x506988 0 .rela.plt mac_to_text
+ R_X86_64_JMP_SLOT 0x506990 0 .rela.plt ioctl
+ R_X86_64_JMP_SLOT 0x506998 0 .rela.plt group_from_gid
+ R_X86_64_JMP_SLOT 0x5069a0 0 .rela.plt strftime
+ R_X86_64_JMP_SLOT 0x5069a8 0 .rela.plt strerror
+ R_X86_64_JMP_SLOT 0x5069b0 0 .rela.plt _init_tls
+ R_X86_64_JMP_SLOT 0x5069b8 0 .rela.plt realloc
+ R_X86_64_JMP_SLOT 0x5069c0 0 .rela.plt localtime
+ R_X86_64_JMP_SLOT 0x5069c8 0 .rela.plt mac_free
+ R_X86_64_JMP_SLOT 0x5069d0 0 .rela.plt acl_get_entry
+ R_X86_64_JMP_SLOT 0x5069d8 0 .rela.plt fts_set
+ R_X86_64_JMP_SLOT 0x5069e0 0 .rela.plt strchr
+ R_X86_64_JMP_SLOT 0x5069e8 0 .rela.plt strcoll
+ R_X86_64_JMP_SLOT 0x5069f0 0 .rela.plt getopt
+ R_X86_64_JMP_SLOT 0x5069f8 0 .rela.plt strmode
+ R_X86_64_JMP_SLOT 0x506a00 0 .rela.plt warnx
+ R_X86_64_JMP_SLOT 0x506a08 0 .rela.plt tputs
+ R_X86_64_JMP_SLOT 0x506a10 0 .rela.plt sscanf
+ R_X86_64_JMP_SLOT 0x506a18 0 .rela.plt memset
+ R_X86_64_JMP_SLOT 0x506a20 0 .rela.plt __error
+ R_X86_64_JMP_SLOT 0x506a28 0 .rela.plt pathconf
+ R_X86_64_JMP_SLOT 0x506a30 0 .rela.plt fts_children
+ R_X86_64_JMP_SLOT 0x506a38 0 .rela.plt printf
+ R_X86_64_JMP_SLOT 0x506a40 0 .rela.plt user_from_uid
+ R_X86_64_JMP_SLOT 0x506a48 0 .rela.plt snprintf
+ R_X86_64_JMP_SLOT 0x506a50 0 .rela.plt warn
+ R_X86_64_JMP_SLOT 0x506a58 0 .rela.plt tgetent
+ R_X86_64_JMP_SLOT 0x506a60 0 .rela.plt signal
+ R_X86_64_JMP_SLOT 0x506a68 0 .rela.plt fts_read
+ R_X86_64_JMP_SLOT 0x506a70 0 .rela.plt nl_langinfo
+ R_X86_64_JMP_SLOT 0x506a78 0 .rela.plt setenv
+ R_X86_64_JMP_SLOT 0x506a80 0 .rela.plt fwrite
+ R_X86_64_JMP_SLOT 0x506a88 0 .rela.plt fts_open
+ R_X86_64_JMP_SLOT 0x506a90 0 .rela.plt getbsize
+ R_X86_64_JMP_SLOT 0x506a98 0 .rela.plt __swbuf
+ R_X86_64_JMP_SLOT 0x506aa0 0 .rela.plt exit
+ R_X86_64_JMP_SLOT 0x506aa8 0 .rela.plt malloc
+ R_X86_64_JMP_SLOT 0x506ab0 0 .rela.plt mac_get_file
+ R_X86_64_JMP_SLOT 0x506ab8 0 .rela.plt err
+ R_X86_64_JMP_SLOT 0x506ac0 0 .rela.plt isatty
+ R_X86_64_JMP_SLOT 0x506ac8 0 .rela.plt setlocale
+ R_X86_64_JMP_SLOT 0x506ad0 0 .rela.plt free
+ R_X86_64_JMP_SLOT 0x506ad8 0 .rela.plt getuid
+ R_X86_64_JMP_SLOT 0x506ae0 0 .rela.plt __stack_chk_fail
+ R_X86_64_JMP_SLOT 0x506ae8 0 .rela.plt atexit
+ R_X86_64_JMP_SLOT 0x506af0 0 .rela.plt acl_free
+ R_X86_64_JMP_SLOT 0x506af8 0 .rela.plt getpid
+ R_X86_64_JMP_SLOT 0x506b00 0 .rela.plt strlen
+ R_X86_64_JMP_SLOT 0x506b08 0 .rela.plt strcpy
+ R_X86_64_JMP_SLOT 0x506b10 0 .rela.plt readlink
+ R_X86_64_JMP_SLOT 0x506b18 0 .rela.plt tgetstr
+ R_X86_64_JMP_SLOT 0x506b20 0 .rela.plt acl_get_file
diff --git a/test/elfdump/ts/exec1/@S@s@N%.dynsym%ls.err b/test/elfdump/ts/exec1/@S@s@N%.dynsym%ls.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec1/@S@s@N%.dynsym%ls.err
diff --git a/test/elfdump/ts/exec1/@S@s@N%.dynsym%ls.out b/test/elfdump/ts/exec1/@S@s@N%.dynsym%ls.out
new file mode 100644
index 0000000000000..c10bbc08e0415
--- /dev/null
+++ b/test/elfdump/ts/exec1/@S@s@N%.dynsym%ls.out
@@ -0,0 +1,92 @@
+
+Symbol Table Section: .dynsym
+ index value size type bind oth ver shndx name
+ [0] 0x00000000 0x000000000000 NOTY LOCL D 0 UNDEF
+ [1] 0x0040185c 0x00000000008a FUNC GLOB D 2 UNDEF fflagstostr
+ [2] 0x0040186c 0x0000000000d2 FUNC GLOB D 2 UNDEF puts
+ [3] 0x0040187c 0x000000000090 FUNC GLOB D 2 UNDEF fprintf
+ [4] 0x0040188c 0x000000000015 FUNC GLOB D 2 UNDEF atoi
+ [5] 0x0040189c 0x000000000032 FUNC GLOB D 2 UNDEF time
+ [6] 0x004018ac 0x00000000001b FUNC GLOB D 2 UNDEF mbrtowc
+ [7] 0x004018bc 0x000000000000 FUNC GLOB D 2 UNDEF write
+ [8] 0x004018cc 0x00000000009e FUNC GLOB D 2 UNDEF fputc
+ [9] 0x004018dc 0x000000000185 FUNC GLOB D 2 UNDEF getenv
+ [10] 0x00506708 0x000000000000 OBJT GLOB D 1 ABS _DYNAMIC
+ [11] 0x004018ec 0x000000000000 FUNC GLOB D 2 UNDEF kill
+ [12] 0x004018fc 0x0000000003bf FUNC GLOB D 0 UNDEF humanize_number
+ [13] 0x0040190c 0x0000000003e1 FUNC GLOB D 0 UNDEF tgoto
+ [14] 0x0040191c 0x00000000009e FUNC GLOB D 2 UNDEF putc
+ [15] 0x0040192c 0x000000000055 FUNC GLOB D 2 UNDEF strdup
+ [16] 0x0040193c 0x000000000005 FUNC GLOB D 2 UNDEF mac_get_link
+ [17] 0x0040194c 0x00000000009a FUNC GLOB D 2 UNDEF fputs
+ [18] 0x0040195c 0x000000000075 FUNC GLOB D 2 UNDEF ___runetype
+ [19] 0x0040196c 0x00000000000c FUNC GLOB D 2 UNDEF mac_prepare_file_label
+ [20] 0x0040197c 0x00000000001b FUNC GLOB D 2 UNDEF mac_to_text
+ [21] 0x00506b40 0x000000000040 OBJT GLOB D 2 .bss __stack_chk_guard
+ [22] 0x0040198c 0x000000000000 FUNC GLOB D 2 UNDEF ioctl
+ [23] 0x0040199c 0x00000000010f FUNC GLOB D 2 UNDEF group_from_gid
+ [24] 0x004019ac 0x000000000187 FUNC GLOB D 2 UNDEF strftime
+ [25] 0x004019bc 0x000000000030 FUNC GLOB D 2 UNDEF strerror
+ [26] 0x004019cc 0x000000000002 FUNC GLOB D 2 UNDEF _init_tls
+ [27] 0x004019dc 0x0000000004fc FUNC GLOB D 2 UNDEF realloc
+ [28] 0x00401838 0x000000000000 FUNC GLOB D 1 .init _init
+ [29] 0x004019ec 0x000000000141 FUNC GLOB D 2 UNDEF localtime
+ [30] 0x00506cc8 0x000000000008 OBJT GLOB D 1 .bss environ
+ [31] 0x004019fc 0x00000000001e FUNC GLOB D 2 UNDEF mac_free
+ [32] 0x00401a0c 0x00000000005f FUNC GLOB D 2 UNDEF acl_get_entry
+ [33] 0x00401a1c 0x000000000028 FUNC GLOB D 3 UNDEF fts_set
+ [34] 0x00401a2c 0x000000000029 FUNC GLOB D 2 UNDEF strchr
+ [35] 0x00401a3c 0x0000000001e8 FUNC GLOB D 2 UNDEF strcoll
+ [36] 0x00506b80 0x000000000004 OBJT GLOB D 2 .bss __isthreaded
+ [37] 0x00401a4c 0x0000000002ad FUNC GLOB D 2 UNDEF getopt
+ [38] 0x00506150 0x000000000008 OBJT GLOB D 1 .data __progname
+ [39] 0x00401a5c 0x0000000002f8 FUNC GLOB D 2 UNDEF strmode
+ [40] 0x00401a6c 0x000000000095 FUNC GLOB D 2 UNDEF warnx
+ [41] 0x00401a7c 0x0000000003d6 FUNC GLOB D 0 UNDEF tputs
+ [42] 0x00506b88 0x000000000008 OBJT GLOB D 2 .bss optarg
+ [43] 0x00401a8c 0x000000000143 FUNC GLOB D 2 UNDEF sscanf
+ [44] 0x00401a9c 0x000000000054 FUNC GLOB D 2 UNDEF memset
+ [45] 0x00401aac 0x000000000008 FUNC GLOB D 2 UNDEF __error
+ [46] 0x00401abc 0x000000000000 FUNC GLOB D 2 UNDEF pathconf
+ [47] 0x00401acc 0x00000000012b FUNC GLOB D 3 UNDEF fts_children
+ [48] 0x00401adc 0x0000000000a2 FUNC GLOB D 2 UNDEF printf
+ [49] 0x00401aec 0x00000000010f FUNC GLOB D 2 UNDEF user_from_uid
+ [50] 0x00506b28 0x000000000000 NOTY GLOB D 1 ABS __bss_start
+ [51] 0x00401afc 0x0000000001f5 FUNC GLOB D 2 UNDEF snprintf
+ [52] 0x00401b0c 0x0000000000a8 FUNC GLOB D 2 UNDEF warn
+ [53] 0x00506b90 0x000000000004 OBJT GLOB D 2 .bss __mb_sb_limit
+ [54] 0x00401b1c 0x00000000063e FUNC GLOB D 0 UNDEF tgetent
+ [55] 0x00401b2c 0x00000000005f FUNC GLOB D 2 UNDEF signal
+ [56] 0x00401b3c 0x0000000004d8 FUNC GLOB D 3 UNDEF fts_read
+ [57] 0x00405b48 0x000000000000 FUNC GLOB D 1 .fini _fini
+ [58] 0x00401b4c 0x0000000002a5 FUNC GLOB D 2 UNDEF nl_langinfo
+ [59] 0x00401b5c 0x000000000093 FUNC GLOB D 2 UNDEF setenv
+ [60] 0x00506b98 0x000000000008 OBJT GLOB D 2 .bss __stdoutp
+ [61] 0x00401b6c 0x0000000000ca FUNC GLOB D 2 UNDEF fwrite
+ [62] 0x00506ba0 0x000000000008 OBJT GLOB D 2 .bss _CurrentRuneLocale
+ [63] 0x00401b7c 0x000000000285 FUNC GLOB D 3 UNDEF fts_open
+ [64] 0x00401b8c 0x000000000221 FUNC GLOB D 2 UNDEF getbsize
+ [65] 0x00401b9c 0x0000000000e6 FUNC GLOB D 2 UNDEF __swbuf
+ [66] 0x00401bac 0x00000000002f FUNC GLOB D 2 UNDEF exit
+ [67] 0x00401bbc 0x0000000000af FUNC GLOB D 2 UNDEF malloc
+ [68] 0x00401bcc 0x000000000005 FUNC GLOB D 2 UNDEF mac_get_file
+ [69] 0x00401bdc 0x0000000000aa FUNC GLOB D 2 UNDEF err
+ [70] 0x00506b28 0x000000000000 NOTY GLOB D 1 ABS _edata
+ [71] 0x00401bec 0x00000000003c FUNC GLOB D 2 UNDEF isatty
+ [72] 0x005068e0 0x000000000000 OBJT GLOB D 1 ABS _GLOBAL_OFFSET_TABLE_
+ [73] 0x00506d58 0x000000000000 NOTY GLOB D 1 ABS _end
+ [74] 0x00401bfc 0x000000000388 FUNC GLOB D 2 UNDEF setlocale
+ [75] 0x00506ba8 0x000000000008 OBJT GLOB D 2 .bss __stderrp
+ [76] 0x00401c0c 0x000000000076 FUNC GLOB D 2 UNDEF free
+ [77] 0x00506bb0 0x000000000004 OBJT GLOB D 2 .bss optind
+ [78] 0x00401c1c 0x000000000000 FUNC GLOB D 2 UNDEF getuid
+ [79] 0x00401c2c 0x00000000000c FUNC GLOB D 2 UNDEF __stack_chk_fail
+ [80] 0x00401c3c 0x00000000002f FUNC GLOB D 2 UNDEF atexit
+ [81] 0x00401c4c 0x000000000015 FUNC GLOB D 2 UNDEF acl_free
+ [82] 0x00401c5c 0x000000000000 FUNC GLOB D 2 UNDEF getpid
+ [83] 0x00401c6c 0x0000000000c7 FUNC GLOB D 2 UNDEF strlen
+ [84] 0x00401c7c 0x0000000000ae FUNC GLOB D 2 UNDEF strcpy
+ [85] 0x00000000 0x000000000000 NOTY WEAK D 0 UNDEF _Jv_RegisterClasses
+ [86] 0x00401c8c 0x000000000000 FUNC GLOB D 2 UNDEF readlink
+ [87] 0x00401c9c 0x000000000163 FUNC GLOB D 0 UNDEF tgetstr
+ [88] 0x00401cac 0x00000000005d FUNC GLOB D 2 UNDEF acl_get_file
diff --git a/test/elfdump/ts/exec1/@S@v%ls.err b/test/elfdump/ts/exec1/@S@v%ls.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec1/@S@v%ls.err
diff --git a/test/elfdump/ts/exec1/@S@v%ls.out b/test/elfdump/ts/exec1/@S@v%ls.out
new file mode 100644
index 0000000000000..0e11e591d515b
--- /dev/null
+++ b/test/elfdump/ts/exec1/@S@v%ls.out
@@ -0,0 +1,5 @@
+
+Version Needed Section: .gnu.version_r
+ file version
+ libc.so.7 FBSD_1.1
+ FBSD_1.0
diff --git a/test/elfdump/ts/exec1/@c%ls.err b/test/elfdump/ts/exec1/@c%ls.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec1/@c%ls.err
diff --git a/test/elfdump/ts/exec1/@c%ls.out b/test/elfdump/ts/exec1/@c%ls.out
new file mode 100644
index 0000000000000..9977556afece3
--- /dev/null
+++ b/test/elfdump/ts/exec1/@c%ls.out
@@ -0,0 +1,314 @@
+
+section header:
+
+entry: 0
+ sh_name:
+ sh_type: SHT_NULL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 0
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 0
+ sh_entsize: 0
+
+entry: 1
+ sh_name: .interp
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x4001c8
+ sh_offset: 456
+ sh_size: 21
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 2
+ sh_name: .note.ABI-tag
+ sh_type: SHT_NOTE
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x4001e0
+ sh_offset: 480
+ sh_size: 24
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 3
+ sh_name: .hash
+ sh_type: SHT_HASH
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x4001f8
+ sh_offset: 504
+ sh_size: 632
+ sh_link: 4
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 4
+
+entry: 4
+ sh_name: .dynsym
+ sh_type: SHT_DYNSYM
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x400470
+ sh_offset: 1136
+ sh_size: 2136
+ sh_link: 5
+ sh_info: 1
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 5
+ sh_name: .dynstr
+ sh_type: SHT_STRTAB
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x400cc8
+ sh_offset: 3272
+ sh_size: 828
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 6
+ sh_name: .gnu.version
+ sh_type: SHT_SUNW(GNU)_versym
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x401004
+ sh_offset: 4100
+ sh_size: 178
+ sh_link: 4
+ sh_info: 0
+ sh_addralign: 2
+ sh_entsize: 2
+
+entry: 7
+ sh_name: .gnu.version_r
+ sh_type: SHT_SUNW(GNU)_verneed
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x4010b8
+ sh_offset: 4280
+ sh_size: 48
+ sh_link: 5
+ sh_info: 1
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 8
+ sh_name: .rela.dyn
+ sh_type: SHT_RELA
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x4010e8
+ sh_offset: 4328
+ sh_size: 192
+ sh_link: 4
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 9
+ sh_name: .rela.plt
+ sh_type: SHT_RELA
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x4011a8
+ sh_offset: 4520
+ sh_size: 1680
+ sh_link: 4
+ sh_info: 11
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 10
+ sh_name: .init
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x401838
+ sh_offset: 6200
+ sh_size: 19
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 11
+ sh_name: .plt
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x40184c
+ sh_offset: 6220
+ sh_size: 1136
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 16
+
+entry: 12
+ sh_name: .text
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x401cc0
+ sh_offset: 7360
+ sh_size: 16008
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 13
+ sh_name: .fini
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x405b48
+ sh_offset: 23368
+ sh_size: 14
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 14
+ sh_name: .rodata
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x405b60
+ sh_offset: 23392
+ sh_size: 1500
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 15
+ sh_name: .eh_frame_hdr
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x40613c
+ sh_offset: 24892
+ sh_size: 8
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 16
+ sh_name: .data
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x506150
+ sh_offset: 24912
+ sh_size: 76
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 17
+ sh_name: .eh_frame
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x5061a0
+ sh_offset: 24992
+ sh_size: 1384
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 18
+ sh_name: .dynamic
+ sh_type: SHT_DYNAMIC
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x506708
+ sh_offset: 26376
+ sh_size: 432
+ sh_link: 5
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 16
+
+entry: 19
+ sh_name: .ctors
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x5068b8
+ sh_offset: 26808
+ sh_size: 16
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 20
+ sh_name: .dtors
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x5068c8
+ sh_offset: 26824
+ sh_size: 16
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 21
+ sh_name: .jcr
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x5068d8
+ sh_offset: 26840
+ sh_size: 8
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 22
+ sh_name: .got
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x5068e0
+ sh_offset: 26848
+ sh_size: 584
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 8
+
+entry: 23
+ sh_name: .bss
+ sh_type: SHT_NOBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x506b40
+ sh_offset: 27456
+ sh_size: 536
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 32
+ sh_entsize: 0
+
+entry: 24
+ sh_name: .comment
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 27456
+ sh_size: 672
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 25
+ sh_name: .shstrtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 28128
+ sh_size: 206
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
diff --git a/test/elfdump/ts/exec1/@c@d%ls.err b/test/elfdump/ts/exec1/@c@d%ls.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec1/@c@d%ls.err
diff --git a/test/elfdump/ts/exec1/@c@d%ls.out b/test/elfdump/ts/exec1/@c@d%ls.out
new file mode 100644
index 0000000000000..1d932cd186de4
--- /dev/null
+++ b/test/elfdump/ts/exec1/@c@d%ls.out
@@ -0,0 +1,418 @@
+
+section header:
+
+entry: 0
+ sh_name:
+ sh_type: SHT_NULL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 0
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 0
+ sh_entsize: 0
+
+entry: 1
+ sh_name: .interp
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x4001c8
+ sh_offset: 456
+ sh_size: 21
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 2
+ sh_name: .note.ABI-tag
+ sh_type: SHT_NOTE
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x4001e0
+ sh_offset: 480
+ sh_size: 24
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 3
+ sh_name: .hash
+ sh_type: SHT_HASH
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x4001f8
+ sh_offset: 504
+ sh_size: 632
+ sh_link: 4
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 4
+
+entry: 4
+ sh_name: .dynsym
+ sh_type: SHT_DYNSYM
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x400470
+ sh_offset: 1136
+ sh_size: 2136
+ sh_link: 5
+ sh_info: 1
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 5
+ sh_name: .dynstr
+ sh_type: SHT_STRTAB
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x400cc8
+ sh_offset: 3272
+ sh_size: 828
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 6
+ sh_name: .gnu.version
+ sh_type: SHT_SUNW(GNU)_versym
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x401004
+ sh_offset: 4100
+ sh_size: 178
+ sh_link: 4
+ sh_info: 0
+ sh_addralign: 2
+ sh_entsize: 2
+
+entry: 7
+ sh_name: .gnu.version_r
+ sh_type: SHT_SUNW(GNU)_verneed
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x4010b8
+ sh_offset: 4280
+ sh_size: 48
+ sh_link: 5
+ sh_info: 1
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 8
+ sh_name: .rela.dyn
+ sh_type: SHT_RELA
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x4010e8
+ sh_offset: 4328
+ sh_size: 192
+ sh_link: 4
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 9
+ sh_name: .rela.plt
+ sh_type: SHT_RELA
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x4011a8
+ sh_offset: 4520
+ sh_size: 1680
+ sh_link: 4
+ sh_info: 11
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 10
+ sh_name: .init
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x401838
+ sh_offset: 6200
+ sh_size: 19
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 11
+ sh_name: .plt
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x40184c
+ sh_offset: 6220
+ sh_size: 1136
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 16
+
+entry: 12
+ sh_name: .text
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x401cc0
+ sh_offset: 7360
+ sh_size: 16008
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 13
+ sh_name: .fini
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x405b48
+ sh_offset: 23368
+ sh_size: 14
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 14
+ sh_name: .rodata
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x405b60
+ sh_offset: 23392
+ sh_size: 1500
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 15
+ sh_name: .eh_frame_hdr
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x40613c
+ sh_offset: 24892
+ sh_size: 8
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 16
+ sh_name: .data
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x506150
+ sh_offset: 24912
+ sh_size: 76
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 17
+ sh_name: .eh_frame
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x5061a0
+ sh_offset: 24992
+ sh_size: 1384
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 18
+ sh_name: .dynamic
+ sh_type: SHT_DYNAMIC
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x506708
+ sh_offset: 26376
+ sh_size: 432
+ sh_link: 5
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 16
+
+entry: 19
+ sh_name: .ctors
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x5068b8
+ sh_offset: 26808
+ sh_size: 16
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 20
+ sh_name: .dtors
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x5068c8
+ sh_offset: 26824
+ sh_size: 16
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 21
+ sh_name: .jcr
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x5068d8
+ sh_offset: 26840
+ sh_size: 8
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 22
+ sh_name: .got
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x5068e0
+ sh_offset: 26848
+ sh_size: 584
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 8
+
+entry: 23
+ sh_name: .bss
+ sh_type: SHT_NOBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x506b40
+ sh_offset: 27456
+ sh_size: 536
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 32
+ sh_entsize: 0
+
+entry: 24
+ sh_name: .comment
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 27456
+ sh_size: 672
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 25
+ sh_name: .shstrtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 28128
+ sh_size: 206
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+dynamic:
+
+entry: 0
+ d_tag: DT_NEEDED
+ d_val: libutil.so.7
+
+entry: 1
+ d_tag: DT_NEEDED
+ d_val: libncurses.so.7
+
+entry: 2
+ d_tag: DT_NEEDED
+ d_val: libc.so.7
+
+entry: 3
+ d_tag: DT_INIT
+ d_ptr: 0x401838
+
+entry: 4
+ d_tag: DT_FINI
+ d_ptr: 0x405b48
+
+entry: 5
+ d_tag: DT_HASH
+ d_ptr: 0x4001f8
+
+entry: 6
+ d_tag: DT_STRTAB
+ d_ptr: 0x400cc8
+
+entry: 7
+ d_tag: DT_SYMTAB
+ d_ptr: 0x400470
+
+entry: 8
+ d_tag: DT_STRSZ
+ d_val: 828
+
+entry: 9
+ d_tag: DT_SYMENT
+ d_val: 24
+
+entry: 10
+ d_tag: DT_DEBUG
+ d_ptr: 0
+
+entry: 11
+ d_tag: DT_PLTGOT
+ d_ptr: 0x5068e0
+
+entry: 12
+ d_tag: DT_PLTRELSZ
+ d_val: 1680
+
+entry: 13
+ d_tag: DT_PLTREL
+ d_val: 7
+
+entry: 14
+ d_tag: DT_JMPREL
+ d_ptr: 0x4011a8
+
+entry: 15
+ d_tag: DT_RELA
+ d_val: 4198632
+
+entry: 16
+ d_tag: DT_RELASZ
+ d_val: 192
+
+entry: 17
+ d_tag: DT_RELAENT
+ d_val: 24
+
+entry: 18
+ d_tag: DT_VERNEED
+ d_val: 4198584
+
+entry: 19
+ d_tag: DT_VERNEEDNUM
+ d_val: 1
+
+entry: 20
+ d_tag: DT_GNU_VERSYM
+ d_val: 4198404
+
+entry: 21
+ d_tag: DT_NULL
+
+entry: 22
+ d_tag: DT_NULL
+
+entry: 23
+ d_tag: DT_NULL
+
+entry: 24
+ d_tag: DT_NULL
+
+entry: 25
+ d_tag: DT_NULL
+
+entry: 26
+ d_tag: DT_NULL
diff --git a/test/elfdump/ts/exec1/@c@p@n%ls.err b/test/elfdump/ts/exec1/@c@p@n%ls.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec1/@c@p@n%ls.err
diff --git a/test/elfdump/ts/exec1/@c@p@n%ls.out b/test/elfdump/ts/exec1/@c@p@n%ls.out
new file mode 100644
index 0000000000000..47815c85ab427
--- /dev/null
+++ b/test/elfdump/ts/exec1/@c@p@n%ls.out
@@ -0,0 +1,389 @@
+
+program header:
+
+entry: 0
+ p_type: PT_PHDR
+ p_offset: 64
+ p_vaddr: 0x400040
+ p_paddr: 0x400040
+ p_filesz: 392
+ p_memsz: 392
+ p_flags: PF_X|PF_R
+ p_align: 8
+
+entry: 1
+ p_type: PT_INTERP
+ p_offset: 456
+ p_vaddr: 0x4001c8
+ p_paddr: 0x4001c8
+ p_filesz: 21
+ p_memsz: 21
+ p_flags: PF_R
+ p_align: 1
+
+entry: 2
+ p_type: PT_LOAD
+ p_offset: 0
+ p_vaddr: 0x400000
+ p_paddr: 0x400000
+ p_filesz: 24900
+ p_memsz: 24900
+ p_flags: PF_X|PF_R
+ p_align: 1048576
+
+entry: 3
+ p_type: PT_LOAD
+ p_offset: 24912
+ p_vaddr: 0x506150
+ p_paddr: 0x506150
+ p_filesz: 2520
+ p_memsz: 3080
+ p_flags: PF_W|PF_R
+ p_align: 1048576
+
+entry: 4
+ p_type: PT_DYNAMIC
+ p_offset: 26376
+ p_vaddr: 0x506708
+ p_paddr: 0x506708
+ p_filesz: 432
+ p_memsz: 432
+ p_flags: PF_W|PF_R
+ p_align: 8
+
+entry: 5
+ p_type: PT_NOTE
+ p_offset: 480
+ p_vaddr: 0x4001e0
+ p_paddr: 0x4001e0
+ p_filesz: 24
+ p_memsz: 24
+ p_flags: PF_R
+ p_align: 4
+
+entry: 6
+ p_type: PT_NULL
+ p_offset: 24892
+ p_vaddr: 0x40613c
+ p_paddr: 0x40613c
+ p_filesz: 8
+ p_memsz: 8
+ p_flags: PF_R
+ p_align: 4
+
+section header:
+
+entry: 0
+ sh_name:
+ sh_type: SHT_NULL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 0
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 0
+ sh_entsize: 0
+
+entry: 1
+ sh_name: .interp
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x4001c8
+ sh_offset: 456
+ sh_size: 21
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 2
+ sh_name: .note.ABI-tag
+ sh_type: SHT_NOTE
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x4001e0
+ sh_offset: 480
+ sh_size: 24
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 3
+ sh_name: .hash
+ sh_type: SHT_HASH
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x4001f8
+ sh_offset: 504
+ sh_size: 632
+ sh_link: 4
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 4
+
+entry: 4
+ sh_name: .dynsym
+ sh_type: SHT_DYNSYM
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x400470
+ sh_offset: 1136
+ sh_size: 2136
+ sh_link: 5
+ sh_info: 1
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 5
+ sh_name: .dynstr
+ sh_type: SHT_STRTAB
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x400cc8
+ sh_offset: 3272
+ sh_size: 828
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 6
+ sh_name: .gnu.version
+ sh_type: SHT_SUNW(GNU)_versym
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x401004
+ sh_offset: 4100
+ sh_size: 178
+ sh_link: 4
+ sh_info: 0
+ sh_addralign: 2
+ sh_entsize: 2
+
+entry: 7
+ sh_name: .gnu.version_r
+ sh_type: SHT_SUNW(GNU)_verneed
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x4010b8
+ sh_offset: 4280
+ sh_size: 48
+ sh_link: 5
+ sh_info: 1
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 8
+ sh_name: .rela.dyn
+ sh_type: SHT_RELA
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x4010e8
+ sh_offset: 4328
+ sh_size: 192
+ sh_link: 4
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 9
+ sh_name: .rela.plt
+ sh_type: SHT_RELA
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x4011a8
+ sh_offset: 4520
+ sh_size: 1680
+ sh_link: 4
+ sh_info: 11
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 10
+ sh_name: .init
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x401838
+ sh_offset: 6200
+ sh_size: 19
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 11
+ sh_name: .plt
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x40184c
+ sh_offset: 6220
+ sh_size: 1136
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 16
+
+entry: 12
+ sh_name: .text
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x401cc0
+ sh_offset: 7360
+ sh_size: 16008
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 13
+ sh_name: .fini
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x405b48
+ sh_offset: 23368
+ sh_size: 14
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 14
+ sh_name: .rodata
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x405b60
+ sh_offset: 23392
+ sh_size: 1500
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 15
+ sh_name: .eh_frame_hdr
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x40613c
+ sh_offset: 24892
+ sh_size: 8
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 16
+ sh_name: .data
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x506150
+ sh_offset: 24912
+ sh_size: 76
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 17
+ sh_name: .eh_frame
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x5061a0
+ sh_offset: 24992
+ sh_size: 1384
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 18
+ sh_name: .dynamic
+ sh_type: SHT_DYNAMIC
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x506708
+ sh_offset: 26376
+ sh_size: 432
+ sh_link: 5
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 16
+
+entry: 19
+ sh_name: .ctors
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x5068b8
+ sh_offset: 26808
+ sh_size: 16
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 20
+ sh_name: .dtors
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x5068c8
+ sh_offset: 26824
+ sh_size: 16
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 21
+ sh_name: .jcr
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x5068d8
+ sh_offset: 26840
+ sh_size: 8
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 22
+ sh_name: .got
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x5068e0
+ sh_offset: 26848
+ sh_size: 584
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 8
+
+entry: 23
+ sh_name: .bss
+ sh_type: SHT_NOBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x506b40
+ sh_offset: 27456
+ sh_size: 536
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 32
+ sh_entsize: 0
+
+entry: 24
+ sh_name: .comment
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 27456
+ sh_size: 672
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 25
+ sh_name: .shstrtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 28128
+ sh_size: 206
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+note (.note.ABI-tag):
+ FreeBSD 800074
diff --git a/test/elfdump/ts/exec1/@c@s%ls.err b/test/elfdump/ts/exec1/@c@s%ls.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec1/@c@s%ls.err
diff --git a/test/elfdump/ts/exec1/@c@s%ls.out b/test/elfdump/ts/exec1/@c@s%ls.out
new file mode 100644
index 0000000000000..9cba3660f6127
--- /dev/null
+++ b/test/elfdump/ts/exec1/@c@s%ls.out
@@ -0,0 +1,939 @@
+
+section header:
+
+entry: 0
+ sh_name:
+ sh_type: SHT_NULL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 0
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 0
+ sh_entsize: 0
+
+entry: 1
+ sh_name: .interp
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x4001c8
+ sh_offset: 456
+ sh_size: 21
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 2
+ sh_name: .note.ABI-tag
+ sh_type: SHT_NOTE
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x4001e0
+ sh_offset: 480
+ sh_size: 24
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 3
+ sh_name: .hash
+ sh_type: SHT_HASH
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x4001f8
+ sh_offset: 504
+ sh_size: 632
+ sh_link: 4
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 4
+
+entry: 4
+ sh_name: .dynsym
+ sh_type: SHT_DYNSYM
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x400470
+ sh_offset: 1136
+ sh_size: 2136
+ sh_link: 5
+ sh_info: 1
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 5
+ sh_name: .dynstr
+ sh_type: SHT_STRTAB
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x400cc8
+ sh_offset: 3272
+ sh_size: 828
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 6
+ sh_name: .gnu.version
+ sh_type: SHT_SUNW(GNU)_versym
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x401004
+ sh_offset: 4100
+ sh_size: 178
+ sh_link: 4
+ sh_info: 0
+ sh_addralign: 2
+ sh_entsize: 2
+
+entry: 7
+ sh_name: .gnu.version_r
+ sh_type: SHT_SUNW(GNU)_verneed
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x4010b8
+ sh_offset: 4280
+ sh_size: 48
+ sh_link: 5
+ sh_info: 1
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 8
+ sh_name: .rela.dyn
+ sh_type: SHT_RELA
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x4010e8
+ sh_offset: 4328
+ sh_size: 192
+ sh_link: 4
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 9
+ sh_name: .rela.plt
+ sh_type: SHT_RELA
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x4011a8
+ sh_offset: 4520
+ sh_size: 1680
+ sh_link: 4
+ sh_info: 11
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 10
+ sh_name: .init
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x401838
+ sh_offset: 6200
+ sh_size: 19
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 11
+ sh_name: .plt
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x40184c
+ sh_offset: 6220
+ sh_size: 1136
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 16
+
+entry: 12
+ sh_name: .text
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x401cc0
+ sh_offset: 7360
+ sh_size: 16008
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 13
+ sh_name: .fini
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x405b48
+ sh_offset: 23368
+ sh_size: 14
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 14
+ sh_name: .rodata
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x405b60
+ sh_offset: 23392
+ sh_size: 1500
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 15
+ sh_name: .eh_frame_hdr
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x40613c
+ sh_offset: 24892
+ sh_size: 8
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 16
+ sh_name: .data
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x506150
+ sh_offset: 24912
+ sh_size: 76
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 17
+ sh_name: .eh_frame
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x5061a0
+ sh_offset: 24992
+ sh_size: 1384
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 18
+ sh_name: .dynamic
+ sh_type: SHT_DYNAMIC
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x506708
+ sh_offset: 26376
+ sh_size: 432
+ sh_link: 5
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 16
+
+entry: 19
+ sh_name: .ctors
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x5068b8
+ sh_offset: 26808
+ sh_size: 16
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 20
+ sh_name: .dtors
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x5068c8
+ sh_offset: 26824
+ sh_size: 16
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 21
+ sh_name: .jcr
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x5068d8
+ sh_offset: 26840
+ sh_size: 8
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 22
+ sh_name: .got
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x5068e0
+ sh_offset: 26848
+ sh_size: 584
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 8
+
+entry: 23
+ sh_name: .bss
+ sh_type: SHT_NOBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x506b40
+ sh_offset: 27456
+ sh_size: 536
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 32
+ sh_entsize: 0
+
+entry: 24
+ sh_name: .comment
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 27456
+ sh_size: 672
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 25
+ sh_name: .shstrtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 28128
+ sh_size: 206
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+symbol table (.dynsym):
+
+entry: 0
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_LOCAL
+ st_shndx: 0
+
+entry: 1
+ st_name: fflagstostr
+ st_value: 0x40185c
+ st_size: 138
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 2
+ st_name: puts
+ st_value: 0x40186c
+ st_size: 210
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 3
+ st_name: fprintf
+ st_value: 0x40187c
+ st_size: 144
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 4
+ st_name: atoi
+ st_value: 0x40188c
+ st_size: 21
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 5
+ st_name: time
+ st_value: 0x40189c
+ st_size: 50
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 6
+ st_name: mbrtowc
+ st_value: 0x4018ac
+ st_size: 27
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 7
+ st_name: write
+ st_value: 0x4018bc
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 8
+ st_name: fputc
+ st_value: 0x4018cc
+ st_size: 158
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 9
+ st_name: getenv
+ st_value: 0x4018dc
+ st_size: 389
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 10
+ st_name: _DYNAMIC
+ st_value: 0x506708
+ st_size: 0
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 65521
+
+entry: 11
+ st_name: kill
+ st_value: 0x4018ec
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 12
+ st_name: humanize_number
+ st_value: 0x4018fc
+ st_size: 959
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 13
+ st_name: tgoto
+ st_value: 0x40190c
+ st_size: 993
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 14
+ st_name: putc
+ st_value: 0x40191c
+ st_size: 158
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 15
+ st_name: strdup
+ st_value: 0x40192c
+ st_size: 85
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 16
+ st_name: mac_get_link
+ st_value: 0x40193c
+ st_size: 5
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 17
+ st_name: fputs
+ st_value: 0x40194c
+ st_size: 154
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 18
+ st_name: ___runetype
+ st_value: 0x40195c
+ st_size: 117
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 19
+ st_name: mac_prepare_file_label
+ st_value: 0x40196c
+ st_size: 12
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 20
+ st_name: mac_to_text
+ st_value: 0x40197c
+ st_size: 27
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 21
+ st_name: __stack_chk_guard
+ st_value: 0x506b40
+ st_size: 64
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 23
+
+entry: 22
+ st_name: ioctl
+ st_value: 0x40198c
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 23
+ st_name: group_from_gid
+ st_value: 0x40199c
+ st_size: 271
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 24
+ st_name: strftime
+ st_value: 0x4019ac
+ st_size: 391
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 25
+ st_name: strerror
+ st_value: 0x4019bc
+ st_size: 48
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 26
+ st_name: _init_tls
+ st_value: 0x4019cc
+ st_size: 2
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 27
+ st_name: realloc
+ st_value: 0x4019dc
+ st_size: 1276
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 28
+ st_name: _init
+ st_value: 0x401838
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 10
+
+entry: 29
+ st_name: localtime
+ st_value: 0x4019ec
+ st_size: 321
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 30
+ st_name: environ
+ st_value: 0x506cc8
+ st_size: 8
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 23
+
+entry: 31
+ st_name: mac_free
+ st_value: 0x4019fc
+ st_size: 30
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 32
+ st_name: acl_get_entry
+ st_value: 0x401a0c
+ st_size: 95
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 33
+ st_name: fts_set
+ st_value: 0x401a1c
+ st_size: 40
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 34
+ st_name: strchr
+ st_value: 0x401a2c
+ st_size: 41
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 35
+ st_name: strcoll
+ st_value: 0x401a3c
+ st_size: 488
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 36
+ st_name: __isthreaded
+ st_value: 0x506b80
+ st_size: 4
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 23
+
+entry: 37
+ st_name: getopt
+ st_value: 0x401a4c
+ st_size: 685
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 38
+ st_name: __progname
+ st_value: 0x506150
+ st_size: 8
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 16
+
+entry: 39
+ st_name: strmode
+ st_value: 0x401a5c
+ st_size: 760
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 40
+ st_name: warnx
+ st_value: 0x401a6c
+ st_size: 149
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 41
+ st_name: tputs
+ st_value: 0x401a7c
+ st_size: 982
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 42
+ st_name: optarg
+ st_value: 0x506b88
+ st_size: 8
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 23
+
+entry: 43
+ st_name: sscanf
+ st_value: 0x401a8c
+ st_size: 323
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 44
+ st_name: memset
+ st_value: 0x401a9c
+ st_size: 84
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 45
+ st_name: __error
+ st_value: 0x401aac
+ st_size: 8
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 46
+ st_name: pathconf
+ st_value: 0x401abc
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 47
+ st_name: fts_children
+ st_value: 0x401acc
+ st_size: 299
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 48
+ st_name: printf
+ st_value: 0x401adc
+ st_size: 162
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 49
+ st_name: user_from_uid
+ st_value: 0x401aec
+ st_size: 271
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 50
+ st_name: __bss_start
+ st_value: 0x506b28
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 65521
+
+entry: 51
+ st_name: snprintf
+ st_value: 0x401afc
+ st_size: 501
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 52
+ st_name: warn
+ st_value: 0x401b0c
+ st_size: 168
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 53
+ st_name: __mb_sb_limit
+ st_value: 0x506b90
+ st_size: 4
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 23
+
+entry: 54
+ st_name: tgetent
+ st_value: 0x401b1c
+ st_size: 1598
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 55
+ st_name: signal
+ st_value: 0x401b2c
+ st_size: 95
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 56
+ st_name: fts_read
+ st_value: 0x401b3c
+ st_size: 1240
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 57
+ st_name: _fini
+ st_value: 0x405b48
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 13
+
+entry: 58
+ st_name: nl_langinfo
+ st_value: 0x401b4c
+ st_size: 677
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 59
+ st_name: setenv
+ st_value: 0x401b5c
+ st_size: 147
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 60
+ st_name: __stdoutp
+ st_value: 0x506b98
+ st_size: 8
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 23
+
+entry: 61
+ st_name: fwrite
+ st_value: 0x401b6c
+ st_size: 202
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 62
+ st_name: _CurrentRuneLocale
+ st_value: 0x506ba0
+ st_size: 8
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 23
+
+entry: 63
+ st_name: fts_open
+ st_value: 0x401b7c
+ st_size: 645
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 64
+ st_name: getbsize
+ st_value: 0x401b8c
+ st_size: 545
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 65
+ st_name: __swbuf
+ st_value: 0x401b9c
+ st_size: 230
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 66
+ st_name: exit
+ st_value: 0x401bac
+ st_size: 47
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 67
+ st_name: malloc
+ st_value: 0x401bbc
+ st_size: 175
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 68
+ st_name: mac_get_file
+ st_value: 0x401bcc
+ st_size: 5
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 69
+ st_name: err
+ st_value: 0x401bdc
+ st_size: 170
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 70
+ st_name: _edata
+ st_value: 0x506b28
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 65521
+
+entry: 71
+ st_name: isatty
+ st_value: 0x401bec
+ st_size: 60
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 72
+ st_name: _GLOBAL_OFFSET_TABLE_
+ st_value: 0x5068e0
+ st_size: 0
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 65521
+
+entry: 73
+ st_name: _end
+ st_value: 0x506d58
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 65521
+
+entry: 74
+ st_name: setlocale
+ st_value: 0x401bfc
+ st_size: 904
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 75
+ st_name: __stderrp
+ st_value: 0x506ba8
+ st_size: 8
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 23
+
+entry: 76
+ st_name: free
+ st_value: 0x401c0c
+ st_size: 118
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 77
+ st_name: optind
+ st_value: 0x506bb0
+ st_size: 4
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 23
+
+entry: 78
+ st_name: getuid
+ st_value: 0x401c1c
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 79
+ st_name: __stack_chk_fail
+ st_value: 0x401c2c
+ st_size: 12
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 80
+ st_name: atexit
+ st_value: 0x401c3c
+ st_size: 47
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 81
+ st_name: acl_free
+ st_value: 0x401c4c
+ st_size: 21
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 82
+ st_name: getpid
+ st_value: 0x401c5c
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 83
+ st_name: strlen
+ st_value: 0x401c6c
+ st_size: 199
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 84
+ st_name: strcpy
+ st_value: 0x401c7c
+ st_size: 174
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 85
+ st_name: _Jv_RegisterClasses
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_WEAK
+ st_shndx: 0
+
+entry: 86
+ st_name: readlink
+ st_value: 0x401c8c
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 87
+ st_name: tgetstr
+ st_value: 0x401c9c
+ st_size: 355
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 88
+ st_name: acl_get_file
+ st_value: 0x401cac
+ st_size: 93
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
diff --git a/test/elfdump/ts/exec1/@e%ls.err b/test/elfdump/ts/exec1/@e%ls.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec1/@e%ls.err
diff --git a/test/elfdump/ts/exec1/@e%ls.out b/test/elfdump/ts/exec1/@e%ls.out
new file mode 100644
index 0000000000000..9a2ee83110624
--- /dev/null
+++ b/test/elfdump/ts/exec1/@e%ls.out
@@ -0,0 +1,17 @@
+
+elf header:
+
+ e_ident: ELFCLASS64 ELFDATA2LSB ELFOSABI_FREEBSD
+ e_type: ET_EXEC
+ e_machine: EM_X86_64
+ e_version: EV_CURRENT
+ e_entry: 0x401cc0
+ e_phoff: 64
+ e_shoff: 28336
+ e_flags: 0
+ e_ehsize: 64
+ e_phentsize: 56
+ e_phnum: 7
+ e_shentsize: 64
+ e_shnum: 26
+ e_shstrndx: 25
diff --git a/test/elfdump/ts/exec1/@e@d%ls.err b/test/elfdump/ts/exec1/@e@d%ls.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec1/@e@d%ls.err
diff --git a/test/elfdump/ts/exec1/@e@d%ls.out b/test/elfdump/ts/exec1/@e@d%ls.out
new file mode 100644
index 0000000000000..b70a2634acb94
--- /dev/null
+++ b/test/elfdump/ts/exec1/@e@d%ls.out
@@ -0,0 +1,121 @@
+
+elf header:
+
+ e_ident: ELFCLASS64 ELFDATA2LSB ELFOSABI_FREEBSD
+ e_type: ET_EXEC
+ e_machine: EM_X86_64
+ e_version: EV_CURRENT
+ e_entry: 0x401cc0
+ e_phoff: 64
+ e_shoff: 28336
+ e_flags: 0
+ e_ehsize: 64
+ e_phentsize: 56
+ e_phnum: 7
+ e_shentsize: 64
+ e_shnum: 26
+ e_shstrndx: 25
+
+dynamic:
+
+entry: 0
+ d_tag: DT_NEEDED
+ d_val: libutil.so.7
+
+entry: 1
+ d_tag: DT_NEEDED
+ d_val: libncurses.so.7
+
+entry: 2
+ d_tag: DT_NEEDED
+ d_val: libc.so.7
+
+entry: 3
+ d_tag: DT_INIT
+ d_ptr: 0x401838
+
+entry: 4
+ d_tag: DT_FINI
+ d_ptr: 0x405b48
+
+entry: 5
+ d_tag: DT_HASH
+ d_ptr: 0x4001f8
+
+entry: 6
+ d_tag: DT_STRTAB
+ d_ptr: 0x400cc8
+
+entry: 7
+ d_tag: DT_SYMTAB
+ d_ptr: 0x400470
+
+entry: 8
+ d_tag: DT_STRSZ
+ d_val: 828
+
+entry: 9
+ d_tag: DT_SYMENT
+ d_val: 24
+
+entry: 10
+ d_tag: DT_DEBUG
+ d_ptr: 0
+
+entry: 11
+ d_tag: DT_PLTGOT
+ d_ptr: 0x5068e0
+
+entry: 12
+ d_tag: DT_PLTRELSZ
+ d_val: 1680
+
+entry: 13
+ d_tag: DT_PLTREL
+ d_val: 7
+
+entry: 14
+ d_tag: DT_JMPREL
+ d_ptr: 0x4011a8
+
+entry: 15
+ d_tag: DT_RELA
+ d_val: 4198632
+
+entry: 16
+ d_tag: DT_RELASZ
+ d_val: 192
+
+entry: 17
+ d_tag: DT_RELAENT
+ d_val: 24
+
+entry: 18
+ d_tag: DT_VERNEED
+ d_val: 4198584
+
+entry: 19
+ d_tag: DT_VERNEEDNUM
+ d_val: 1
+
+entry: 20
+ d_tag: DT_GNU_VERSYM
+ d_val: 4198404
+
+entry: 21
+ d_tag: DT_NULL
+
+entry: 22
+ d_tag: DT_NULL
+
+entry: 23
+ d_tag: DT_NULL
+
+entry: 24
+ d_tag: DT_NULL
+
+entry: 25
+ d_tag: DT_NULL
+
+entry: 26
+ d_tag: DT_NULL
diff --git a/test/elfdump/ts/exec1/@e@p%ls.err b/test/elfdump/ts/exec1/@e@p%ls.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec1/@e@p%ls.err
diff --git a/test/elfdump/ts/exec1/@e@p%ls.out b/test/elfdump/ts/exec1/@e@p%ls.out
new file mode 100644
index 0000000000000..9eecdf39c2247
--- /dev/null
+++ b/test/elfdump/ts/exec1/@e@p%ls.out
@@ -0,0 +1,89 @@
+
+elf header:
+
+ e_ident: ELFCLASS64 ELFDATA2LSB ELFOSABI_FREEBSD
+ e_type: ET_EXEC
+ e_machine: EM_X86_64
+ e_version: EV_CURRENT
+ e_entry: 0x401cc0
+ e_phoff: 64
+ e_shoff: 28336
+ e_flags: 0
+ e_ehsize: 64
+ e_phentsize: 56
+ e_phnum: 7
+ e_shentsize: 64
+ e_shnum: 26
+ e_shstrndx: 25
+
+program header:
+
+entry: 0
+ p_type: PT_PHDR
+ p_offset: 64
+ p_vaddr: 0x400040
+ p_paddr: 0x400040
+ p_filesz: 392
+ p_memsz: 392
+ p_flags: PF_X|PF_R
+ p_align: 8
+
+entry: 1
+ p_type: PT_INTERP
+ p_offset: 456
+ p_vaddr: 0x4001c8
+ p_paddr: 0x4001c8
+ p_filesz: 21
+ p_memsz: 21
+ p_flags: PF_R
+ p_align: 1
+
+entry: 2
+ p_type: PT_LOAD
+ p_offset: 0
+ p_vaddr: 0x400000
+ p_paddr: 0x400000
+ p_filesz: 24900
+ p_memsz: 24900
+ p_flags: PF_X|PF_R
+ p_align: 1048576
+
+entry: 3
+ p_type: PT_LOAD
+ p_offset: 24912
+ p_vaddr: 0x506150
+ p_paddr: 0x506150
+ p_filesz: 2520
+ p_memsz: 3080
+ p_flags: PF_W|PF_R
+ p_align: 1048576
+
+entry: 4
+ p_type: PT_DYNAMIC
+ p_offset: 26376
+ p_vaddr: 0x506708
+ p_paddr: 0x506708
+ p_filesz: 432
+ p_memsz: 432
+ p_flags: PF_W|PF_R
+ p_align: 8
+
+entry: 5
+ p_type: PT_NOTE
+ p_offset: 480
+ p_vaddr: 0x4001e0
+ p_paddr: 0x4001e0
+ p_filesz: 24
+ p_memsz: 24
+ p_flags: PF_R
+ p_align: 4
+
+entry: 6
+ p_type: PT_NULL
+ p_offset: 24892
+ p_vaddr: 0x40613c
+ p_paddr: 0x40613c
+ p_filesz: 8
+ p_memsz: 8
+ p_flags: PF_R
+ p_align: 4
diff --git a/test/elfdump/ts/exec1/@e@p@c@d%ls.err b/test/elfdump/ts/exec1/@e@p@c@d%ls.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec1/@e@p@c@d%ls.err
diff --git a/test/elfdump/ts/exec1/@e@p@c@d%ls.out b/test/elfdump/ts/exec1/@e@p@c@d%ls.out
new file mode 100644
index 0000000000000..83e63661d08af
--- /dev/null
+++ b/test/elfdump/ts/exec1/@e@p@c@d%ls.out
@@ -0,0 +1,507 @@
+
+elf header:
+
+ e_ident: ELFCLASS64 ELFDATA2LSB ELFOSABI_FREEBSD
+ e_type: ET_EXEC
+ e_machine: EM_X86_64
+ e_version: EV_CURRENT
+ e_entry: 0x401cc0
+ e_phoff: 64
+ e_shoff: 28336
+ e_flags: 0
+ e_ehsize: 64
+ e_phentsize: 56
+ e_phnum: 7
+ e_shentsize: 64
+ e_shnum: 26
+ e_shstrndx: 25
+
+program header:
+
+entry: 0
+ p_type: PT_PHDR
+ p_offset: 64
+ p_vaddr: 0x400040
+ p_paddr: 0x400040
+ p_filesz: 392
+ p_memsz: 392
+ p_flags: PF_X|PF_R
+ p_align: 8
+
+entry: 1
+ p_type: PT_INTERP
+ p_offset: 456
+ p_vaddr: 0x4001c8
+ p_paddr: 0x4001c8
+ p_filesz: 21
+ p_memsz: 21
+ p_flags: PF_R
+ p_align: 1
+
+entry: 2
+ p_type: PT_LOAD
+ p_offset: 0
+ p_vaddr: 0x400000
+ p_paddr: 0x400000
+ p_filesz: 24900
+ p_memsz: 24900
+ p_flags: PF_X|PF_R
+ p_align: 1048576
+
+entry: 3
+ p_type: PT_LOAD
+ p_offset: 24912
+ p_vaddr: 0x506150
+ p_paddr: 0x506150
+ p_filesz: 2520
+ p_memsz: 3080
+ p_flags: PF_W|PF_R
+ p_align: 1048576
+
+entry: 4
+ p_type: PT_DYNAMIC
+ p_offset: 26376
+ p_vaddr: 0x506708
+ p_paddr: 0x506708
+ p_filesz: 432
+ p_memsz: 432
+ p_flags: PF_W|PF_R
+ p_align: 8
+
+entry: 5
+ p_type: PT_NOTE
+ p_offset: 480
+ p_vaddr: 0x4001e0
+ p_paddr: 0x4001e0
+ p_filesz: 24
+ p_memsz: 24
+ p_flags: PF_R
+ p_align: 4
+
+entry: 6
+ p_type: PT_NULL
+ p_offset: 24892
+ p_vaddr: 0x40613c
+ p_paddr: 0x40613c
+ p_filesz: 8
+ p_memsz: 8
+ p_flags: PF_R
+ p_align: 4
+
+section header:
+
+entry: 0
+ sh_name:
+ sh_type: SHT_NULL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 0
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 0
+ sh_entsize: 0
+
+entry: 1
+ sh_name: .interp
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x4001c8
+ sh_offset: 456
+ sh_size: 21
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 2
+ sh_name: .note.ABI-tag
+ sh_type: SHT_NOTE
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x4001e0
+ sh_offset: 480
+ sh_size: 24
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 3
+ sh_name: .hash
+ sh_type: SHT_HASH
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x4001f8
+ sh_offset: 504
+ sh_size: 632
+ sh_link: 4
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 4
+
+entry: 4
+ sh_name: .dynsym
+ sh_type: SHT_DYNSYM
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x400470
+ sh_offset: 1136
+ sh_size: 2136
+ sh_link: 5
+ sh_info: 1
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 5
+ sh_name: .dynstr
+ sh_type: SHT_STRTAB
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x400cc8
+ sh_offset: 3272
+ sh_size: 828
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 6
+ sh_name: .gnu.version
+ sh_type: SHT_SUNW(GNU)_versym
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x401004
+ sh_offset: 4100
+ sh_size: 178
+ sh_link: 4
+ sh_info: 0
+ sh_addralign: 2
+ sh_entsize: 2
+
+entry: 7
+ sh_name: .gnu.version_r
+ sh_type: SHT_SUNW(GNU)_verneed
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x4010b8
+ sh_offset: 4280
+ sh_size: 48
+ sh_link: 5
+ sh_info: 1
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 8
+ sh_name: .rela.dyn
+ sh_type: SHT_RELA
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x4010e8
+ sh_offset: 4328
+ sh_size: 192
+ sh_link: 4
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 9
+ sh_name: .rela.plt
+ sh_type: SHT_RELA
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x4011a8
+ sh_offset: 4520
+ sh_size: 1680
+ sh_link: 4
+ sh_info: 11
+ sh_addralign: 8
+ sh_entsize: 24
+
+entry: 10
+ sh_name: .init
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x401838
+ sh_offset: 6200
+ sh_size: 19
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 11
+ sh_name: .plt
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x40184c
+ sh_offset: 6220
+ sh_size: 1136
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 16
+
+entry: 12
+ sh_name: .text
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x401cc0
+ sh_offset: 7360
+ sh_size: 16008
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 13
+ sh_name: .fini
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x405b48
+ sh_offset: 23368
+ sh_size: 14
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 14
+ sh_name: .rodata
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x405b60
+ sh_offset: 23392
+ sh_size: 1500
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 15
+ sh_name: .eh_frame_hdr
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x40613c
+ sh_offset: 24892
+ sh_size: 8
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 16
+ sh_name: .data
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x506150
+ sh_offset: 24912
+ sh_size: 76
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 17
+ sh_name: .eh_frame
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x5061a0
+ sh_offset: 24992
+ sh_size: 1384
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 18
+ sh_name: .dynamic
+ sh_type: SHT_DYNAMIC
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x506708
+ sh_offset: 26376
+ sh_size: 432
+ sh_link: 5
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 16
+
+entry: 19
+ sh_name: .ctors
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x5068b8
+ sh_offset: 26808
+ sh_size: 16
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 20
+ sh_name: .dtors
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x5068c8
+ sh_offset: 26824
+ sh_size: 16
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 21
+ sh_name: .jcr
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x5068d8
+ sh_offset: 26840
+ sh_size: 8
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 0
+
+entry: 22
+ sh_name: .got
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x5068e0
+ sh_offset: 26848
+ sh_size: 584
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 8
+ sh_entsize: 8
+
+entry: 23
+ sh_name: .bss
+ sh_type: SHT_NOBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x506b40
+ sh_offset: 27456
+ sh_size: 536
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 32
+ sh_entsize: 0
+
+entry: 24
+ sh_name: .comment
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 27456
+ sh_size: 672
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 25
+ sh_name: .shstrtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 28128
+ sh_size: 206
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+dynamic:
+
+entry: 0
+ d_tag: DT_NEEDED
+ d_val: libutil.so.7
+
+entry: 1
+ d_tag: DT_NEEDED
+ d_val: libncurses.so.7
+
+entry: 2
+ d_tag: DT_NEEDED
+ d_val: libc.so.7
+
+entry: 3
+ d_tag: DT_INIT
+ d_ptr: 0x401838
+
+entry: 4
+ d_tag: DT_FINI
+ d_ptr: 0x405b48
+
+entry: 5
+ d_tag: DT_HASH
+ d_ptr: 0x4001f8
+
+entry: 6
+ d_tag: DT_STRTAB
+ d_ptr: 0x400cc8
+
+entry: 7
+ d_tag: DT_SYMTAB
+ d_ptr: 0x400470
+
+entry: 8
+ d_tag: DT_STRSZ
+ d_val: 828
+
+entry: 9
+ d_tag: DT_SYMENT
+ d_val: 24
+
+entry: 10
+ d_tag: DT_DEBUG
+ d_ptr: 0
+
+entry: 11
+ d_tag: DT_PLTGOT
+ d_ptr: 0x5068e0
+
+entry: 12
+ d_tag: DT_PLTRELSZ
+ d_val: 1680
+
+entry: 13
+ d_tag: DT_PLTREL
+ d_val: 7
+
+entry: 14
+ d_tag: DT_JMPREL
+ d_ptr: 0x4011a8
+
+entry: 15
+ d_tag: DT_RELA
+ d_val: 4198632
+
+entry: 16
+ d_tag: DT_RELASZ
+ d_val: 192
+
+entry: 17
+ d_tag: DT_RELAENT
+ d_val: 24
+
+entry: 18
+ d_tag: DT_VERNEED
+ d_val: 4198584
+
+entry: 19
+ d_tag: DT_VERNEEDNUM
+ d_val: 1
+
+entry: 20
+ d_tag: DT_GNU_VERSYM
+ d_val: 4198404
+
+entry: 21
+ d_tag: DT_NULL
+
+entry: 22
+ d_tag: DT_NULL
+
+entry: 23
+ d_tag: DT_NULL
+
+entry: 24
+ d_tag: DT_NULL
+
+entry: 25
+ d_tag: DT_NULL
+
+entry: 26
+ d_tag: DT_NULL
diff --git a/test/elfdump/ts/exec1/@n%ls.err b/test/elfdump/ts/exec1/@n%ls.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec1/@n%ls.err
diff --git a/test/elfdump/ts/exec1/@n%ls.out b/test/elfdump/ts/exec1/@n%ls.out
new file mode 100644
index 0000000000000..ce54837c76ddf
--- /dev/null
+++ b/test/elfdump/ts/exec1/@n%ls.out
@@ -0,0 +1,3 @@
+
+note (.note.ABI-tag):
+ FreeBSD 800074
diff --git a/test/elfdump/ts/exec1/@p@e%ls.err b/test/elfdump/ts/exec1/@p@e%ls.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec1/@p@e%ls.err
diff --git a/test/elfdump/ts/exec1/@p@e%ls.out b/test/elfdump/ts/exec1/@p@e%ls.out
new file mode 100644
index 0000000000000..9eecdf39c2247
--- /dev/null
+++ b/test/elfdump/ts/exec1/@p@e%ls.out
@@ -0,0 +1,89 @@
+
+elf header:
+
+ e_ident: ELFCLASS64 ELFDATA2LSB ELFOSABI_FREEBSD
+ e_type: ET_EXEC
+ e_machine: EM_X86_64
+ e_version: EV_CURRENT
+ e_entry: 0x401cc0
+ e_phoff: 64
+ e_shoff: 28336
+ e_flags: 0
+ e_ehsize: 64
+ e_phentsize: 56
+ e_phnum: 7
+ e_shentsize: 64
+ e_shnum: 26
+ e_shstrndx: 25
+
+program header:
+
+entry: 0
+ p_type: PT_PHDR
+ p_offset: 64
+ p_vaddr: 0x400040
+ p_paddr: 0x400040
+ p_filesz: 392
+ p_memsz: 392
+ p_flags: PF_X|PF_R
+ p_align: 8
+
+entry: 1
+ p_type: PT_INTERP
+ p_offset: 456
+ p_vaddr: 0x4001c8
+ p_paddr: 0x4001c8
+ p_filesz: 21
+ p_memsz: 21
+ p_flags: PF_R
+ p_align: 1
+
+entry: 2
+ p_type: PT_LOAD
+ p_offset: 0
+ p_vaddr: 0x400000
+ p_paddr: 0x400000
+ p_filesz: 24900
+ p_memsz: 24900
+ p_flags: PF_X|PF_R
+ p_align: 1048576
+
+entry: 3
+ p_type: PT_LOAD
+ p_offset: 24912
+ p_vaddr: 0x506150
+ p_paddr: 0x506150
+ p_filesz: 2520
+ p_memsz: 3080
+ p_flags: PF_W|PF_R
+ p_align: 1048576
+
+entry: 4
+ p_type: PT_DYNAMIC
+ p_offset: 26376
+ p_vaddr: 0x506708
+ p_paddr: 0x506708
+ p_filesz: 432
+ p_memsz: 432
+ p_flags: PF_W|PF_R
+ p_align: 8
+
+entry: 5
+ p_type: PT_NOTE
+ p_offset: 480
+ p_vaddr: 0x4001e0
+ p_paddr: 0x4001e0
+ p_filesz: 24
+ p_memsz: 24
+ p_flags: PF_R
+ p_align: 4
+
+entry: 6
+ p_type: PT_NULL
+ p_offset: 24892
+ p_vaddr: 0x40613c
+ p_paddr: 0x40613c
+ p_filesz: 8
+ p_memsz: 8
+ p_flags: PF_R
+ p_align: 4
diff --git a/test/elfdump/ts/exec1/@p@n%ls.err b/test/elfdump/ts/exec1/@p@n%ls.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec1/@p@n%ls.err
diff --git a/test/elfdump/ts/exec1/@p@n%ls.out b/test/elfdump/ts/exec1/@p@n%ls.out
new file mode 100644
index 0000000000000..329ac78b50bc0
--- /dev/null
+++ b/test/elfdump/ts/exec1/@p@n%ls.out
@@ -0,0 +1,75 @@
+
+program header:
+
+entry: 0
+ p_type: PT_PHDR
+ p_offset: 64
+ p_vaddr: 0x400040
+ p_paddr: 0x400040
+ p_filesz: 392
+ p_memsz: 392
+ p_flags: PF_X|PF_R
+ p_align: 8
+
+entry: 1
+ p_type: PT_INTERP
+ p_offset: 456
+ p_vaddr: 0x4001c8
+ p_paddr: 0x4001c8
+ p_filesz: 21
+ p_memsz: 21
+ p_flags: PF_R
+ p_align: 1
+
+entry: 2
+ p_type: PT_LOAD
+ p_offset: 0
+ p_vaddr: 0x400000
+ p_paddr: 0x400000
+ p_filesz: 24900
+ p_memsz: 24900
+ p_flags: PF_X|PF_R
+ p_align: 1048576
+
+entry: 3
+ p_type: PT_LOAD
+ p_offset: 24912
+ p_vaddr: 0x506150
+ p_paddr: 0x506150
+ p_filesz: 2520
+ p_memsz: 3080
+ p_flags: PF_W|PF_R
+ p_align: 1048576
+
+entry: 4
+ p_type: PT_DYNAMIC
+ p_offset: 26376
+ p_vaddr: 0x506708
+ p_paddr: 0x506708
+ p_filesz: 432
+ p_memsz: 432
+ p_flags: PF_W|PF_R
+ p_align: 8
+
+entry: 5
+ p_type: PT_NOTE
+ p_offset: 480
+ p_vaddr: 0x4001e0
+ p_paddr: 0x4001e0
+ p_filesz: 24
+ p_memsz: 24
+ p_flags: PF_R
+ p_align: 4
+
+entry: 6
+ p_type: PT_NULL
+ p_offset: 24892
+ p_vaddr: 0x40613c
+ p_paddr: 0x40613c
+ p_filesz: 8
+ p_memsz: 8
+ p_flags: PF_R
+ p_align: 4
+
+note (.note.ABI-tag):
+ FreeBSD 800074
diff --git a/test/elfdump/ts/exec1/@p@s%ls.err b/test/elfdump/ts/exec1/@p@s%ls.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec1/@p@s%ls.err
diff --git a/test/elfdump/ts/exec1/@p@s%ls.out b/test/elfdump/ts/exec1/@p@s%ls.out
new file mode 100644
index 0000000000000..ac706013bbde0
--- /dev/null
+++ b/test/elfdump/ts/exec1/@p@s%ls.out
@@ -0,0 +1,697 @@
+
+program header:
+
+entry: 0
+ p_type: PT_PHDR
+ p_offset: 64
+ p_vaddr: 0x400040
+ p_paddr: 0x400040
+ p_filesz: 392
+ p_memsz: 392
+ p_flags: PF_X|PF_R
+ p_align: 8
+
+entry: 1
+ p_type: PT_INTERP
+ p_offset: 456
+ p_vaddr: 0x4001c8
+ p_paddr: 0x4001c8
+ p_filesz: 21
+ p_memsz: 21
+ p_flags: PF_R
+ p_align: 1
+
+entry: 2
+ p_type: PT_LOAD
+ p_offset: 0
+ p_vaddr: 0x400000
+ p_paddr: 0x400000
+ p_filesz: 24900
+ p_memsz: 24900
+ p_flags: PF_X|PF_R
+ p_align: 1048576
+
+entry: 3
+ p_type: PT_LOAD
+ p_offset: 24912
+ p_vaddr: 0x506150
+ p_paddr: 0x506150
+ p_filesz: 2520
+ p_memsz: 3080
+ p_flags: PF_W|PF_R
+ p_align: 1048576
+
+entry: 4
+ p_type: PT_DYNAMIC
+ p_offset: 26376
+ p_vaddr: 0x506708
+ p_paddr: 0x506708
+ p_filesz: 432
+ p_memsz: 432
+ p_flags: PF_W|PF_R
+ p_align: 8
+
+entry: 5
+ p_type: PT_NOTE
+ p_offset: 480
+ p_vaddr: 0x4001e0
+ p_paddr: 0x4001e0
+ p_filesz: 24
+ p_memsz: 24
+ p_flags: PF_R
+ p_align: 4
+
+entry: 6
+ p_type: PT_NULL
+ p_offset: 24892
+ p_vaddr: 0x40613c
+ p_paddr: 0x40613c
+ p_filesz: 8
+ p_memsz: 8
+ p_flags: PF_R
+ p_align: 4
+
+symbol table (.dynsym):
+
+entry: 0
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_LOCAL
+ st_shndx: 0
+
+entry: 1
+ st_name: fflagstostr
+ st_value: 0x40185c
+ st_size: 138
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 2
+ st_name: puts
+ st_value: 0x40186c
+ st_size: 210
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 3
+ st_name: fprintf
+ st_value: 0x40187c
+ st_size: 144
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 4
+ st_name: atoi
+ st_value: 0x40188c
+ st_size: 21
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 5
+ st_name: time
+ st_value: 0x40189c
+ st_size: 50
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 6
+ st_name: mbrtowc
+ st_value: 0x4018ac
+ st_size: 27
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 7
+ st_name: write
+ st_value: 0x4018bc
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 8
+ st_name: fputc
+ st_value: 0x4018cc
+ st_size: 158
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 9
+ st_name: getenv
+ st_value: 0x4018dc
+ st_size: 389
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 10
+ st_name: _DYNAMIC
+ st_value: 0x506708
+ st_size: 0
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 65521
+
+entry: 11
+ st_name: kill
+ st_value: 0x4018ec
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 12
+ st_name: humanize_number
+ st_value: 0x4018fc
+ st_size: 959
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 13
+ st_name: tgoto
+ st_value: 0x40190c
+ st_size: 993
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 14
+ st_name: putc
+ st_value: 0x40191c
+ st_size: 158
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 15
+ st_name: strdup
+ st_value: 0x40192c
+ st_size: 85
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 16
+ st_name: mac_get_link
+ st_value: 0x40193c
+ st_size: 5
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 17
+ st_name: fputs
+ st_value: 0x40194c
+ st_size: 154
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 18
+ st_name: ___runetype
+ st_value: 0x40195c
+ st_size: 117
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 19
+ st_name: mac_prepare_file_label
+ st_value: 0x40196c
+ st_size: 12
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 20
+ st_name: mac_to_text
+ st_value: 0x40197c
+ st_size: 27
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 21
+ st_name: __stack_chk_guard
+ st_value: 0x506b40
+ st_size: 64
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 23
+
+entry: 22
+ st_name: ioctl
+ st_value: 0x40198c
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 23
+ st_name: group_from_gid
+ st_value: 0x40199c
+ st_size: 271
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 24
+ st_name: strftime
+ st_value: 0x4019ac
+ st_size: 391
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 25
+ st_name: strerror
+ st_value: 0x4019bc
+ st_size: 48
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 26
+ st_name: _init_tls
+ st_value: 0x4019cc
+ st_size: 2
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 27
+ st_name: realloc
+ st_value: 0x4019dc
+ st_size: 1276
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 28
+ st_name: _init
+ st_value: 0x401838
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 10
+
+entry: 29
+ st_name: localtime
+ st_value: 0x4019ec
+ st_size: 321
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 30
+ st_name: environ
+ st_value: 0x506cc8
+ st_size: 8
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 23
+
+entry: 31
+ st_name: mac_free
+ st_value: 0x4019fc
+ st_size: 30
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 32
+ st_name: acl_get_entry
+ st_value: 0x401a0c
+ st_size: 95
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 33
+ st_name: fts_set
+ st_value: 0x401a1c
+ st_size: 40
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 34
+ st_name: strchr
+ st_value: 0x401a2c
+ st_size: 41
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 35
+ st_name: strcoll
+ st_value: 0x401a3c
+ st_size: 488
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 36
+ st_name: __isthreaded
+ st_value: 0x506b80
+ st_size: 4
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 23
+
+entry: 37
+ st_name: getopt
+ st_value: 0x401a4c
+ st_size: 685
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 38
+ st_name: __progname
+ st_value: 0x506150
+ st_size: 8
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 16
+
+entry: 39
+ st_name: strmode
+ st_value: 0x401a5c
+ st_size: 760
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 40
+ st_name: warnx
+ st_value: 0x401a6c
+ st_size: 149
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 41
+ st_name: tputs
+ st_value: 0x401a7c
+ st_size: 982
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 42
+ st_name: optarg
+ st_value: 0x506b88
+ st_size: 8
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 23
+
+entry: 43
+ st_name: sscanf
+ st_value: 0x401a8c
+ st_size: 323
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 44
+ st_name: memset
+ st_value: 0x401a9c
+ st_size: 84
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 45
+ st_name: __error
+ st_value: 0x401aac
+ st_size: 8
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 46
+ st_name: pathconf
+ st_value: 0x401abc
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 47
+ st_name: fts_children
+ st_value: 0x401acc
+ st_size: 299
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 48
+ st_name: printf
+ st_value: 0x401adc
+ st_size: 162
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 49
+ st_name: user_from_uid
+ st_value: 0x401aec
+ st_size: 271
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 50
+ st_name: __bss_start
+ st_value: 0x506b28
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 65521
+
+entry: 51
+ st_name: snprintf
+ st_value: 0x401afc
+ st_size: 501
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 52
+ st_name: warn
+ st_value: 0x401b0c
+ st_size: 168
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 53
+ st_name: __mb_sb_limit
+ st_value: 0x506b90
+ st_size: 4
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 23
+
+entry: 54
+ st_name: tgetent
+ st_value: 0x401b1c
+ st_size: 1598
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 55
+ st_name: signal
+ st_value: 0x401b2c
+ st_size: 95
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 56
+ st_name: fts_read
+ st_value: 0x401b3c
+ st_size: 1240
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 57
+ st_name: _fini
+ st_value: 0x405b48
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 13
+
+entry: 58
+ st_name: nl_langinfo
+ st_value: 0x401b4c
+ st_size: 677
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 59
+ st_name: setenv
+ st_value: 0x401b5c
+ st_size: 147
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 60
+ st_name: __stdoutp
+ st_value: 0x506b98
+ st_size: 8
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 23
+
+entry: 61
+ st_name: fwrite
+ st_value: 0x401b6c
+ st_size: 202
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 62
+ st_name: _CurrentRuneLocale
+ st_value: 0x506ba0
+ st_size: 8
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 23
+
+entry: 63
+ st_name: fts_open
+ st_value: 0x401b7c
+ st_size: 645
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 64
+ st_name: getbsize
+ st_value: 0x401b8c
+ st_size: 545
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 65
+ st_name: __swbuf
+ st_value: 0x401b9c
+ st_size: 230
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 66
+ st_name: exit
+ st_value: 0x401bac
+ st_size: 47
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 67
+ st_name: malloc
+ st_value: 0x401bbc
+ st_size: 175
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 68
+ st_name: mac_get_file
+ st_value: 0x401bcc
+ st_size: 5
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 69
+ st_name: err
+ st_value: 0x401bdc
+ st_size: 170
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 70
+ st_name: _edata
+ st_value: 0x506b28
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 65521
+
+entry: 71
+ st_name: isatty
+ st_value: 0x401bec
+ st_size: 60
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 72
+ st_name: _GLOBAL_OFFSET_TABLE_
+ st_value: 0x5068e0
+ st_size: 0
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 65521
+
+entry: 73
+ st_name: _end
+ st_value: 0x506d58
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 65521
+
+entry: 74
+ st_name: setlocale
+ st_value: 0x401bfc
+ st_size: 904
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 75
+ st_name: __stderrp
+ st_value: 0x506ba8
+ st_size: 8
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 23
+
+entry: 76
+ st_name: free
+ st_value: 0x401c0c
+ st_size: 118
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 77
+ st_name: optind
+ st_value: 0x506bb0
+ st_size: 4
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 23
+
+entry: 78
+ st_name: getuid
+ st_value: 0x401c1c
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 79
+ st_name: __stack_chk_fail
+ st_value: 0x401c2c
+ st_size: 12
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 80
+ st_name: atexit
+ st_value: 0x401c3c
+ st_size: 47
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 81
+ st_name: acl_free
+ st_value: 0x401c4c
+ st_size: 21
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 82
+ st_name: getpid
+ st_value: 0x401c5c
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 83
+ st_name: strlen
+ st_value: 0x401c6c
+ st_size: 199
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 84
+ st_name: strcpy
+ st_value: 0x401c7c
+ st_size: 174
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 85
+ st_name: _Jv_RegisterClasses
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_WEAK
+ st_shndx: 0
+
+entry: 86
+ st_name: readlink
+ st_value: 0x401c8c
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 87
+ st_name: tgetstr
+ st_value: 0x401c9c
+ st_size: 355
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 88
+ st_name: acl_get_file
+ st_value: 0x401cac
+ st_size: 93
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
diff --git a/test/elfdump/ts/exec1/ls b/test/elfdump/ts/exec1/ls
new file mode 100644
index 0000000000000..4b7329db8ec97
--- /dev/null
+++ b/test/elfdump/ts/exec1/ls
Binary files differ
diff --git a/test/elfdump/ts/exec1/tc b/test/elfdump/ts/exec1/tc
new file mode 100755
index 0000000000000..bd201e65a7f26
--- /dev/null
+++ b/test/elfdump/ts/exec1/tc
@@ -0,0 +1,174 @@
+#!/bin/sh
+#
+# $Id: tc 2083 2011-10-27 04:41:39Z jkoshy $
+
+tp1()
+{
+ run "@e%ls"
+}
+
+tp2()
+{
+ run "@e@p%ls"
+}
+
+tp3()
+{
+ run "@p@e%ls"
+}
+
+tp4()
+{
+ run "@G%ls"
+}
+
+tp5()
+{
+ run "@G@e%ls"
+}
+
+tp6()
+{
+ run "@n%ls"
+}
+
+tp7()
+{
+ run "@p@n%ls"
+}
+
+tp8()
+{
+ run "@p@s%ls"
+}
+
+tp9()
+{
+ run "@c%ls"
+}
+
+tp10()
+{
+ run "@c@s%ls"
+}
+
+tp11()
+{
+ run "@c@p@n%ls"
+}
+
+tp12()
+{
+ run "@e@d%ls"
+}
+
+tp13()
+{
+ run "@c@d%ls"
+}
+
+tp14()
+{
+ run "@e@p@c@d%ls"
+}
+
+tp15()
+{
+ run "@S@e%ls"
+}
+
+tp16()
+{
+ run "@S@e@p%ls"
+}
+
+tp17()
+{
+ run "@S@G%ls"
+}
+
+tp18()
+{
+ run "@S@s@N%.dynsym%ls"
+}
+
+tp19()
+{
+ run "@S@r%ls"
+}
+
+tp20()
+{
+ run "@S@d%ls"
+}
+
+tp21()
+{
+ run "@S@n%ls"
+}
+
+tp22()
+{
+ run "@S@c@s%ls"
+}
+
+tp23()
+{
+ run "@S@e@k%ls"
+}
+
+tp24()
+{
+ run "@S@v%ls"
+}
+
+tp25()
+{
+ run "@S@h%ls"
+}
+
+tp26()
+{
+ run "@S@r@N%.rela.dyn%ls"
+}
+
+tp27()
+{
+ run "@S@r@N%.rela.dyn@N%.rela.plt%ls"
+}
+
+tet_startup=""
+tet_cleanup="cleanup"
+
+iclist="ic1 ic2 ic3 ic4 ic5 ic6 ic7 ic8 ic9 ic10 ic11 ic12 ic13 ic14 ic15 ic16 ic17 ic18 ic19 ic20 ic21 ic22 ic23 ic24 ic25 ic26 ic27"
+
+ic1="tp1"
+ic2="tp2"
+ic3="tp3"
+ic4="tp4"
+ic5="tp5"
+ic6="tp6"
+ic7="tp7"
+ic8="tp8"
+ic9="tp9"
+ic10="tp10"
+ic11="tp11"
+ic12="tp12"
+ic13="tp13"
+ic14="tp14"
+ic15="tp15"
+ic16="tp16"
+ic17="tp17"
+ic18="tp18"
+ic19="tp19"
+ic20="tp20"
+ic21="tp21"
+ic22="tp22"
+ic23="tp23"
+ic24="tp24"
+ic25="tp25"
+ic26="tp26"
+ic27="tp27"
+
+. $TET_SUITE_ROOT/ts/common/func.sh
+. $TET_ROOT/lib/xpg3sh/tcm.sh
diff --git a/test/elfdump/ts/exec2/@G%cp.err b/test/elfdump/ts/exec2/@G%cp.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec2/@G%cp.err
diff --git a/test/elfdump/ts/exec2/@G%cp.out b/test/elfdump/ts/exec2/@G%cp.out
new file mode 100644
index 0000000000000..b808d9ae4b0b6
--- /dev/null
+++ b/test/elfdump/ts/exec2/@G%cp.out
@@ -0,0 +1,185 @@
+
+global offset table:
+
+entry: 0
+ 0x804c4f0
+
+entry: 1
+ 0
+
+entry: 2
+ 0
+
+entry: 3
+ 0x8048c0a
+
+entry: 4
+ 0x8048c1a
+
+entry: 5
+ 0x8048c2a
+
+entry: 6
+ 0x8048c3a
+
+entry: 7
+ 0x8048c4a
+
+entry: 8
+ 0x8048c5a
+
+entry: 9
+ 0x8048c6a
+
+entry: 10
+ 0x8048c7a
+
+entry: 11
+ 0x8048c8a
+
+entry: 12
+ 0x8048c9a
+
+entry: 13
+ 0x8048caa
+
+entry: 14
+ 0x8048cba
+
+entry: 15
+ 0x8048cca
+
+entry: 16
+ 0x8048cda
+
+entry: 17
+ 0x8048cea
+
+entry: 18
+ 0x8048cfa
+
+entry: 19
+ 0x8048d0a
+
+entry: 20
+ 0x8048d1a
+
+entry: 21
+ 0x8048d2a
+
+entry: 22
+ 0x8048d3a
+
+entry: 23
+ 0x8048d4a
+
+entry: 24
+ 0x8048d5a
+
+entry: 25
+ 0x8048d6a
+
+entry: 26
+ 0x8048d7a
+
+entry: 27
+ 0x8048d8a
+
+entry: 28
+ 0x8048d9a
+
+entry: 29
+ 0x8048daa
+
+entry: 30
+ 0x8048dba
+
+entry: 31
+ 0x8048dca
+
+entry: 32
+ 0x8048dda
+
+entry: 33
+ 0x8048dea
+
+entry: 34
+ 0x8048dfa
+
+entry: 35
+ 0x8048e0a
+
+entry: 36
+ 0x8048e1a
+
+entry: 37
+ 0x8048e2a
+
+entry: 38
+ 0x8048e3a
+
+entry: 39
+ 0x8048e4a
+
+entry: 40
+ 0x8048e5a
+
+entry: 41
+ 0x8048e6a
+
+entry: 42
+ 0x8048e7a
+
+entry: 43
+ 0x8048e8a
+
+entry: 44
+ 0x8048e9a
+
+entry: 45
+ 0x8048eaa
+
+entry: 46
+ 0x8048eba
+
+entry: 47
+ 0x8048eca
+
+entry: 48
+ 0x8048eda
+
+entry: 49
+ 0x8048eea
+
+entry: 50
+ 0x8048efa
+
+entry: 51
+ 0x8048f0a
+
+entry: 52
+ 0x8048f1a
+
+entry: 53
+ 0x8048f2a
+
+entry: 54
+ 0x8048f3a
+
+entry: 55
+ 0x8048f4a
+
+entry: 56
+ 0x8048f5a
+
+entry: 57
+ 0x8048f6a
+
+entry: 58
+ 0x8048f7a
+
+entry: 59
+ 0x8048f8a
+
+entry: 60
+ 0x8048f9a
diff --git a/test/elfdump/ts/exec2/@G@e%cp.err b/test/elfdump/ts/exec2/@G@e%cp.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec2/@G@e%cp.err
diff --git a/test/elfdump/ts/exec2/@G@e%cp.out b/test/elfdump/ts/exec2/@G@e%cp.out
new file mode 100644
index 0000000000000..b9b06040cf418
--- /dev/null
+++ b/test/elfdump/ts/exec2/@G@e%cp.out
@@ -0,0 +1,202 @@
+
+elf header:
+
+ e_ident: ELFCLASS32 ELFDATA2LSB ELFOSABI_FREEBSD
+ e_type: ET_EXEC
+ e_machine: EM_386
+ e_version: EV_CURRENT
+ e_entry: 0x8048fb0
+ e_phoff: 52
+ e_shoff: 14692
+ e_flags: 0
+ e_ehsize: 52
+ e_phentsize: 32
+ e_phnum: 6
+ e_shentsize: 40
+ e_shnum: 25
+ e_shstrndx: 24
+
+global offset table:
+
+entry: 0
+ 0x804c4f0
+
+entry: 1
+ 0
+
+entry: 2
+ 0
+
+entry: 3
+ 0x8048c0a
+
+entry: 4
+ 0x8048c1a
+
+entry: 5
+ 0x8048c2a
+
+entry: 6
+ 0x8048c3a
+
+entry: 7
+ 0x8048c4a
+
+entry: 8
+ 0x8048c5a
+
+entry: 9
+ 0x8048c6a
+
+entry: 10
+ 0x8048c7a
+
+entry: 11
+ 0x8048c8a
+
+entry: 12
+ 0x8048c9a
+
+entry: 13
+ 0x8048caa
+
+entry: 14
+ 0x8048cba
+
+entry: 15
+ 0x8048cca
+
+entry: 16
+ 0x8048cda
+
+entry: 17
+ 0x8048cea
+
+entry: 18
+ 0x8048cfa
+
+entry: 19
+ 0x8048d0a
+
+entry: 20
+ 0x8048d1a
+
+entry: 21
+ 0x8048d2a
+
+entry: 22
+ 0x8048d3a
+
+entry: 23
+ 0x8048d4a
+
+entry: 24
+ 0x8048d5a
+
+entry: 25
+ 0x8048d6a
+
+entry: 26
+ 0x8048d7a
+
+entry: 27
+ 0x8048d8a
+
+entry: 28
+ 0x8048d9a
+
+entry: 29
+ 0x8048daa
+
+entry: 30
+ 0x8048dba
+
+entry: 31
+ 0x8048dca
+
+entry: 32
+ 0x8048dda
+
+entry: 33
+ 0x8048dea
+
+entry: 34
+ 0x8048dfa
+
+entry: 35
+ 0x8048e0a
+
+entry: 36
+ 0x8048e1a
+
+entry: 37
+ 0x8048e2a
+
+entry: 38
+ 0x8048e3a
+
+entry: 39
+ 0x8048e4a
+
+entry: 40
+ 0x8048e5a
+
+entry: 41
+ 0x8048e6a
+
+entry: 42
+ 0x8048e7a
+
+entry: 43
+ 0x8048e8a
+
+entry: 44
+ 0x8048e9a
+
+entry: 45
+ 0x8048eaa
+
+entry: 46
+ 0x8048eba
+
+entry: 47
+ 0x8048eca
+
+entry: 48
+ 0x8048eda
+
+entry: 49
+ 0x8048eea
+
+entry: 50
+ 0x8048efa
+
+entry: 51
+ 0x8048f0a
+
+entry: 52
+ 0x8048f1a
+
+entry: 53
+ 0x8048f2a
+
+entry: 54
+ 0x8048f3a
+
+entry: 55
+ 0x8048f4a
+
+entry: 56
+ 0x8048f5a
+
+entry: 57
+ 0x8048f6a
+
+entry: 58
+ 0x8048f7a
+
+entry: 59
+ 0x8048f8a
+
+entry: 60
+ 0x8048f9a
diff --git a/test/elfdump/ts/exec2/@S@G%cp.err b/test/elfdump/ts/exec2/@S@G%cp.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec2/@S@G%cp.err
diff --git a/test/elfdump/ts/exec2/@S@G%cp.out b/test/elfdump/ts/exec2/@S@G%cp.out
new file mode 100644
index 0000000000000..1b05518373449
--- /dev/null
+++ b/test/elfdump/ts/exec2/@S@G%cp.out
@@ -0,0 +1,64 @@
+
+Global Offset Table Section: .got (61 entries)
+ ndx addr value reloc addend symbol
+[00000] 0804c5cc 0804c4f0 R_386_NONE 00000000
+[00001] 0804c5d0 00000000 R_386_NONE 00000000
+[00002] 0804c5d4 00000000 R_386_NONE 00000000
+[00003] 0804c5d8 08048c0a R_386_JMP_SLOT 00000000 fprintf
+[00004] 0804c5dc 08048c1a R_386_JMP_SLOT 00000000 write
+[00005] 0804c5e0 08048c2a R_386_JMP_SLOT 00000000 utimes
+[00006] 0804c5e4 08048c3a R_386_JMP_SLOT 00000000 lstat
+[00007] 0804c5e8 08048c4a R_386_JMP_SLOT 00000000 acl_get_fd
+[00008] 0804c5ec 08048c5a R_386_JMP_SLOT 00000000 lutimes
+[00009] 0804c5f0 08048c6a R_386_JMP_SLOT 00000000 lchmod
+[00010] 0804c5f4 08048c7a R_386_JMP_SLOT 00000000 link
+[00011] 0804c5f8 08048c8a R_386_JMP_SLOT 00000000 mkfifo
+[00012] 0804c5fc 08048c9a R_386_JMP_SLOT 00000000 fts_set
+[00013] 0804c600 08048caa R_386_JMP_SLOT 00000000 fts_close
+[00014] 0804c604 08048cba R_386_JMP_SLOT 00000000 chflags
+[00015] 0804c608 08048cca R_386_JMP_SLOT 00000000 fts_read
+[00016] 0804c60c 08048cda R_386_JMP_SLOT 00000000 strerror
+[00017] 0804c610 08048cea R_386_JMP_SLOT 00000000 _init_tls
+[00018] 0804c614 08048cfa R_386_JMP_SLOT 00000000 fts_open
+[00019] 0804c618 08048d0a R_386_JMP_SLOT 00000000 errx
+[00020] 0804c61c 08048d1a R_386_JMP_SLOT 00000000 munmap
+[00021] 0804c620 08048d2a R_386_JMP_SLOT 00000000 symlink
+[00022] 0804c624 08048d3a R_386_JMP_SLOT 00000000 fpathconf
+[00023] 0804c628 08048d4a R_386_JMP_SLOT 00000000 unlink
+[00024] 0804c62c 08048d5a R_386_JMP_SLOT 00000000 getopt
+[00025] 0804c630 08048d6a R_386_JMP_SLOT 00000000 strrchr
+[00026] 0804c634 08048d7a R_386_JMP_SLOT 00000000 warnx
+[00027] 0804c638 08048d8a R_386_JMP_SLOT 00000000 stat
+[00028] 0804c63c 08048d9a R_386_JMP_SLOT 00000000 mmap
+[00029] 0804c640 08048daa R_386_JMP_SLOT 00000000 mknod
+[00030] 0804c644 08048dba R_386_JMP_SLOT 00000000 __error
+[00031] 0804c648 08048dca R_386_JMP_SLOT 00000000 pathconf
+[00032] 0804c64c 08048dda R_386_JMP_SLOT 00000000 printf
+[00033] 0804c650 08048dea R_386_JMP_SLOT 00000000 close
+[00034] 0804c654 08048dfa R_386_JMP_SLOT 00000000 warn
+[00035] 0804c658 08048e0a R_386_JMP_SLOT 00000000 acl_set_link_np
+[00036] 0804c65c 08048e1a R_386_JMP_SLOT 00000000 umask
+[00037] 0804c660 08048e2a R_386_JMP_SLOT 00000000 signal
+[00038] 0804c664 08048e3a R_386_JMP_SLOT 00000000 fchmod
+[00039] 0804c668 08048e4a R_386_JMP_SLOT 00000000 fwrite
+[00040] 0804c66c 08048e5a R_386_JMP_SLOT 00000000 open
+[00041] 0804c670 08048e6a R_386_JMP_SLOT 00000000 fchown
+[00042] 0804c674 08048e7a R_386_JMP_SLOT 00000000 lchown
+[00043] 0804c678 08048e8a R_386_JMP_SLOT 00000000 acl_set_fd
+[00044] 0804c67c 08048e9a R_386_JMP_SLOT 00000000 exit
+[00045] 0804c680 08048eaa R_386_JMP_SLOT 00000000 mkdir
+[00046] 0804c684 08048eba R_386_JMP_SLOT 00000000 err
+[00047] 0804c688 08048eca R_386_JMP_SLOT 00000000 chmod
+[00048] 0804c68c 08048eda R_386_JMP_SLOT 00000000 acl_set_file
+[00049] 0804c690 08048eea R_386_JMP_SLOT 00000000 __srget
+[00050] 0804c694 08048efa R_386_JMP_SLOT 00000000 atexit
+[00051] 0804c698 08048f0a R_386_JMP_SLOT 00000000 chown
+[00052] 0804c69c 08048f1a R_386_JMP_SLOT 00000000 read
+[00053] 0804c6a0 08048f2a R_386_JMP_SLOT 00000000 fchflags
+[00054] 0804c6a4 08048f3a R_386_JMP_SLOT 00000000 strncat
+[00055] 0804c6a8 08048f4a R_386_JMP_SLOT 00000000 acl_get_link_np
+[00056] 0804c6ac 08048f5a R_386_JMP_SLOT 00000000 readlink
+[00057] 0804c6b0 08048f6a R_386_JMP_SLOT 00000000 getc
+[00058] 0804c6b4 08048f7a R_386_JMP_SLOT 00000000 acl_get_file
+[00059] 0804c6b8 08048f8a R_386_JMP_SLOT 00000000 fstat
+[00060] 0804c6bc 08048f9a R_386_JMP_SLOT 00000000 strlcpy
diff --git a/test/elfdump/ts/exec2/@S@c@s%cp.err b/test/elfdump/ts/exec2/@S@c@s%cp.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec2/@S@c@s%cp.err
diff --git a/test/elfdump/ts/exec2/@S@c@s%cp.out b/test/elfdump/ts/exec2/@S@c@s%cp.out
new file mode 100644
index 0000000000000..98059f385f052
--- /dev/null
+++ b/test/elfdump/ts/exec2/@S@c@s%cp.out
@@ -0,0 +1,238 @@
+
+Section Header[1]: sh_name: .interp
+ sh_addr: 0x80480f4 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x15 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0xf4 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[2]: sh_name: .note.ABI-tag
+ sh_addr: 0x804810c sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x18 sh_type: [ SHT_NOTE ]
+ sh_offset: 0x10c sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[3]: sh_name: .hash
+ sh_addr: 0x8048124 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x220 sh_type: [ SHT_HASH ]
+ sh_offset: 0x124 sh_entsize: 0x4
+ sh_link: 4 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[4]: sh_name: .dynsym
+ sh_addr: 0x8048344 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x430 sh_type: [ SHT_DYNSYM ]
+ sh_offset: 0x344 sh_entsize: 0x10
+ sh_link: 5 sh_info: 1
+ sh_addralign: 0x4
+
+Section Header[5]: sh_name: .dynstr
+ sh_addr: 0x8048774 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x1d3 sh_type: [ SHT_STRTAB ]
+ sh_offset: 0x774 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[6]: sh_name: .gnu.version
+ sh_addr: 0x8048948 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x86 sh_type: [ SHT_SUNW(GNU)_versym ]
+ sh_offset: 0x948 sh_entsize: 0x2
+ sh_link: 4 sh_info: 0
+ sh_addralign: 0x2
+
+Section Header[7]: sh_name: .gnu.version_r
+ sh_addr: 0x80489d0 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x20 sh_type: [ SHT_SUNW(GNU)_verneed ]
+ sh_offset: 0x9d0 sh_entsize: 0
+ sh_link: 5 sh_info: 1
+ sh_addralign: 0x4
+
+Section Header[8]: sh_name: .rel.dyn
+ sh_addr: 0x80489f0 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x20 sh_type: [ SHT_REL ]
+ sh_offset: 0x9f0 sh_entsize: 0x8
+ sh_link: 4 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[9]: sh_name: .rel.plt
+ sh_addr: 0x8048a10 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x1d0 sh_type: [ SHT_REL ]
+ sh_offset: 0xa10 sh_entsize: 0x8
+ sh_link: 4 sh_info: 11
+ sh_addralign: 0x4
+
+Section Header[10]: sh_name: .init
+ sh_addr: 0x8048be0 sh_flags: [ SHF_ALLOC|SHF_EXECINSTR ]
+ sh_size: 0x11 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0xbe0 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[11]: sh_name: .plt
+ sh_addr: 0x8048bf4 sh_flags: [ SHF_ALLOC|SHF_EXECINSTR ]
+ sh_size: 0x3b0 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0xbf4 sh_entsize: 0x4
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[12]: sh_name: .text
+ sh_addr: 0x8048fb0 sh_flags: [ SHF_ALLOC|SHF_EXECINSTR ]
+ sh_size: 0x1bdc sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0xfb0 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x10
+
+Section Header[13]: sh_name: .fini
+ sh_addr: 0x804ab8c sh_flags: [ SHF_ALLOC|SHF_EXECINSTR ]
+ sh_size: 0xc sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x2b8c sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[14]: sh_name: .rodata
+ sh_addr: 0x804ab98 sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x512 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x2b98 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[15]: sh_name: .data
+ sh_addr: 0x804c0c0 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0x42c sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x30c0 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x20
+
+Section Header[16]: sh_name: .eh_frame
+ sh_addr: 0x804c4ec sh_flags: [ SHF_ALLOC ]
+ sh_size: 0x4 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x34ec sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[17]: sh_name: .dynamic
+ sh_addr: 0x804c4f0 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0xc8 sh_type: [ SHT_DYNAMIC ]
+ sh_offset: 0x34f0 sh_entsize: 0x8
+ sh_link: 5 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[18]: sh_name: .ctors
+ sh_addr: 0x804c5b8 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0x8 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x35b8 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[19]: sh_name: .dtors
+ sh_addr: 0x804c5c0 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0x8 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x35c0 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[20]: sh_name: .jcr
+ sh_addr: 0x804c5c8 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0x4 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x35c8 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[21]: sh_name: .got
+ sh_addr: 0x804c5cc sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0xf4 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x35cc sh_entsize: 0x4
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x4
+
+Section Header[22]: sh_name: .bss
+ sh_addr: 0x804c6c0 sh_flags: [ SHF_WRITE|SHF_ALLOC ]
+ sh_size: 0x10060 sh_type: [ SHT_NOBITS ]
+ sh_offset: 0x36c0 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x20
+
+Section Header[23]: sh_name: .comment
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0x1e5 sh_type: [ SHT_PROGBITS ]
+ sh_offset: 0x36c0 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Section Header[24]: sh_name: .shstrtab
+ sh_addr: 0 sh_flags: 0
+ sh_size: 0xbe sh_type: [ SHT_STRTAB ]
+ sh_offset: 0x38a5 sh_entsize: 0
+ sh_link: 0 sh_info: 0
+ sh_addralign: 0x1
+
+Symbol Table Section: .dynsym
+ index value size type bind oth ver shndx name
+ [0] 0x00000000 0x00000000 NOTY LOCL D 0 UNDEF
+ [1] 0x00000000 0x00000034 FUNC GLOB D 2 UNDEF fprintf
+ [2] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF write
+ [3] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF utimes
+ [4] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF lstat
+ [5] 0x00000000 0x0000005d FUNC GLOB D 2 UNDEF acl_get_fd
+ [6] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF lutimes
+ [7] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF lchmod
+ [8] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF link
+ [9] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF mkfifo
+ [10] 0x00000000 0x00000042 FUNC GLOB D 2 UNDEF fts_set
+ [11] 0x00000000 0x000000da FUNC GLOB D 2 UNDEF fts_close
+ [12] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF chflags
+ [13] 0x00000000 0x000004f2 FUNC GLOB D 2 UNDEF fts_read
+ [14] 0x00000000 0x0000004a FUNC GLOB D 2 UNDEF strerror
+ [15] 0x00000000 0x00000005 FUNC GLOB D 2 UNDEF _init_tls
+ [16] 0x00000000 0x0000027e FUNC GLOB D 2 UNDEF fts_open
+ [17] 0x00000000 0x0000002e FUNC GLOB D 2 UNDEF errx
+ [18] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF munmap
+ [19] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF symlink
+ [20] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF fpathconf
+ [21] 0x0805c700 0x00000004 OBJT GLOB D 1 .bss environ
+ [22] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF unlink
+ [23] 0x0804c6c0 0x00000004 OBJT GLOB D 2 .bss __isthreaded
+ [24] 0x00000000 0x00000294 FUNC GLOB D 2 UNDEF getopt
+ [25] 0x00000000 0x0000001b FUNC GLOB D 2 UNDEF strrchr
+ [26] 0x0804c0c0 0x00000004 OBJT GLOB D 1 .data __progname
+ [27] 0x00000000 0x0000002d FUNC GLOB D 2 UNDEF warnx
+ [28] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF stat
+ [29] 0x00000000 0x000000a4 FUNC GLOB D 2 UNDEF mmap
+ [30] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF mknod
+ [31] 0x00000000 0x00000016 FUNC GLOB D 2 UNDEF __error
+ [32] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF pathconf
+ [33] 0x00000000 0x00000039 FUNC GLOB D 2 UNDEF printf
+ [34] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF close
+ [35] 0x00000000 0x00000041 FUNC GLOB D 2 UNDEF warn
+ [36] 0x08048e04 0x0000009d FUNC GLOB D 2 UNDEF acl_set_link_np
+ [37] 0x0804c6c4 0x00000004 OBJT GLOB D 2 .bss __stdinp
+ [38] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF umask
+ [39] 0x00000000 0x0000006b FUNC GLOB D 2 UNDEF signal
+ [40] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF fchmod
+ [41] 0x00000000 0x000000af FUNC GLOB D 2 UNDEF fwrite
+ [42] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF open
+ [43] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF fchown
+ [44] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF lchown
+ [45] 0x00000000 0x0000006e FUNC GLOB D 2 UNDEF acl_set_fd
+ [46] 0x00000000 0x00000043 FUNC GLOB D 2 UNDEF exit
+ [47] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF mkdir
+ [48] 0x00000000 0x0000003e FUNC GLOB D 2 UNDEF err
+ [49] 0x0805c720 0x00000000 NOTY GLOB D 1 ABS _end
+ [50] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF chmod
+ [51] 0x0804c6c8 0x00000004 OBJT GLOB D 2 .bss __stderrp
+ [52] 0x0804c6cc 0x00000004 OBJT GLOB D 2 .bss optind
+ [53] 0x08048ed4 0x0000009d FUNC GLOB D 2 UNDEF acl_set_file
+ [54] 0x00000000 0x00000045 FUNC GLOB D 2 UNDEF __srget
+ [55] 0x00000000 0x0000002b FUNC GLOB D 2 UNDEF atexit
+ [56] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF chown
+ [57] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF read
+ [58] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF fchflags
+ [59] 0x00000000 0x00000040 FUNC GLOB D 2 UNDEF strncat
+ [60] 0x00000000 0x00000000 NOTY WEAK D 0 UNDEF _Jv_RegisterClasses
+ [61] 0x08048f44 0x0000005c FUNC GLOB D 2 UNDEF acl_get_link_np
+ [62] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF readlink
+ [63] 0x00000000 0x0000007c FUNC GLOB D 2 UNDEF getc
+ [64] 0x08048f74 0x0000005c FUNC GLOB D 2 UNDEF acl_get_file
+ [65] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF fstat
+ [66] 0x00000000 0x00000055 FUNC GLOB D 2 UNDEF strlcpy
diff --git a/test/elfdump/ts/exec2/@S@d%cp.err b/test/elfdump/ts/exec2/@S@d%cp.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec2/@S@d%cp.err
diff --git a/test/elfdump/ts/exec2/@S@d%cp.out b/test/elfdump/ts/exec2/@S@d%cp.out
new file mode 100644
index 0000000000000..78c1576b4c3f3
--- /dev/null
+++ b/test/elfdump/ts/exec2/@S@d%cp.out
@@ -0,0 +1,27 @@
+Dynamic Section: .dynamic
+ index tag value
+ [0] DT_NEEDED 0x15 libc.so.7
+ [1] DT_INIT 0x8048be0
+ [2] DT_FINI 0x804ab8c
+ [3] DT_HASH 0x8048124
+ [4] DT_STRTAB 0x8048774
+ [5] DT_SYMTAB 0x8048344
+ [6] DT_STRSZ 0x1d3
+ [7] DT_SYMENT 0x10
+ [8] DT_DEBUG 0
+ [9] DT_PLTGOT 0x804c5cc
+ [10] DT_PLTRELSZ 0x1d0
+ [11] DT_PLTREL 0x11
+ [12] DT_JMPREL 0x8048a10
+ [13] DT_REL 0x80489f0
+ [14] DT_RELSZ 0x20
+ [15] DT_RELENT 0x8
+ [16] DT_VERNEED 0x80489d0
+ [17] DT_VERNEEDNUM 0x1
+ [18] DT_GNU_VERSYM 0x8048948
+ [19] DT_NULL
+ [20] DT_NULL
+ [21] DT_NULL
+ [22] DT_NULL
+ [23] DT_NULL
+ [24] DT_NULL
diff --git a/test/elfdump/ts/exec2/@S@e%cp.err b/test/elfdump/ts/exec2/@S@e%cp.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec2/@S@e%cp.err
diff --git a/test/elfdump/ts/exec2/@S@e%cp.out b/test/elfdump/ts/exec2/@S@e%cp.out
new file mode 100644
index 0000000000000..7e27ed65ba294
--- /dev/null
+++ b/test/elfdump/ts/exec2/@S@e%cp.out
@@ -0,0 +1,10 @@
+
+ELF Header
+ ei_magic: { 0x7f, E, L, F }
+ ei_class: ELFCLASS32 ei_data: ELFDATA2LSB
+ e_machine: EM_386 e_version: EV_CURRENT
+ e_type: ET_EXEC
+ e_flags: 0
+ e_entry: 0x8048fb0 e_ehsize: 52 e_shstrndx: 24
+ e_shoff: 0x3964 e_shentsize: 40 e_shnum: 25
+ e_phoff: 0x34 e_phentsize: 32 e_phnum: 6
diff --git a/test/elfdump/ts/exec2/@S@e@p%cp.err b/test/elfdump/ts/exec2/@S@e@p%cp.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec2/@S@e@p%cp.err
diff --git a/test/elfdump/ts/exec2/@S@e@p%cp.out b/test/elfdump/ts/exec2/@S@e@p%cp.out
new file mode 100644
index 0000000000000..acfafca8b8ea7
--- /dev/null
+++ b/test/elfdump/ts/exec2/@S@e@p%cp.out
@@ -0,0 +1,46 @@
+
+ELF Header
+ ei_magic: { 0x7f, E, L, F }
+ ei_class: ELFCLASS32 ei_data: ELFDATA2LSB
+ e_machine: EM_386 e_version: EV_CURRENT
+ e_type: ET_EXEC
+ e_flags: 0
+ e_entry: 0x8048fb0 e_ehsize: 52 e_shstrndx: 24
+ e_shoff: 0x3964 e_shentsize: 40 e_shnum: 25
+ e_phoff: 0x34 e_phentsize: 32 e_phnum: 6
+
+Program Header[0]:
+ p_vaddr: 0x8048034 p_flags: [ PF_X|PF_R ]
+ p_paddr: 0x8048034 p_type: [ PT_PHDR ]
+ p_filesz: 0xc0 p_memsz: 0xc0
+ p_offset: 0x34 p_align: 0x4
+
+Program Header[1]:
+ p_vaddr: 0x80480f4 p_flags: [ PF_R ]
+ p_paddr: 0x80480f4 p_type: [ PT_INTERP ]
+ p_filesz: 0x15 p_memsz: 0x15
+ p_offset: 0xf4 p_align: 0x1
+
+Program Header[2]:
+ p_vaddr: 0x8048000 p_flags: [ PF_X|PF_R ]
+ p_paddr: 0x8048000 p_type: [ PT_LOAD ]
+ p_filesz: 0x30aa p_memsz: 0x30aa
+ p_offset: 0 p_align: 0x1000
+
+Program Header[3]:
+ p_vaddr: 0x804c0c0 p_flags: [ PF_W|PF_R ]
+ p_paddr: 0x804c0c0 p_type: [ PT_LOAD ]
+ p_filesz: 0x600 p_memsz: 0x10660
+ p_offset: 0x30c0 p_align: 0x1000
+
+Program Header[4]:
+ p_vaddr: 0x804c4f0 p_flags: [ PF_W|PF_R ]
+ p_paddr: 0x804c4f0 p_type: [ PT_DYNAMIC ]
+ p_filesz: 0xc8 p_memsz: 0xc8
+ p_offset: 0x34f0 p_align: 0x4
+
+Program Header[5]:
+ p_vaddr: 0x804810c p_flags: [ PF_R ]
+ p_paddr: 0x804810c p_type: [ PT_NOTE ]
+ p_filesz: 0x18 p_memsz: 0x18
+ p_offset: 0x10c p_align: 0x4
diff --git a/test/elfdump/ts/exec2/@S@h%cp.err b/test/elfdump/ts/exec2/@S@h%cp.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec2/@S@h%cp.err
diff --git a/test/elfdump/ts/exec2/@S@h%cp.out b/test/elfdump/ts/exec2/@S@h%cp.out
new file mode 100644
index 0000000000000..1dd92dc8c2550
--- /dev/null
+++ b/test/elfdump/ts/exec2/@S@h%cp.out
@@ -0,0 +1,76 @@
+
+Hash Section: .hash
+ bucket symndx name
+ 1 [60] _Jv_RegisterClasses
+ [32] pathconf
+ 4 [54] __srget
+ [41] fwrite
+ [6] lutimes
+ 7 [33] printf
+ [25] strrchr
+ [23] __isthreaded
+ 9 [16] fts_open
+ [7] lchmod
+ [3] utimes
+ 11 [17] errx
+ 12 [37] __stdinp
+ [19] symlink
+ [9] mkfifo
+ 14 [39] signal
+ 15 [50] chmod
+ [24] getopt
+ [12] chflags
+ 16 [51] __stderrp
+ 18 [59] strncat
+ 21 [66] strlcpy
+ [5] acl_get_fd
+ 22 [52] optind
+ 23 [62] readlink
+ 25 [34] close
+ 26 [22] unlink
+ 27 [31] __error
+ 28 [26] __progname
+ 29 [49] _end
+ [27] warnx
+ [14] strerror
+ 32 [35] warn
+ [2] write
+ 33 [61] acl_get_link_np
+ 34 [47] mkdir
+ [43] fchown
+ 38 [28] stat
+ [11] fts_close
+ [8] link
+ 41 [42] open
+ 46 [4] lstat
+ 47 [36] acl_set_link_np
+ [21] environ
+ 48 [64] acl_get_file
+ 50 [20] fpathconf
+ 53 [65] fstat
+ [38] umask
+ 54 [40] fchmod
+ 56 [55] atexit
+ [48] err
+ [44] lchown
+ [1] fprintf
+ 57 [18] munmap
+ 58 [58] fchflags
+ 59 [57] read
+ [46] exit
+ [13] fts_read
+ 62 [63] getc
+ [56] chown
+ 63 [53] acl_set_file
+ [30] mknod
+ 64 [29] mmap
+ 65 [45] acl_set_fd
+ [15] _init_tls
+ [10] fts_set
+
+ 30 buckets contain 0 symbols
+ 19 buckets contain 1 symbols
+ 8 buckets contain 2 symbols
+ 9 buckets contain 3 symbols
+ 1 buckets contain 4 symbols
+ 67 buckets 66 symbols (globals)
diff --git a/test/elfdump/ts/exec2/@S@k%cp.err b/test/elfdump/ts/exec2/@S@k%cp.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec2/@S@k%cp.err
diff --git a/test/elfdump/ts/exec2/@S@k%cp.out b/test/elfdump/ts/exec2/@S@k%cp.out
new file mode 100644
index 0000000000000..3f27fe86dd4df
--- /dev/null
+++ b/test/elfdump/ts/exec2/@S@k%cp.out
@@ -0,0 +1,2 @@
+
+elf checksum: 0xb889
diff --git a/test/elfdump/ts/exec2/@S@n%cp.err b/test/elfdump/ts/exec2/@S@n%cp.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec2/@S@n%cp.err
diff --git a/test/elfdump/ts/exec2/@S@n%cp.out b/test/elfdump/ts/exec2/@S@n%cp.out
new file mode 100644
index 0000000000000..c4ac64c22241f
--- /dev/null
+++ b/test/elfdump/ts/exec2/@S@n%cp.out
@@ -0,0 +1,8 @@
+
+Note Section: .note.ABI-tag
+
+ type 0x1
+ namesz 0x8:
+FreeBSD
+ descsz 0x4:
+ desc[0] ffffffac ffffffb2 0a 00
diff --git a/test/elfdump/ts/exec2/@S@r%cp.err b/test/elfdump/ts/exec2/@S@r%cp.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec2/@S@r%cp.err
diff --git a/test/elfdump/ts/exec2/@S@r%cp.out b/test/elfdump/ts/exec2/@S@r%cp.out
new file mode 100644
index 0000000000000..e54b315426689
--- /dev/null
+++ b/test/elfdump/ts/exec2/@S@r%cp.out
@@ -0,0 +1,68 @@
+
+Relocation Section: .rel.dyn
+ type offset section with respect to
+ R_386_COPY 0x804c6c0 .rel.dyn __isthreaded
+ R_386_COPY 0x804c6c4 .rel.dyn __stdinp
+ R_386_COPY 0x804c6c8 .rel.dyn __stderrp
+ R_386_COPY 0x804c6cc .rel.dyn optind
+
+Relocation Section: .rel.plt
+ type offset section with respect to
+ R_386_JMP_SLOT 0x804c5d8 .rel.plt fprintf
+ R_386_JMP_SLOT 0x804c5dc .rel.plt write
+ R_386_JMP_SLOT 0x804c5e0 .rel.plt utimes
+ R_386_JMP_SLOT 0x804c5e4 .rel.plt lstat
+ R_386_JMP_SLOT 0x804c5e8 .rel.plt acl_get_fd
+ R_386_JMP_SLOT 0x804c5ec .rel.plt lutimes
+ R_386_JMP_SLOT 0x804c5f0 .rel.plt lchmod
+ R_386_JMP_SLOT 0x804c5f4 .rel.plt link
+ R_386_JMP_SLOT 0x804c5f8 .rel.plt mkfifo
+ R_386_JMP_SLOT 0x804c5fc .rel.plt fts_set
+ R_386_JMP_SLOT 0x804c600 .rel.plt fts_close
+ R_386_JMP_SLOT 0x804c604 .rel.plt chflags
+ R_386_JMP_SLOT 0x804c608 .rel.plt fts_read
+ R_386_JMP_SLOT 0x804c60c .rel.plt strerror
+ R_386_JMP_SLOT 0x804c610 .rel.plt _init_tls
+ R_386_JMP_SLOT 0x804c614 .rel.plt fts_open
+ R_386_JMP_SLOT 0x804c618 .rel.plt errx
+ R_386_JMP_SLOT 0x804c61c .rel.plt munmap
+ R_386_JMP_SLOT 0x804c620 .rel.plt symlink
+ R_386_JMP_SLOT 0x804c624 .rel.plt fpathconf
+ R_386_JMP_SLOT 0x804c628 .rel.plt unlink
+ R_386_JMP_SLOT 0x804c62c .rel.plt getopt
+ R_386_JMP_SLOT 0x804c630 .rel.plt strrchr
+ R_386_JMP_SLOT 0x804c634 .rel.plt warnx
+ R_386_JMP_SLOT 0x804c638 .rel.plt stat
+ R_386_JMP_SLOT 0x804c63c .rel.plt mmap
+ R_386_JMP_SLOT 0x804c640 .rel.plt mknod
+ R_386_JMP_SLOT 0x804c644 .rel.plt __error
+ R_386_JMP_SLOT 0x804c648 .rel.plt pathconf
+ R_386_JMP_SLOT 0x804c64c .rel.plt printf
+ R_386_JMP_SLOT 0x804c650 .rel.plt close
+ R_386_JMP_SLOT 0x804c654 .rel.plt warn
+ R_386_JMP_SLOT 0x804c658 .rel.plt acl_set_link_np
+ R_386_JMP_SLOT 0x804c65c .rel.plt umask
+ R_386_JMP_SLOT 0x804c660 .rel.plt signal
+ R_386_JMP_SLOT 0x804c664 .rel.plt fchmod
+ R_386_JMP_SLOT 0x804c668 .rel.plt fwrite
+ R_386_JMP_SLOT 0x804c66c .rel.plt open
+ R_386_JMP_SLOT 0x804c670 .rel.plt fchown
+ R_386_JMP_SLOT 0x804c674 .rel.plt lchown
+ R_386_JMP_SLOT 0x804c678 .rel.plt acl_set_fd
+ R_386_JMP_SLOT 0x804c67c .rel.plt exit
+ R_386_JMP_SLOT 0x804c680 .rel.plt mkdir
+ R_386_JMP_SLOT 0x804c684 .rel.plt err
+ R_386_JMP_SLOT 0x804c688 .rel.plt chmod
+ R_386_JMP_SLOT 0x804c68c .rel.plt acl_set_file
+ R_386_JMP_SLOT 0x804c690 .rel.plt __srget
+ R_386_JMP_SLOT 0x804c694 .rel.plt atexit
+ R_386_JMP_SLOT 0x804c698 .rel.plt chown
+ R_386_JMP_SLOT 0x804c69c .rel.plt read
+ R_386_JMP_SLOT 0x804c6a0 .rel.plt fchflags
+ R_386_JMP_SLOT 0x804c6a4 .rel.plt strncat
+ R_386_JMP_SLOT 0x804c6a8 .rel.plt acl_get_link_np
+ R_386_JMP_SLOT 0x804c6ac .rel.plt readlink
+ R_386_JMP_SLOT 0x804c6b0 .rel.plt getc
+ R_386_JMP_SLOT 0x804c6b4 .rel.plt acl_get_file
+ R_386_JMP_SLOT 0x804c6b8 .rel.plt fstat
+ R_386_JMP_SLOT 0x804c6bc .rel.plt strlcpy
diff --git a/test/elfdump/ts/exec2/@S@r@N%.rela.dyn%cp.err b/test/elfdump/ts/exec2/@S@r@N%.rela.dyn%cp.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec2/@S@r@N%.rela.dyn%cp.err
diff --git a/test/elfdump/ts/exec2/@S@r@N%.rela.dyn%cp.out b/test/elfdump/ts/exec2/@S@r@N%.rela.dyn%cp.out
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec2/@S@r@N%.rela.dyn%cp.out
diff --git a/test/elfdump/ts/exec2/@S@s@N%.dynsym%cp.err b/test/elfdump/ts/exec2/@S@s@N%.dynsym%cp.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec2/@S@s@N%.dynsym%cp.err
diff --git a/test/elfdump/ts/exec2/@S@s@N%.dynsym%cp.out b/test/elfdump/ts/exec2/@S@s@N%.dynsym%cp.out
new file mode 100644
index 0000000000000..fae890c9822f5
--- /dev/null
+++ b/test/elfdump/ts/exec2/@S@s@N%.dynsym%cp.out
@@ -0,0 +1,70 @@
+
+Symbol Table Section: .dynsym
+ index value size type bind oth ver shndx name
+ [0] 0x00000000 0x00000000 NOTY LOCL D 0 UNDEF
+ [1] 0x00000000 0x00000034 FUNC GLOB D 2 UNDEF fprintf
+ [2] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF write
+ [3] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF utimes
+ [4] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF lstat
+ [5] 0x00000000 0x0000005d FUNC GLOB D 2 UNDEF acl_get_fd
+ [6] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF lutimes
+ [7] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF lchmod
+ [8] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF link
+ [9] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF mkfifo
+ [10] 0x00000000 0x00000042 FUNC GLOB D 2 UNDEF fts_set
+ [11] 0x00000000 0x000000da FUNC GLOB D 2 UNDEF fts_close
+ [12] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF chflags
+ [13] 0x00000000 0x000004f2 FUNC GLOB D 2 UNDEF fts_read
+ [14] 0x00000000 0x0000004a FUNC GLOB D 2 UNDEF strerror
+ [15] 0x00000000 0x00000005 FUNC GLOB D 2 UNDEF _init_tls
+ [16] 0x00000000 0x0000027e FUNC GLOB D 2 UNDEF fts_open
+ [17] 0x00000000 0x0000002e FUNC GLOB D 2 UNDEF errx
+ [18] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF munmap
+ [19] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF symlink
+ [20] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF fpathconf
+ [21] 0x0805c700 0x00000004 OBJT GLOB D 1 .bss environ
+ [22] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF unlink
+ [23] 0x0804c6c0 0x00000004 OBJT GLOB D 2 .bss __isthreaded
+ [24] 0x00000000 0x00000294 FUNC GLOB D 2 UNDEF getopt
+ [25] 0x00000000 0x0000001b FUNC GLOB D 2 UNDEF strrchr
+ [26] 0x0804c0c0 0x00000004 OBJT GLOB D 1 .data __progname
+ [27] 0x00000000 0x0000002d FUNC GLOB D 2 UNDEF warnx
+ [28] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF stat
+ [29] 0x00000000 0x000000a4 FUNC GLOB D 2 UNDEF mmap
+ [30] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF mknod
+ [31] 0x00000000 0x00000016 FUNC GLOB D 2 UNDEF __error
+ [32] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF pathconf
+ [33] 0x00000000 0x00000039 FUNC GLOB D 2 UNDEF printf
+ [34] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF close
+ [35] 0x00000000 0x00000041 FUNC GLOB D 2 UNDEF warn
+ [36] 0x08048e04 0x0000009d FUNC GLOB D 2 UNDEF acl_set_link_np
+ [37] 0x0804c6c4 0x00000004 OBJT GLOB D 2 .bss __stdinp
+ [38] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF umask
+ [39] 0x00000000 0x0000006b FUNC GLOB D 2 UNDEF signal
+ [40] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF fchmod
+ [41] 0x00000000 0x000000af FUNC GLOB D 2 UNDEF fwrite
+ [42] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF open
+ [43] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF fchown
+ [44] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF lchown
+ [45] 0x00000000 0x0000006e FUNC GLOB D 2 UNDEF acl_set_fd
+ [46] 0x00000000 0x00000043 FUNC GLOB D 2 UNDEF exit
+ [47] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF mkdir
+ [48] 0x00000000 0x0000003e FUNC GLOB D 2 UNDEF err
+ [49] 0x0805c720 0x00000000 NOTY GLOB D 1 ABS _end
+ [50] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF chmod
+ [51] 0x0804c6c8 0x00000004 OBJT GLOB D 2 .bss __stderrp
+ [52] 0x0804c6cc 0x00000004 OBJT GLOB D 2 .bss optind
+ [53] 0x08048ed4 0x0000009d FUNC GLOB D 2 UNDEF acl_set_file
+ [54] 0x00000000 0x00000045 FUNC GLOB D 2 UNDEF __srget
+ [55] 0x00000000 0x0000002b FUNC GLOB D 2 UNDEF atexit
+ [56] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF chown
+ [57] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF read
+ [58] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF fchflags
+ [59] 0x00000000 0x00000040 FUNC GLOB D 2 UNDEF strncat
+ [60] 0x00000000 0x00000000 NOTY WEAK D 0 UNDEF _Jv_RegisterClasses
+ [61] 0x08048f44 0x0000005c FUNC GLOB D 2 UNDEF acl_get_link_np
+ [62] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF readlink
+ [63] 0x00000000 0x0000007c FUNC GLOB D 2 UNDEF getc
+ [64] 0x08048f74 0x0000005c FUNC GLOB D 2 UNDEF acl_get_file
+ [65] 0x00000000 0x00000000 FUNC GLOB D 2 UNDEF fstat
+ [66] 0x00000000 0x00000055 FUNC GLOB D 2 UNDEF strlcpy
diff --git a/test/elfdump/ts/exec2/@S@v%cp.err b/test/elfdump/ts/exec2/@S@v%cp.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec2/@S@v%cp.err
diff --git a/test/elfdump/ts/exec2/@S@v%cp.out b/test/elfdump/ts/exec2/@S@v%cp.out
new file mode 100644
index 0000000000000..076a94cc1f313
--- /dev/null
+++ b/test/elfdump/ts/exec2/@S@v%cp.out
@@ -0,0 +1,4 @@
+
+Version Needed Section: .gnu.version_r
+ file version
+ libc.so.7 FBSD_1.0
diff --git a/test/elfdump/ts/exec2/@c%cp.err b/test/elfdump/ts/exec2/@c%cp.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec2/@c%cp.err
diff --git a/test/elfdump/ts/exec2/@c%cp.out b/test/elfdump/ts/exec2/@c%cp.out
new file mode 100644
index 0000000000000..0e3f551dd1178
--- /dev/null
+++ b/test/elfdump/ts/exec2/@c%cp.out
@@ -0,0 +1,302 @@
+
+section header:
+
+entry: 0
+ sh_name:
+ sh_type: SHT_NULL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 0
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 0
+ sh_entsize: 0
+
+entry: 1
+ sh_name: .interp
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x80480f4
+ sh_offset: 244
+ sh_size: 21
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 2
+ sh_name: .note.ABI-tag
+ sh_type: SHT_NOTE
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x804810c
+ sh_offset: 268
+ sh_size: 24
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 3
+ sh_name: .hash
+ sh_type: SHT_HASH
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x8048124
+ sh_offset: 292
+ sh_size: 544
+ sh_link: 4
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 4
+
+entry: 4
+ sh_name: .dynsym
+ sh_type: SHT_DYNSYM
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x8048344
+ sh_offset: 836
+ sh_size: 1072
+ sh_link: 5
+ sh_info: 1
+ sh_addralign: 4
+ sh_entsize: 16
+
+entry: 5
+ sh_name: .dynstr
+ sh_type: SHT_STRTAB
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x8048774
+ sh_offset: 1908
+ sh_size: 467
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 6
+ sh_name: .gnu.version
+ sh_type: SHT_SUNW(GNU)_versym
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x8048948
+ sh_offset: 2376
+ sh_size: 134
+ sh_link: 4
+ sh_info: 0
+ sh_addralign: 2
+ sh_entsize: 2
+
+entry: 7
+ sh_name: .gnu.version_r
+ sh_type: SHT_SUNW(GNU)_verneed
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x80489d0
+ sh_offset: 2512
+ sh_size: 32
+ sh_link: 5
+ sh_info: 1
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 8
+ sh_name: .rel.dyn
+ sh_type: SHT_REL
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x80489f0
+ sh_offset: 2544
+ sh_size: 32
+ sh_link: 4
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 8
+
+entry: 9
+ sh_name: .rel.plt
+ sh_type: SHT_REL
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x8048a10
+ sh_offset: 2576
+ sh_size: 464
+ sh_link: 4
+ sh_info: 11
+ sh_addralign: 4
+ sh_entsize: 8
+
+entry: 10
+ sh_name: .init
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x8048be0
+ sh_offset: 3040
+ sh_size: 17
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 11
+ sh_name: .plt
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x8048bf4
+ sh_offset: 3060
+ sh_size: 944
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 4
+
+entry: 12
+ sh_name: .text
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x8048fb0
+ sh_offset: 4016
+ sh_size: 7132
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 13
+ sh_name: .fini
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x804ab8c
+ sh_offset: 11148
+ sh_size: 12
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 14
+ sh_name: .rodata
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x804ab98
+ sh_offset: 11160
+ sh_size: 1298
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 15
+ sh_name: .data
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x804c0c0
+ sh_offset: 12480
+ sh_size: 1068
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 32
+ sh_entsize: 0
+
+entry: 16
+ sh_name: .eh_frame
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x804c4ec
+ sh_offset: 13548
+ sh_size: 4
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 17
+ sh_name: .dynamic
+ sh_type: SHT_DYNAMIC
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x804c4f0
+ sh_offset: 13552
+ sh_size: 200
+ sh_link: 5
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 8
+
+entry: 18
+ sh_name: .ctors
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x804c5b8
+ sh_offset: 13752
+ sh_size: 8
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 19
+ sh_name: .dtors
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x804c5c0
+ sh_offset: 13760
+ sh_size: 8
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 20
+ sh_name: .jcr
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x804c5c8
+ sh_offset: 13768
+ sh_size: 4
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 21
+ sh_name: .got
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x804c5cc
+ sh_offset: 13772
+ sh_size: 244
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 4
+
+entry: 22
+ sh_name: .bss
+ sh_type: SHT_NOBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x804c6c0
+ sh_offset: 14016
+ sh_size: 65632
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 32
+ sh_entsize: 0
+
+entry: 23
+ sh_name: .comment
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 14016
+ sh_size: 485
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 24
+ sh_name: .shstrtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 14501
+ sh_size: 190
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
diff --git a/test/elfdump/ts/exec2/@c@d%cp.err b/test/elfdump/ts/exec2/@c@d%cp.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec2/@c@d%cp.err
diff --git a/test/elfdump/ts/exec2/@c@d%cp.out b/test/elfdump/ts/exec2/@c@d%cp.out
new file mode 100644
index 0000000000000..09457db98634d
--- /dev/null
+++ b/test/elfdump/ts/exec2/@c@d%cp.out
@@ -0,0 +1,398 @@
+
+section header:
+
+entry: 0
+ sh_name:
+ sh_type: SHT_NULL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 0
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 0
+ sh_entsize: 0
+
+entry: 1
+ sh_name: .interp
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x80480f4
+ sh_offset: 244
+ sh_size: 21
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 2
+ sh_name: .note.ABI-tag
+ sh_type: SHT_NOTE
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x804810c
+ sh_offset: 268
+ sh_size: 24
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 3
+ sh_name: .hash
+ sh_type: SHT_HASH
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x8048124
+ sh_offset: 292
+ sh_size: 544
+ sh_link: 4
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 4
+
+entry: 4
+ sh_name: .dynsym
+ sh_type: SHT_DYNSYM
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x8048344
+ sh_offset: 836
+ sh_size: 1072
+ sh_link: 5
+ sh_info: 1
+ sh_addralign: 4
+ sh_entsize: 16
+
+entry: 5
+ sh_name: .dynstr
+ sh_type: SHT_STRTAB
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x8048774
+ sh_offset: 1908
+ sh_size: 467
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 6
+ sh_name: .gnu.version
+ sh_type: SHT_SUNW(GNU)_versym
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x8048948
+ sh_offset: 2376
+ sh_size: 134
+ sh_link: 4
+ sh_info: 0
+ sh_addralign: 2
+ sh_entsize: 2
+
+entry: 7
+ sh_name: .gnu.version_r
+ sh_type: SHT_SUNW(GNU)_verneed
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x80489d0
+ sh_offset: 2512
+ sh_size: 32
+ sh_link: 5
+ sh_info: 1
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 8
+ sh_name: .rel.dyn
+ sh_type: SHT_REL
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x80489f0
+ sh_offset: 2544
+ sh_size: 32
+ sh_link: 4
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 8
+
+entry: 9
+ sh_name: .rel.plt
+ sh_type: SHT_REL
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x8048a10
+ sh_offset: 2576
+ sh_size: 464
+ sh_link: 4
+ sh_info: 11
+ sh_addralign: 4
+ sh_entsize: 8
+
+entry: 10
+ sh_name: .init
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x8048be0
+ sh_offset: 3040
+ sh_size: 17
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 11
+ sh_name: .plt
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x8048bf4
+ sh_offset: 3060
+ sh_size: 944
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 4
+
+entry: 12
+ sh_name: .text
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x8048fb0
+ sh_offset: 4016
+ sh_size: 7132
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 13
+ sh_name: .fini
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x804ab8c
+ sh_offset: 11148
+ sh_size: 12
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 14
+ sh_name: .rodata
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x804ab98
+ sh_offset: 11160
+ sh_size: 1298
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 15
+ sh_name: .data
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x804c0c0
+ sh_offset: 12480
+ sh_size: 1068
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 32
+ sh_entsize: 0
+
+entry: 16
+ sh_name: .eh_frame
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x804c4ec
+ sh_offset: 13548
+ sh_size: 4
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 17
+ sh_name: .dynamic
+ sh_type: SHT_DYNAMIC
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x804c4f0
+ sh_offset: 13552
+ sh_size: 200
+ sh_link: 5
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 8
+
+entry: 18
+ sh_name: .ctors
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x804c5b8
+ sh_offset: 13752
+ sh_size: 8
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 19
+ sh_name: .dtors
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x804c5c0
+ sh_offset: 13760
+ sh_size: 8
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 20
+ sh_name: .jcr
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x804c5c8
+ sh_offset: 13768
+ sh_size: 4
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 21
+ sh_name: .got
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x804c5cc
+ sh_offset: 13772
+ sh_size: 244
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 4
+
+entry: 22
+ sh_name: .bss
+ sh_type: SHT_NOBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x804c6c0
+ sh_offset: 14016
+ sh_size: 65632
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 32
+ sh_entsize: 0
+
+entry: 23
+ sh_name: .comment
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 14016
+ sh_size: 485
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 24
+ sh_name: .shstrtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 14501
+ sh_size: 190
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+dynamic:
+
+entry: 0
+ d_tag: DT_NEEDED
+ d_val: libc.so.7
+
+entry: 1
+ d_tag: DT_INIT
+ d_ptr: 0x8048be0
+
+entry: 2
+ d_tag: DT_FINI
+ d_ptr: 0x804ab8c
+
+entry: 3
+ d_tag: DT_HASH
+ d_ptr: 0x8048124
+
+entry: 4
+ d_tag: DT_STRTAB
+ d_ptr: 0x8048774
+
+entry: 5
+ d_tag: DT_SYMTAB
+ d_ptr: 0x8048344
+
+entry: 6
+ d_tag: DT_STRSZ
+ d_val: 467
+
+entry: 7
+ d_tag: DT_SYMENT
+ d_val: 16
+
+entry: 8
+ d_tag: DT_DEBUG
+ d_ptr: 0
+
+entry: 9
+ d_tag: DT_PLTGOT
+ d_ptr: 0x804c5cc
+
+entry: 10
+ d_tag: DT_PLTRELSZ
+ d_val: 464
+
+entry: 11
+ d_tag: DT_PLTREL
+ d_val: 17
+
+entry: 12
+ d_tag: DT_JMPREL
+ d_ptr: 0x8048a10
+
+entry: 13
+ d_tag: DT_REL
+ d_ptr: 0x80489f0
+
+entry: 14
+ d_tag: DT_RELSZ
+ d_val: 32
+
+entry: 15
+ d_tag: DT_RELENT
+ d_val: 8
+
+entry: 16
+ d_tag: DT_VERNEED
+ d_val: 134515152
+
+entry: 17
+ d_tag: DT_VERNEEDNUM
+ d_val: 1
+
+entry: 18
+ d_tag: DT_GNU_VERSYM
+ d_val: 134515016
+
+entry: 19
+ d_tag: DT_NULL
+
+entry: 20
+ d_tag: DT_NULL
+
+entry: 21
+ d_tag: DT_NULL
+
+entry: 22
+ d_tag: DT_NULL
+
+entry: 23
+ d_tag: DT_NULL
+
+entry: 24
+ d_tag: DT_NULL
diff --git a/test/elfdump/ts/exec2/@c@p@n%cp.err b/test/elfdump/ts/exec2/@c@p@n%cp.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec2/@c@p@n%cp.err
diff --git a/test/elfdump/ts/exec2/@c@p@n%cp.out b/test/elfdump/ts/exec2/@c@p@n%cp.out
new file mode 100644
index 0000000000000..c72a0d170a31d
--- /dev/null
+++ b/test/elfdump/ts/exec2/@c@p@n%cp.out
@@ -0,0 +1,367 @@
+
+program header:
+
+entry: 0
+ p_type: PT_PHDR
+ p_offset: 52
+ p_vaddr: 0x8048034
+ p_paddr: 0x8048034
+ p_filesz: 192
+ p_memsz: 192
+ p_flags: PF_X|PF_R
+ p_align: 4
+
+entry: 1
+ p_type: PT_INTERP
+ p_offset: 244
+ p_vaddr: 0x80480f4
+ p_paddr: 0x80480f4
+ p_filesz: 21
+ p_memsz: 21
+ p_flags: PF_R
+ p_align: 1
+
+entry: 2
+ p_type: PT_LOAD
+ p_offset: 0
+ p_vaddr: 0x8048000
+ p_paddr: 0x8048000
+ p_filesz: 12458
+ p_memsz: 12458
+ p_flags: PF_X|PF_R
+ p_align: 4096
+
+entry: 3
+ p_type: PT_LOAD
+ p_offset: 12480
+ p_vaddr: 0x804c0c0
+ p_paddr: 0x804c0c0
+ p_filesz: 1536
+ p_memsz: 67168
+ p_flags: PF_W|PF_R
+ p_align: 4096
+
+entry: 4
+ p_type: PT_DYNAMIC
+ p_offset: 13552
+ p_vaddr: 0x804c4f0
+ p_paddr: 0x804c4f0
+ p_filesz: 200
+ p_memsz: 200
+ p_flags: PF_W|PF_R
+ p_align: 4
+
+entry: 5
+ p_type: PT_NOTE
+ p_offset: 268
+ p_vaddr: 0x804810c
+ p_paddr: 0x804810c
+ p_filesz: 24
+ p_memsz: 24
+ p_flags: PF_R
+ p_align: 4
+
+section header:
+
+entry: 0
+ sh_name:
+ sh_type: SHT_NULL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 0
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 0
+ sh_entsize: 0
+
+entry: 1
+ sh_name: .interp
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x80480f4
+ sh_offset: 244
+ sh_size: 21
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 2
+ sh_name: .note.ABI-tag
+ sh_type: SHT_NOTE
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x804810c
+ sh_offset: 268
+ sh_size: 24
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 3
+ sh_name: .hash
+ sh_type: SHT_HASH
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x8048124
+ sh_offset: 292
+ sh_size: 544
+ sh_link: 4
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 4
+
+entry: 4
+ sh_name: .dynsym
+ sh_type: SHT_DYNSYM
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x8048344
+ sh_offset: 836
+ sh_size: 1072
+ sh_link: 5
+ sh_info: 1
+ sh_addralign: 4
+ sh_entsize: 16
+
+entry: 5
+ sh_name: .dynstr
+ sh_type: SHT_STRTAB
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x8048774
+ sh_offset: 1908
+ sh_size: 467
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 6
+ sh_name: .gnu.version
+ sh_type: SHT_SUNW(GNU)_versym
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x8048948
+ sh_offset: 2376
+ sh_size: 134
+ sh_link: 4
+ sh_info: 0
+ sh_addralign: 2
+ sh_entsize: 2
+
+entry: 7
+ sh_name: .gnu.version_r
+ sh_type: SHT_SUNW(GNU)_verneed
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x80489d0
+ sh_offset: 2512
+ sh_size: 32
+ sh_link: 5
+ sh_info: 1
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 8
+ sh_name: .rel.dyn
+ sh_type: SHT_REL
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x80489f0
+ sh_offset: 2544
+ sh_size: 32
+ sh_link: 4
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 8
+
+entry: 9
+ sh_name: .rel.plt
+ sh_type: SHT_REL
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x8048a10
+ sh_offset: 2576
+ sh_size: 464
+ sh_link: 4
+ sh_info: 11
+ sh_addralign: 4
+ sh_entsize: 8
+
+entry: 10
+ sh_name: .init
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x8048be0
+ sh_offset: 3040
+ sh_size: 17
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 11
+ sh_name: .plt
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x8048bf4
+ sh_offset: 3060
+ sh_size: 944
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 4
+
+entry: 12
+ sh_name: .text
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x8048fb0
+ sh_offset: 4016
+ sh_size: 7132
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 13
+ sh_name: .fini
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x804ab8c
+ sh_offset: 11148
+ sh_size: 12
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 14
+ sh_name: .rodata
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x804ab98
+ sh_offset: 11160
+ sh_size: 1298
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 15
+ sh_name: .data
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x804c0c0
+ sh_offset: 12480
+ sh_size: 1068
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 32
+ sh_entsize: 0
+
+entry: 16
+ sh_name: .eh_frame
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x804c4ec
+ sh_offset: 13548
+ sh_size: 4
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 17
+ sh_name: .dynamic
+ sh_type: SHT_DYNAMIC
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x804c4f0
+ sh_offset: 13552
+ sh_size: 200
+ sh_link: 5
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 8
+
+entry: 18
+ sh_name: .ctors
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x804c5b8
+ sh_offset: 13752
+ sh_size: 8
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 19
+ sh_name: .dtors
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x804c5c0
+ sh_offset: 13760
+ sh_size: 8
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 20
+ sh_name: .jcr
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x804c5c8
+ sh_offset: 13768
+ sh_size: 4
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 21
+ sh_name: .got
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x804c5cc
+ sh_offset: 13772
+ sh_size: 244
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 4
+
+entry: 22
+ sh_name: .bss
+ sh_type: SHT_NOBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x804c6c0
+ sh_offset: 14016
+ sh_size: 65632
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 32
+ sh_entsize: 0
+
+entry: 23
+ sh_name: .comment
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 14016
+ sh_size: 485
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 24
+ sh_name: .shstrtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 14501
+ sh_size: 190
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+note (.note.ABI-tag):
+ FreeBSD 701100
diff --git a/test/elfdump/ts/exec2/@c@s%cp.err b/test/elfdump/ts/exec2/@c@s%cp.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec2/@c@s%cp.err
diff --git a/test/elfdump/ts/exec2/@c@s%cp.out b/test/elfdump/ts/exec2/@c@s%cp.out
new file mode 100644
index 0000000000000..b96aa25bee13c
--- /dev/null
+++ b/test/elfdump/ts/exec2/@c@s%cp.out
@@ -0,0 +1,773 @@
+
+section header:
+
+entry: 0
+ sh_name:
+ sh_type: SHT_NULL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 0
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 0
+ sh_entsize: 0
+
+entry: 1
+ sh_name: .interp
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x80480f4
+ sh_offset: 244
+ sh_size: 21
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 2
+ sh_name: .note.ABI-tag
+ sh_type: SHT_NOTE
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x804810c
+ sh_offset: 268
+ sh_size: 24
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 3
+ sh_name: .hash
+ sh_type: SHT_HASH
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x8048124
+ sh_offset: 292
+ sh_size: 544
+ sh_link: 4
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 4
+
+entry: 4
+ sh_name: .dynsym
+ sh_type: SHT_DYNSYM
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x8048344
+ sh_offset: 836
+ sh_size: 1072
+ sh_link: 5
+ sh_info: 1
+ sh_addralign: 4
+ sh_entsize: 16
+
+entry: 5
+ sh_name: .dynstr
+ sh_type: SHT_STRTAB
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x8048774
+ sh_offset: 1908
+ sh_size: 467
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 6
+ sh_name: .gnu.version
+ sh_type: SHT_SUNW(GNU)_versym
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x8048948
+ sh_offset: 2376
+ sh_size: 134
+ sh_link: 4
+ sh_info: 0
+ sh_addralign: 2
+ sh_entsize: 2
+
+entry: 7
+ sh_name: .gnu.version_r
+ sh_type: SHT_SUNW(GNU)_verneed
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x80489d0
+ sh_offset: 2512
+ sh_size: 32
+ sh_link: 5
+ sh_info: 1
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 8
+ sh_name: .rel.dyn
+ sh_type: SHT_REL
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x80489f0
+ sh_offset: 2544
+ sh_size: 32
+ sh_link: 4
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 8
+
+entry: 9
+ sh_name: .rel.plt
+ sh_type: SHT_REL
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x8048a10
+ sh_offset: 2576
+ sh_size: 464
+ sh_link: 4
+ sh_info: 11
+ sh_addralign: 4
+ sh_entsize: 8
+
+entry: 10
+ sh_name: .init
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x8048be0
+ sh_offset: 3040
+ sh_size: 17
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 11
+ sh_name: .plt
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x8048bf4
+ sh_offset: 3060
+ sh_size: 944
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 4
+
+entry: 12
+ sh_name: .text
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x8048fb0
+ sh_offset: 4016
+ sh_size: 7132
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 13
+ sh_name: .fini
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x804ab8c
+ sh_offset: 11148
+ sh_size: 12
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 14
+ sh_name: .rodata
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x804ab98
+ sh_offset: 11160
+ sh_size: 1298
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 15
+ sh_name: .data
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x804c0c0
+ sh_offset: 12480
+ sh_size: 1068
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 32
+ sh_entsize: 0
+
+entry: 16
+ sh_name: .eh_frame
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x804c4ec
+ sh_offset: 13548
+ sh_size: 4
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 17
+ sh_name: .dynamic
+ sh_type: SHT_DYNAMIC
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x804c4f0
+ sh_offset: 13552
+ sh_size: 200
+ sh_link: 5
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 8
+
+entry: 18
+ sh_name: .ctors
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x804c5b8
+ sh_offset: 13752
+ sh_size: 8
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 19
+ sh_name: .dtors
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x804c5c0
+ sh_offset: 13760
+ sh_size: 8
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 20
+ sh_name: .jcr
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x804c5c8
+ sh_offset: 13768
+ sh_size: 4
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 21
+ sh_name: .got
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x804c5cc
+ sh_offset: 13772
+ sh_size: 244
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 4
+
+entry: 22
+ sh_name: .bss
+ sh_type: SHT_NOBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x804c6c0
+ sh_offset: 14016
+ sh_size: 65632
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 32
+ sh_entsize: 0
+
+entry: 23
+ sh_name: .comment
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 14016
+ sh_size: 485
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 24
+ sh_name: .shstrtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 14501
+ sh_size: 190
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+symbol table (.dynsym):
+
+entry: 0
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_LOCAL
+ st_shndx: 0
+
+entry: 1
+ st_name: fprintf
+ st_value: 0
+ st_size: 52
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 2
+ st_name: write
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 3
+ st_name: utimes
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 4
+ st_name: lstat
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 5
+ st_name: acl_get_fd
+ st_value: 0
+ st_size: 93
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 6
+ st_name: lutimes
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 7
+ st_name: lchmod
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 8
+ st_name: link
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 9
+ st_name: mkfifo
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 10
+ st_name: fts_set
+ st_value: 0
+ st_size: 66
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 11
+ st_name: fts_close
+ st_value: 0
+ st_size: 218
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 12
+ st_name: chflags
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 13
+ st_name: fts_read
+ st_value: 0
+ st_size: 1266
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 14
+ st_name: strerror
+ st_value: 0
+ st_size: 74
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 15
+ st_name: _init_tls
+ st_value: 0
+ st_size: 5
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 16
+ st_name: fts_open
+ st_value: 0
+ st_size: 638
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 17
+ st_name: errx
+ st_value: 0
+ st_size: 46
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 18
+ st_name: munmap
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 19
+ st_name: symlink
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 20
+ st_name: fpathconf
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 21
+ st_name: environ
+ st_value: 0x805c700
+ st_size: 4
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 22
+
+entry: 22
+ st_name: unlink
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 23
+ st_name: __isthreaded
+ st_value: 0x804c6c0
+ st_size: 4
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 22
+
+entry: 24
+ st_name: getopt
+ st_value: 0
+ st_size: 660
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 25
+ st_name: strrchr
+ st_value: 0
+ st_size: 27
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 26
+ st_name: __progname
+ st_value: 0x804c0c0
+ st_size: 4
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 15
+
+entry: 27
+ st_name: warnx
+ st_value: 0
+ st_size: 45
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 28
+ st_name: stat
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 29
+ st_name: mmap
+ st_value: 0
+ st_size: 164
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 30
+ st_name: mknod
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 31
+ st_name: __error
+ st_value: 0
+ st_size: 22
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 32
+ st_name: pathconf
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 33
+ st_name: printf
+ st_value: 0
+ st_size: 57
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 34
+ st_name: close
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 35
+ st_name: warn
+ st_value: 0
+ st_size: 65
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 36
+ st_name: acl_set_link_np
+ st_value: 0x8048e04
+ st_size: 157
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 37
+ st_name: __stdinp
+ st_value: 0x804c6c4
+ st_size: 4
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 22
+
+entry: 38
+ st_name: umask
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 39
+ st_name: signal
+ st_value: 0
+ st_size: 107
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 40
+ st_name: fchmod
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 41
+ st_name: fwrite
+ st_value: 0
+ st_size: 175
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 42
+ st_name: open
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 43
+ st_name: fchown
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 44
+ st_name: lchown
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 45
+ st_name: acl_set_fd
+ st_value: 0
+ st_size: 110
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 46
+ st_name: exit
+ st_value: 0
+ st_size: 67
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 47
+ st_name: mkdir
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 48
+ st_name: err
+ st_value: 0
+ st_size: 62
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 49
+ st_name: _end
+ st_value: 0x805c720
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 65521
+
+entry: 50
+ st_name: chmod
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 51
+ st_name: __stderrp
+ st_value: 0x804c6c8
+ st_size: 4
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 22
+
+entry: 52
+ st_name: optind
+ st_value: 0x804c6cc
+ st_size: 4
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 22
+
+entry: 53
+ st_name: acl_set_file
+ st_value: 0x8048ed4
+ st_size: 157
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 54
+ st_name: __srget
+ st_value: 0
+ st_size: 69
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 55
+ st_name: atexit
+ st_value: 0
+ st_size: 43
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 56
+ st_name: chown
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 57
+ st_name: read
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 58
+ st_name: fchflags
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 59
+ st_name: strncat
+ st_value: 0
+ st_size: 64
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 60
+ st_name: _Jv_RegisterClasses
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_WEAK
+ st_shndx: 0
+
+entry: 61
+ st_name: acl_get_link_np
+ st_value: 0x8048f44
+ st_size: 92
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 62
+ st_name: readlink
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 63
+ st_name: getc
+ st_value: 0
+ st_size: 124
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 64
+ st_name: acl_get_file
+ st_value: 0x8048f74
+ st_size: 92
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 65
+ st_name: fstat
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 66
+ st_name: strlcpy
+ st_value: 0
+ st_size: 85
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
diff --git a/test/elfdump/ts/exec2/@e%cp.err b/test/elfdump/ts/exec2/@e%cp.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec2/@e%cp.err
diff --git a/test/elfdump/ts/exec2/@e%cp.out b/test/elfdump/ts/exec2/@e%cp.out
new file mode 100644
index 0000000000000..79466701e7e95
--- /dev/null
+++ b/test/elfdump/ts/exec2/@e%cp.out
@@ -0,0 +1,17 @@
+
+elf header:
+
+ e_ident: ELFCLASS32 ELFDATA2LSB ELFOSABI_FREEBSD
+ e_type: ET_EXEC
+ e_machine: EM_386
+ e_version: EV_CURRENT
+ e_entry: 0x8048fb0
+ e_phoff: 52
+ e_shoff: 14692
+ e_flags: 0
+ e_ehsize: 52
+ e_phentsize: 32
+ e_phnum: 6
+ e_shentsize: 40
+ e_shnum: 25
+ e_shstrndx: 24
diff --git a/test/elfdump/ts/exec2/@e@d%cp.err b/test/elfdump/ts/exec2/@e@d%cp.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec2/@e@d%cp.err
diff --git a/test/elfdump/ts/exec2/@e@d%cp.out b/test/elfdump/ts/exec2/@e@d%cp.out
new file mode 100644
index 0000000000000..7b9a1fef1181e
--- /dev/null
+++ b/test/elfdump/ts/exec2/@e@d%cp.out
@@ -0,0 +1,113 @@
+
+elf header:
+
+ e_ident: ELFCLASS32 ELFDATA2LSB ELFOSABI_FREEBSD
+ e_type: ET_EXEC
+ e_machine: EM_386
+ e_version: EV_CURRENT
+ e_entry: 0x8048fb0
+ e_phoff: 52
+ e_shoff: 14692
+ e_flags: 0
+ e_ehsize: 52
+ e_phentsize: 32
+ e_phnum: 6
+ e_shentsize: 40
+ e_shnum: 25
+ e_shstrndx: 24
+
+dynamic:
+
+entry: 0
+ d_tag: DT_NEEDED
+ d_val: libc.so.7
+
+entry: 1
+ d_tag: DT_INIT
+ d_ptr: 0x8048be0
+
+entry: 2
+ d_tag: DT_FINI
+ d_ptr: 0x804ab8c
+
+entry: 3
+ d_tag: DT_HASH
+ d_ptr: 0x8048124
+
+entry: 4
+ d_tag: DT_STRTAB
+ d_ptr: 0x8048774
+
+entry: 5
+ d_tag: DT_SYMTAB
+ d_ptr: 0x8048344
+
+entry: 6
+ d_tag: DT_STRSZ
+ d_val: 467
+
+entry: 7
+ d_tag: DT_SYMENT
+ d_val: 16
+
+entry: 8
+ d_tag: DT_DEBUG
+ d_ptr: 0
+
+entry: 9
+ d_tag: DT_PLTGOT
+ d_ptr: 0x804c5cc
+
+entry: 10
+ d_tag: DT_PLTRELSZ
+ d_val: 464
+
+entry: 11
+ d_tag: DT_PLTREL
+ d_val: 17
+
+entry: 12
+ d_tag: DT_JMPREL
+ d_ptr: 0x8048a10
+
+entry: 13
+ d_tag: DT_REL
+ d_ptr: 0x80489f0
+
+entry: 14
+ d_tag: DT_RELSZ
+ d_val: 32
+
+entry: 15
+ d_tag: DT_RELENT
+ d_val: 8
+
+entry: 16
+ d_tag: DT_VERNEED
+ d_val: 134515152
+
+entry: 17
+ d_tag: DT_VERNEEDNUM
+ d_val: 1
+
+entry: 18
+ d_tag: DT_GNU_VERSYM
+ d_val: 134515016
+
+entry: 19
+ d_tag: DT_NULL
+
+entry: 20
+ d_tag: DT_NULL
+
+entry: 21
+ d_tag: DT_NULL
+
+entry: 22
+ d_tag: DT_NULL
+
+entry: 23
+ d_tag: DT_NULL
+
+entry: 24
+ d_tag: DT_NULL
diff --git a/test/elfdump/ts/exec2/@e@i%cp.err b/test/elfdump/ts/exec2/@e@i%cp.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec2/@e@i%cp.err
diff --git a/test/elfdump/ts/exec2/@e@i%cp.out b/test/elfdump/ts/exec2/@e@i%cp.out
new file mode 100644
index 0000000000000..8a0c7751f9295
--- /dev/null
+++ b/test/elfdump/ts/exec2/@e@i%cp.out
@@ -0,0 +1,20 @@
+
+elf header:
+
+ e_ident: ELFCLASS32 ELFDATA2LSB ELFOSABI_FREEBSD
+ e_type: ET_EXEC
+ e_machine: EM_386
+ e_version: EV_CURRENT
+ e_entry: 0x8048fb0
+ e_phoff: 52
+ e_shoff: 14692
+ e_flags: 0
+ e_ehsize: 52
+ e_phentsize: 32
+ e_phnum: 6
+ e_shentsize: 40
+ e_shnum: 25
+ e_shstrndx: 24
+
+interp:
+ /libexec/ld-elf.so.1
diff --git a/test/elfdump/ts/exec2/@e@p%cp.err b/test/elfdump/ts/exec2/@e@p%cp.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec2/@e@p%cp.err
diff --git a/test/elfdump/ts/exec2/@e@p%cp.out b/test/elfdump/ts/exec2/@e@p%cp.out
new file mode 100644
index 0000000000000..259f711d627d5
--- /dev/null
+++ b/test/elfdump/ts/exec2/@e@p%cp.out
@@ -0,0 +1,79 @@
+
+elf header:
+
+ e_ident: ELFCLASS32 ELFDATA2LSB ELFOSABI_FREEBSD
+ e_type: ET_EXEC
+ e_machine: EM_386
+ e_version: EV_CURRENT
+ e_entry: 0x8048fb0
+ e_phoff: 52
+ e_shoff: 14692
+ e_flags: 0
+ e_ehsize: 52
+ e_phentsize: 32
+ e_phnum: 6
+ e_shentsize: 40
+ e_shnum: 25
+ e_shstrndx: 24
+
+program header:
+
+entry: 0
+ p_type: PT_PHDR
+ p_offset: 52
+ p_vaddr: 0x8048034
+ p_paddr: 0x8048034
+ p_filesz: 192
+ p_memsz: 192
+ p_flags: PF_X|PF_R
+ p_align: 4
+
+entry: 1
+ p_type: PT_INTERP
+ p_offset: 244
+ p_vaddr: 0x80480f4
+ p_paddr: 0x80480f4
+ p_filesz: 21
+ p_memsz: 21
+ p_flags: PF_R
+ p_align: 1
+
+entry: 2
+ p_type: PT_LOAD
+ p_offset: 0
+ p_vaddr: 0x8048000
+ p_paddr: 0x8048000
+ p_filesz: 12458
+ p_memsz: 12458
+ p_flags: PF_X|PF_R
+ p_align: 4096
+
+entry: 3
+ p_type: PT_LOAD
+ p_offset: 12480
+ p_vaddr: 0x804c0c0
+ p_paddr: 0x804c0c0
+ p_filesz: 1536
+ p_memsz: 67168
+ p_flags: PF_W|PF_R
+ p_align: 4096
+
+entry: 4
+ p_type: PT_DYNAMIC
+ p_offset: 13552
+ p_vaddr: 0x804c4f0
+ p_paddr: 0x804c4f0
+ p_filesz: 200
+ p_memsz: 200
+ p_flags: PF_W|PF_R
+ p_align: 4
+
+entry: 5
+ p_type: PT_NOTE
+ p_offset: 268
+ p_vaddr: 0x804810c
+ p_paddr: 0x804810c
+ p_filesz: 24
+ p_memsz: 24
+ p_flags: PF_R
+ p_align: 4
diff --git a/test/elfdump/ts/exec2/@e@p@c@d%cp.err b/test/elfdump/ts/exec2/@e@p@c@d%cp.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec2/@e@p@c@d%cp.err
diff --git a/test/elfdump/ts/exec2/@e@p@c@d%cp.out b/test/elfdump/ts/exec2/@e@p@c@d%cp.out
new file mode 100644
index 0000000000000..ed38593895a60
--- /dev/null
+++ b/test/elfdump/ts/exec2/@e@p@c@d%cp.out
@@ -0,0 +1,477 @@
+
+elf header:
+
+ e_ident: ELFCLASS32 ELFDATA2LSB ELFOSABI_FREEBSD
+ e_type: ET_EXEC
+ e_machine: EM_386
+ e_version: EV_CURRENT
+ e_entry: 0x8048fb0
+ e_phoff: 52
+ e_shoff: 14692
+ e_flags: 0
+ e_ehsize: 52
+ e_phentsize: 32
+ e_phnum: 6
+ e_shentsize: 40
+ e_shnum: 25
+ e_shstrndx: 24
+
+program header:
+
+entry: 0
+ p_type: PT_PHDR
+ p_offset: 52
+ p_vaddr: 0x8048034
+ p_paddr: 0x8048034
+ p_filesz: 192
+ p_memsz: 192
+ p_flags: PF_X|PF_R
+ p_align: 4
+
+entry: 1
+ p_type: PT_INTERP
+ p_offset: 244
+ p_vaddr: 0x80480f4
+ p_paddr: 0x80480f4
+ p_filesz: 21
+ p_memsz: 21
+ p_flags: PF_R
+ p_align: 1
+
+entry: 2
+ p_type: PT_LOAD
+ p_offset: 0
+ p_vaddr: 0x8048000
+ p_paddr: 0x8048000
+ p_filesz: 12458
+ p_memsz: 12458
+ p_flags: PF_X|PF_R
+ p_align: 4096
+
+entry: 3
+ p_type: PT_LOAD
+ p_offset: 12480
+ p_vaddr: 0x804c0c0
+ p_paddr: 0x804c0c0
+ p_filesz: 1536
+ p_memsz: 67168
+ p_flags: PF_W|PF_R
+ p_align: 4096
+
+entry: 4
+ p_type: PT_DYNAMIC
+ p_offset: 13552
+ p_vaddr: 0x804c4f0
+ p_paddr: 0x804c4f0
+ p_filesz: 200
+ p_memsz: 200
+ p_flags: PF_W|PF_R
+ p_align: 4
+
+entry: 5
+ p_type: PT_NOTE
+ p_offset: 268
+ p_vaddr: 0x804810c
+ p_paddr: 0x804810c
+ p_filesz: 24
+ p_memsz: 24
+ p_flags: PF_R
+ p_align: 4
+
+section header:
+
+entry: 0
+ sh_name:
+ sh_type: SHT_NULL
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 0
+ sh_size: 0
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 0
+ sh_entsize: 0
+
+entry: 1
+ sh_name: .interp
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x80480f4
+ sh_offset: 244
+ sh_size: 21
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 2
+ sh_name: .note.ABI-tag
+ sh_type: SHT_NOTE
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x804810c
+ sh_offset: 268
+ sh_size: 24
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 3
+ sh_name: .hash
+ sh_type: SHT_HASH
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x8048124
+ sh_offset: 292
+ sh_size: 544
+ sh_link: 4
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 4
+
+entry: 4
+ sh_name: .dynsym
+ sh_type: SHT_DYNSYM
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x8048344
+ sh_offset: 836
+ sh_size: 1072
+ sh_link: 5
+ sh_info: 1
+ sh_addralign: 4
+ sh_entsize: 16
+
+entry: 5
+ sh_name: .dynstr
+ sh_type: SHT_STRTAB
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x8048774
+ sh_offset: 1908
+ sh_size: 467
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 6
+ sh_name: .gnu.version
+ sh_type: SHT_SUNW(GNU)_versym
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x8048948
+ sh_offset: 2376
+ sh_size: 134
+ sh_link: 4
+ sh_info: 0
+ sh_addralign: 2
+ sh_entsize: 2
+
+entry: 7
+ sh_name: .gnu.version_r
+ sh_type: SHT_SUNW(GNU)_verneed
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x80489d0
+ sh_offset: 2512
+ sh_size: 32
+ sh_link: 5
+ sh_info: 1
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 8
+ sh_name: .rel.dyn
+ sh_type: SHT_REL
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x80489f0
+ sh_offset: 2544
+ sh_size: 32
+ sh_link: 4
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 8
+
+entry: 9
+ sh_name: .rel.plt
+ sh_type: SHT_REL
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x8048a10
+ sh_offset: 2576
+ sh_size: 464
+ sh_link: 4
+ sh_info: 11
+ sh_addralign: 4
+ sh_entsize: 8
+
+entry: 10
+ sh_name: .init
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x8048be0
+ sh_offset: 3040
+ sh_size: 17
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 11
+ sh_name: .plt
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x8048bf4
+ sh_offset: 3060
+ sh_size: 944
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 4
+
+entry: 12
+ sh_name: .text
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x8048fb0
+ sh_offset: 4016
+ sh_size: 7132
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 16
+ sh_entsize: 0
+
+entry: 13
+ sh_name: .fini
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC|SHF_EXECINSTR
+ sh_addr: 0x804ab8c
+ sh_offset: 11148
+ sh_size: 12
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 14
+ sh_name: .rodata
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x804ab98
+ sh_offset: 11160
+ sh_size: 1298
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 15
+ sh_name: .data
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x804c0c0
+ sh_offset: 12480
+ sh_size: 1068
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 32
+ sh_entsize: 0
+
+entry: 16
+ sh_name: .eh_frame
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_ALLOC
+ sh_addr: 0x804c4ec
+ sh_offset: 13548
+ sh_size: 4
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 17
+ sh_name: .dynamic
+ sh_type: SHT_DYNAMIC
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x804c4f0
+ sh_offset: 13552
+ sh_size: 200
+ sh_link: 5
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 8
+
+entry: 18
+ sh_name: .ctors
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x804c5b8
+ sh_offset: 13752
+ sh_size: 8
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 19
+ sh_name: .dtors
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x804c5c0
+ sh_offset: 13760
+ sh_size: 8
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 20
+ sh_name: .jcr
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x804c5c8
+ sh_offset: 13768
+ sh_size: 4
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 0
+
+entry: 21
+ sh_name: .got
+ sh_type: SHT_PROGBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x804c5cc
+ sh_offset: 13772
+ sh_size: 244
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 4
+ sh_entsize: 4
+
+entry: 22
+ sh_name: .bss
+ sh_type: SHT_NOBITS
+ sh_flags: SHF_WRITE|SHF_ALLOC
+ sh_addr: 0x804c6c0
+ sh_offset: 14016
+ sh_size: 65632
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 32
+ sh_entsize: 0
+
+entry: 23
+ sh_name: .comment
+ sh_type: SHT_PROGBITS
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 14016
+ sh_size: 485
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+entry: 24
+ sh_name: .shstrtab
+ sh_type: SHT_STRTAB
+ sh_flags:
+ sh_addr: 0
+ sh_offset: 14501
+ sh_size: 190
+ sh_link: 0
+ sh_info: 0
+ sh_addralign: 1
+ sh_entsize: 0
+
+dynamic:
+
+entry: 0
+ d_tag: DT_NEEDED
+ d_val: libc.so.7
+
+entry: 1
+ d_tag: DT_INIT
+ d_ptr: 0x8048be0
+
+entry: 2
+ d_tag: DT_FINI
+ d_ptr: 0x804ab8c
+
+entry: 3
+ d_tag: DT_HASH
+ d_ptr: 0x8048124
+
+entry: 4
+ d_tag: DT_STRTAB
+ d_ptr: 0x8048774
+
+entry: 5
+ d_tag: DT_SYMTAB
+ d_ptr: 0x8048344
+
+entry: 6
+ d_tag: DT_STRSZ
+ d_val: 467
+
+entry: 7
+ d_tag: DT_SYMENT
+ d_val: 16
+
+entry: 8
+ d_tag: DT_DEBUG
+ d_ptr: 0
+
+entry: 9
+ d_tag: DT_PLTGOT
+ d_ptr: 0x804c5cc
+
+entry: 10
+ d_tag: DT_PLTRELSZ
+ d_val: 464
+
+entry: 11
+ d_tag: DT_PLTREL
+ d_val: 17
+
+entry: 12
+ d_tag: DT_JMPREL
+ d_ptr: 0x8048a10
+
+entry: 13
+ d_tag: DT_REL
+ d_ptr: 0x80489f0
+
+entry: 14
+ d_tag: DT_RELSZ
+ d_val: 32
+
+entry: 15
+ d_tag: DT_RELENT
+ d_val: 8
+
+entry: 16
+ d_tag: DT_VERNEED
+ d_val: 134515152
+
+entry: 17
+ d_tag: DT_VERNEEDNUM
+ d_val: 1
+
+entry: 18
+ d_tag: DT_GNU_VERSYM
+ d_val: 134515016
+
+entry: 19
+ d_tag: DT_NULL
+
+entry: 20
+ d_tag: DT_NULL
+
+entry: 21
+ d_tag: DT_NULL
+
+entry: 22
+ d_tag: DT_NULL
+
+entry: 23
+ d_tag: DT_NULL
+
+entry: 24
+ d_tag: DT_NULL
diff --git a/test/elfdump/ts/exec2/@h%cp.err b/test/elfdump/ts/exec2/@h%cp.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec2/@h%cp.err
diff --git a/test/elfdump/ts/exec2/@h%cp.out b/test/elfdump/ts/exec2/@h%cp.out
new file mode 100644
index 0000000000000..e39cabda112ea
--- /dev/null
+++ b/test/elfdump/ts/exec2/@h%cp.out
@@ -0,0 +1,408 @@
+
+hash table (.hash):
+
+nbucket: 67
+nchain: 67
+
+bucket[0]:
+ 0
+
+bucket[1]:
+ 60
+
+bucket[2]:
+ 0
+
+bucket[3]:
+ 0
+
+bucket[4]:
+ 54
+
+bucket[5]:
+ 0
+
+bucket[6]:
+ 0
+
+bucket[7]:
+ 33
+
+bucket[8]:
+ 0
+
+bucket[9]:
+ 16
+
+bucket[10]:
+ 0
+
+bucket[11]:
+ 17
+
+bucket[12]:
+ 37
+
+bucket[13]:
+ 0
+
+bucket[14]:
+ 39
+
+bucket[15]:
+ 50
+
+bucket[16]:
+ 51
+
+bucket[17]:
+ 0
+
+bucket[18]:
+ 59
+
+bucket[19]:
+ 0
+
+bucket[20]:
+ 0
+
+bucket[21]:
+ 66
+
+bucket[22]:
+ 52
+
+bucket[23]:
+ 62
+
+bucket[24]:
+ 0
+
+bucket[25]:
+ 34
+
+bucket[26]:
+ 22
+
+bucket[27]:
+ 31
+
+bucket[28]:
+ 26
+
+bucket[29]:
+ 49
+
+bucket[30]:
+ 0
+
+bucket[31]:
+ 0
+
+bucket[32]:
+ 35
+
+bucket[33]:
+ 61
+
+bucket[34]:
+ 47
+
+bucket[35]:
+ 0
+
+bucket[36]:
+ 0
+
+bucket[37]:
+ 0
+
+bucket[38]:
+ 28
+
+bucket[39]:
+ 0
+
+bucket[40]:
+ 0
+
+bucket[41]:
+ 42
+
+bucket[42]:
+ 0
+
+bucket[43]:
+ 0
+
+bucket[44]:
+ 0
+
+bucket[45]:
+ 0
+
+bucket[46]:
+ 4
+
+bucket[47]:
+ 36
+
+bucket[48]:
+ 64
+
+bucket[49]:
+ 0
+
+bucket[50]:
+ 20
+
+bucket[51]:
+ 0
+
+bucket[52]:
+ 0
+
+bucket[53]:
+ 65
+
+bucket[54]:
+ 40
+
+bucket[55]:
+ 0
+
+bucket[56]:
+ 55
+
+bucket[57]:
+ 18
+
+bucket[58]:
+ 58
+
+bucket[59]:
+ 57
+
+bucket[60]:
+ 0
+
+bucket[61]:
+ 0
+
+bucket[62]:
+ 63
+
+bucket[63]:
+ 53
+
+bucket[64]:
+ 29
+
+bucket[65]:
+ 45
+
+bucket[66]:
+ 0
+
+chain[0]:
+ 0
+
+chain[1]:
+ 0
+
+chain[2]:
+ 0
+
+chain[3]:
+ 0
+
+chain[4]:
+ 0
+
+chain[5]:
+ 0
+
+chain[6]:
+ 0
+
+chain[7]:
+ 3
+
+chain[8]:
+ 0
+
+chain[9]:
+ 0
+
+chain[10]:
+ 0
+
+chain[11]:
+ 8
+
+chain[12]:
+ 0
+
+chain[13]:
+ 0
+
+chain[14]:
+ 0
+
+chain[15]:
+ 10
+
+chain[16]:
+ 7
+
+chain[17]:
+ 0
+
+chain[18]:
+ 0
+
+chain[19]:
+ 9
+
+chain[20]:
+ 0
+
+chain[21]:
+ 0
+
+chain[22]:
+ 0
+
+chain[23]:
+ 0
+
+chain[24]:
+ 12
+
+chain[25]:
+ 23
+
+chain[26]:
+ 0
+
+chain[27]:
+ 14
+
+chain[28]:
+ 11
+
+chain[29]:
+ 0
+
+chain[30]:
+ 0
+
+chain[31]:
+ 0
+
+chain[32]:
+ 0
+
+chain[33]:
+ 25
+
+chain[34]:
+ 0
+
+chain[35]:
+ 2
+
+chain[36]:
+ 21
+
+chain[37]:
+ 19
+
+chain[38]:
+ 0
+
+chain[39]:
+ 0
+
+chain[40]:
+ 0
+
+chain[41]:
+ 6
+
+chain[42]:
+ 0
+
+chain[43]:
+ 0
+
+chain[44]:
+ 1
+
+chain[45]:
+ 15
+
+chain[46]:
+ 13
+
+chain[47]:
+ 43
+
+chain[48]:
+ 44
+
+chain[49]:
+ 27
+
+chain[50]:
+ 24
+
+chain[51]:
+ 0
+
+chain[52]:
+ 0
+
+chain[53]:
+ 30
+
+chain[54]:
+ 41
+
+chain[55]:
+ 48
+
+chain[56]:
+ 0
+
+chain[57]:
+ 46
+
+chain[58]:
+ 0
+
+chain[59]:
+ 0
+
+chain[60]:
+ 32
+
+chain[61]:
+ 0
+
+chain[62]:
+ 0
+
+chain[63]:
+ 56
+
+chain[64]:
+ 0
+
+chain[65]:
+ 38
+
+chain[66]:
+ 5
+
diff --git a/test/elfdump/ts/exec2/@n%cp.err b/test/elfdump/ts/exec2/@n%cp.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec2/@n%cp.err
diff --git a/test/elfdump/ts/exec2/@n%cp.out b/test/elfdump/ts/exec2/@n%cp.out
new file mode 100644
index 0000000000000..ffef7a0acd50a
--- /dev/null
+++ b/test/elfdump/ts/exec2/@n%cp.out
@@ -0,0 +1,3 @@
+
+note (.note.ABI-tag):
+ FreeBSD 701100
diff --git a/test/elfdump/ts/exec2/@p@e%cp.err b/test/elfdump/ts/exec2/@p@e%cp.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec2/@p@e%cp.err
diff --git a/test/elfdump/ts/exec2/@p@e%cp.out b/test/elfdump/ts/exec2/@p@e%cp.out
new file mode 100644
index 0000000000000..259f711d627d5
--- /dev/null
+++ b/test/elfdump/ts/exec2/@p@e%cp.out
@@ -0,0 +1,79 @@
+
+elf header:
+
+ e_ident: ELFCLASS32 ELFDATA2LSB ELFOSABI_FREEBSD
+ e_type: ET_EXEC
+ e_machine: EM_386
+ e_version: EV_CURRENT
+ e_entry: 0x8048fb0
+ e_phoff: 52
+ e_shoff: 14692
+ e_flags: 0
+ e_ehsize: 52
+ e_phentsize: 32
+ e_phnum: 6
+ e_shentsize: 40
+ e_shnum: 25
+ e_shstrndx: 24
+
+program header:
+
+entry: 0
+ p_type: PT_PHDR
+ p_offset: 52
+ p_vaddr: 0x8048034
+ p_paddr: 0x8048034
+ p_filesz: 192
+ p_memsz: 192
+ p_flags: PF_X|PF_R
+ p_align: 4
+
+entry: 1
+ p_type: PT_INTERP
+ p_offset: 244
+ p_vaddr: 0x80480f4
+ p_paddr: 0x80480f4
+ p_filesz: 21
+ p_memsz: 21
+ p_flags: PF_R
+ p_align: 1
+
+entry: 2
+ p_type: PT_LOAD
+ p_offset: 0
+ p_vaddr: 0x8048000
+ p_paddr: 0x8048000
+ p_filesz: 12458
+ p_memsz: 12458
+ p_flags: PF_X|PF_R
+ p_align: 4096
+
+entry: 3
+ p_type: PT_LOAD
+ p_offset: 12480
+ p_vaddr: 0x804c0c0
+ p_paddr: 0x804c0c0
+ p_filesz: 1536
+ p_memsz: 67168
+ p_flags: PF_W|PF_R
+ p_align: 4096
+
+entry: 4
+ p_type: PT_DYNAMIC
+ p_offset: 13552
+ p_vaddr: 0x804c4f0
+ p_paddr: 0x804c4f0
+ p_filesz: 200
+ p_memsz: 200
+ p_flags: PF_W|PF_R
+ p_align: 4
+
+entry: 5
+ p_type: PT_NOTE
+ p_offset: 268
+ p_vaddr: 0x804810c
+ p_paddr: 0x804810c
+ p_filesz: 24
+ p_memsz: 24
+ p_flags: PF_R
+ p_align: 4
diff --git a/test/elfdump/ts/exec2/@p@n%cp.err b/test/elfdump/ts/exec2/@p@n%cp.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec2/@p@n%cp.err
diff --git a/test/elfdump/ts/exec2/@p@n%cp.out b/test/elfdump/ts/exec2/@p@n%cp.out
new file mode 100644
index 0000000000000..987fa0c777556
--- /dev/null
+++ b/test/elfdump/ts/exec2/@p@n%cp.out
@@ -0,0 +1,65 @@
+
+program header:
+
+entry: 0
+ p_type: PT_PHDR
+ p_offset: 52
+ p_vaddr: 0x8048034
+ p_paddr: 0x8048034
+ p_filesz: 192
+ p_memsz: 192
+ p_flags: PF_X|PF_R
+ p_align: 4
+
+entry: 1
+ p_type: PT_INTERP
+ p_offset: 244
+ p_vaddr: 0x80480f4
+ p_paddr: 0x80480f4
+ p_filesz: 21
+ p_memsz: 21
+ p_flags: PF_R
+ p_align: 1
+
+entry: 2
+ p_type: PT_LOAD
+ p_offset: 0
+ p_vaddr: 0x8048000
+ p_paddr: 0x8048000
+ p_filesz: 12458
+ p_memsz: 12458
+ p_flags: PF_X|PF_R
+ p_align: 4096
+
+entry: 3
+ p_type: PT_LOAD
+ p_offset: 12480
+ p_vaddr: 0x804c0c0
+ p_paddr: 0x804c0c0
+ p_filesz: 1536
+ p_memsz: 67168
+ p_flags: PF_W|PF_R
+ p_align: 4096
+
+entry: 4
+ p_type: PT_DYNAMIC
+ p_offset: 13552
+ p_vaddr: 0x804c4f0
+ p_paddr: 0x804c4f0
+ p_filesz: 200
+ p_memsz: 200
+ p_flags: PF_W|PF_R
+ p_align: 4
+
+entry: 5
+ p_type: PT_NOTE
+ p_offset: 268
+ p_vaddr: 0x804810c
+ p_paddr: 0x804810c
+ p_filesz: 24
+ p_memsz: 24
+ p_flags: PF_R
+ p_align: 4
+
+note (.note.ABI-tag):
+ FreeBSD 701100
diff --git a/test/elfdump/ts/exec2/@p@s%cp.err b/test/elfdump/ts/exec2/@p@s%cp.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec2/@p@s%cp.err
diff --git a/test/elfdump/ts/exec2/@p@s%cp.out b/test/elfdump/ts/exec2/@p@s%cp.out
new file mode 100644
index 0000000000000..4f15f2136036c
--- /dev/null
+++ b/test/elfdump/ts/exec2/@p@s%cp.out
@@ -0,0 +1,533 @@
+
+program header:
+
+entry: 0
+ p_type: PT_PHDR
+ p_offset: 52
+ p_vaddr: 0x8048034
+ p_paddr: 0x8048034
+ p_filesz: 192
+ p_memsz: 192
+ p_flags: PF_X|PF_R
+ p_align: 4
+
+entry: 1
+ p_type: PT_INTERP
+ p_offset: 244
+ p_vaddr: 0x80480f4
+ p_paddr: 0x80480f4
+ p_filesz: 21
+ p_memsz: 21
+ p_flags: PF_R
+ p_align: 1
+
+entry: 2
+ p_type: PT_LOAD
+ p_offset: 0
+ p_vaddr: 0x8048000
+ p_paddr: 0x8048000
+ p_filesz: 12458
+ p_memsz: 12458
+ p_flags: PF_X|PF_R
+ p_align: 4096
+
+entry: 3
+ p_type: PT_LOAD
+ p_offset: 12480
+ p_vaddr: 0x804c0c0
+ p_paddr: 0x804c0c0
+ p_filesz: 1536
+ p_memsz: 67168
+ p_flags: PF_W|PF_R
+ p_align: 4096
+
+entry: 4
+ p_type: PT_DYNAMIC
+ p_offset: 13552
+ p_vaddr: 0x804c4f0
+ p_paddr: 0x804c4f0
+ p_filesz: 200
+ p_memsz: 200
+ p_flags: PF_W|PF_R
+ p_align: 4
+
+entry: 5
+ p_type: PT_NOTE
+ p_offset: 268
+ p_vaddr: 0x804810c
+ p_paddr: 0x804810c
+ p_filesz: 24
+ p_memsz: 24
+ p_flags: PF_R
+ p_align: 4
+
+symbol table (.dynsym):
+
+entry: 0
+ st_name:
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_LOCAL
+ st_shndx: 0
+
+entry: 1
+ st_name: fprintf
+ st_value: 0
+ st_size: 52
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 2
+ st_name: write
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 3
+ st_name: utimes
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 4
+ st_name: lstat
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 5
+ st_name: acl_get_fd
+ st_value: 0
+ st_size: 93
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 6
+ st_name: lutimes
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 7
+ st_name: lchmod
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 8
+ st_name: link
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 9
+ st_name: mkfifo
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 10
+ st_name: fts_set
+ st_value: 0
+ st_size: 66
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 11
+ st_name: fts_close
+ st_value: 0
+ st_size: 218
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 12
+ st_name: chflags
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 13
+ st_name: fts_read
+ st_value: 0
+ st_size: 1266
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 14
+ st_name: strerror
+ st_value: 0
+ st_size: 74
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 15
+ st_name: _init_tls
+ st_value: 0
+ st_size: 5
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 16
+ st_name: fts_open
+ st_value: 0
+ st_size: 638
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 17
+ st_name: errx
+ st_value: 0
+ st_size: 46
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 18
+ st_name: munmap
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 19
+ st_name: symlink
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 20
+ st_name: fpathconf
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 21
+ st_name: environ
+ st_value: 0x805c700
+ st_size: 4
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 22
+
+entry: 22
+ st_name: unlink
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 23
+ st_name: __isthreaded
+ st_value: 0x804c6c0
+ st_size: 4
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 22
+
+entry: 24
+ st_name: getopt
+ st_value: 0
+ st_size: 660
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 25
+ st_name: strrchr
+ st_value: 0
+ st_size: 27
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 26
+ st_name: __progname
+ st_value: 0x804c0c0
+ st_size: 4
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 15
+
+entry: 27
+ st_name: warnx
+ st_value: 0
+ st_size: 45
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 28
+ st_name: stat
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 29
+ st_name: mmap
+ st_value: 0
+ st_size: 164
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 30
+ st_name: mknod
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 31
+ st_name: __error
+ st_value: 0
+ st_size: 22
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 32
+ st_name: pathconf
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 33
+ st_name: printf
+ st_value: 0
+ st_size: 57
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 34
+ st_name: close
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 35
+ st_name: warn
+ st_value: 0
+ st_size: 65
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 36
+ st_name: acl_set_link_np
+ st_value: 0x8048e04
+ st_size: 157
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 37
+ st_name: __stdinp
+ st_value: 0x804c6c4
+ st_size: 4
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 22
+
+entry: 38
+ st_name: umask
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 39
+ st_name: signal
+ st_value: 0
+ st_size: 107
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 40
+ st_name: fchmod
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 41
+ st_name: fwrite
+ st_value: 0
+ st_size: 175
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 42
+ st_name: open
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 43
+ st_name: fchown
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 44
+ st_name: lchown
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 45
+ st_name: acl_set_fd
+ st_value: 0
+ st_size: 110
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 46
+ st_name: exit
+ st_value: 0
+ st_size: 67
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 47
+ st_name: mkdir
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 48
+ st_name: err
+ st_value: 0
+ st_size: 62
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 49
+ st_name: _end
+ st_value: 0x805c720
+ st_size: 0
+ st_info: STT_NOTYPE STB_GLOBAL
+ st_shndx: 65521
+
+entry: 50
+ st_name: chmod
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 51
+ st_name: __stderrp
+ st_value: 0x804c6c8
+ st_size: 4
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 22
+
+entry: 52
+ st_name: optind
+ st_value: 0x804c6cc
+ st_size: 4
+ st_info: STT_OBJECT STB_GLOBAL
+ st_shndx: 22
+
+entry: 53
+ st_name: acl_set_file
+ st_value: 0x8048ed4
+ st_size: 157
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 54
+ st_name: __srget
+ st_value: 0
+ st_size: 69
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 55
+ st_name: atexit
+ st_value: 0
+ st_size: 43
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 56
+ st_name: chown
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 57
+ st_name: read
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 58
+ st_name: fchflags
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 59
+ st_name: strncat
+ st_value: 0
+ st_size: 64
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 60
+ st_name: _Jv_RegisterClasses
+ st_value: 0
+ st_size: 0
+ st_info: STT_NOTYPE STB_WEAK
+ st_shndx: 0
+
+entry: 61
+ st_name: acl_get_link_np
+ st_value: 0x8048f44
+ st_size: 92
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 62
+ st_name: readlink
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 63
+ st_name: getc
+ st_value: 0
+ st_size: 124
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 64
+ st_name: acl_get_file
+ st_value: 0x8048f74
+ st_size: 92
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 65
+ st_name: fstat
+ st_value: 0
+ st_size: 0
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
+
+entry: 66
+ st_name: strlcpy
+ st_value: 0
+ st_size: 85
+ st_info: STT_FUNC STB_GLOBAL
+ st_shndx: 0
diff --git a/test/elfdump/ts/exec2/@r%cp.err b/test/elfdump/ts/exec2/@r%cp.err
new file mode 100644
index 0000000000000..e69de29bb2d1d
--- /dev/null
+++ b/test/elfdump/ts/exec2/@r%cp.err
diff --git a/test/elfdump/ts/exec2/@r%cp.out b/test/elfdump/ts/exec2/@r%cp.out
new file mode 100644
index 0000000000000..e772da68d70ba
--- /dev/null
+++ b/test/elfdump/ts/exec2/@r%cp.out
@@ -0,0 +1,252 @@
+
+relocation (.rel.dyn):
+
+entry: 0
+ r_offset: 0x804c6c0
+ r_info: 0x1705
+
+entry: 1
+ r_offset: 0x804c6c4
+ r_info: 0x2505
+
+entry: 2
+ r_offset: 0x804c6c8
+ r_info: 0x3305
+
+entry: 3
+ r_offset: 0x804c6cc
+ r_info: 0x3405
+
+relocation (.rel.plt):
+
+entry: 0
+ r_offset: 0x804c5d8
+ r_info: 0x107
+
+entry: 1
+ r_offset: 0x804c5dc
+ r_info: 0x207
+
+entry: 2
+ r_offset: 0x804c5e0
+ r_info: 0x307
+
+entry: 3
+ r_offset: 0x804c5e4
+ r_info: 0x407
+
+entry: 4
+ r_offset: 0x804c5e8
+ r_info: 0x507
+
+entry: 5
+ r_offset: 0x804c5ec
+ r_info: 0x607
+
+entry: 6
+ r_offset: 0x804c5f0
+ r_info: 0x707
+
+entry: 7
+ r_offset: 0x804c5f4
+ r_info: 0x807
+
+entry: 8
+ r_offset: 0x804c5f8
+ r_info: 0x907
+
+entry: 9
+ r_offset: 0x804c5fc
+ r_info: 0xa07
+
+entry: 10
+ r_offset: 0x804c600
+ r_info: 0xb07
+
+entry: 11
+ r_offset: 0x804c604
+ r_info: 0xc07
+
+entry: 12
+ r_offset: 0x804c608
+ r_info: 0xd07
+
+entry: 13
+ r_offset: 0x804c60c
+ r_info: 0xe07
+
+entry: 14
+ r_offset: 0x804c610
+ r_info: 0xf07
+
+entry: 15
+ r_offset: 0x804c614
+ r_info: 0x1007
+
+entry: 16
+ r_offset: 0x804c618
+ r_info: 0x1107
+
+entry: 17
+ r_offset: 0x804c61c
+ r_info: 0x1207
+
+entry: 18
+ r_offset: 0x804c620
+ r_info: 0x1307
+
+entry: 19
+ r_offset: 0x804c624
+ r_info: 0x1407
+
+entry: 20
+ r_offset: 0x804c628
+ r_info: 0x1607
+
+entry: 21
+ r_offset: 0x804c62c
+ r_info: 0x1807
+
+entry: 22
+ r_offset: 0x804c630
+ r_info: 0x1907
+
+entry: 23
+ r_offset: 0x804c634
+ r_info: 0x1b07
+
+entry: 24
+ r_offset: 0x804c638
+ r_info: 0x1c07
+
+entry: 25
+ r_offset: 0x804c63c
+ r_info: 0x1d07
+
+entry: 26
+ r_offset: 0x804c640
+ r_info: 0x1e07
+
+entry: 27
+ r_offset: 0x804c644
+ r_info: 0x1f07
+
+entry: 28
+ r_offset: 0x804c648
+ r_info: 0x2007
+
+entry: 29
+ r_offset: 0x804c64c
+ r_info: 0x2107
+
+entry: 30
+ r_offset: 0x804c650
+ r_info: 0x2207
+
+entry: 31
+ r_offset: 0x804c654
+ r_info: 0x2307
+
+entry: 32
+ r_offset: 0x804c658
+ r_info: 0x2407
+
+entry: 33
+ r_offset: 0x804c65c
+ r_info: 0x2607
+
+entry: 34
+ r_offset: 0x804c660
+ r_info: 0x2707
+
+entry: 35
+ r_offset: 0x804c664
+ r_info: 0x2807
+
+entry: 36
+ r_offset: 0x804c668
+ r_info: 0x2907
+
+entry: 37
+ r_offset: 0x804c66c
+ r_info: 0x2a07
+
+entry: 38
+ r_offset: 0x804c670
+ r_info: 0x2b07
+
+entry: 39
+ r_offset: 0x804c674
+ r_info: 0x2c07
+
+entry: 40
+ r_offset: 0x804c678
+ r_info: 0x2d07
+
+entry: 41
+ r_offset: 0x804c67c
+ r_info: 0x2e07
+
+entry: 42
+ r_offset: 0x804c680
+ r_info: 0x2f07
+
+entry: 43
+ r_offset: 0x804c684
+ r_info: 0x3007
+
+entry: 44
+ r_offset: 0x804c688
+ r_info: 0x3207
+
+entry: 45
+ r_offset: 0x804c68c
+ r_info: 0x3507
+
+entry: 46
+ r_offset: 0x804c690
+ r_info: 0x3607
+
+entry: 47
+ r_offset: 0x804c694
+ r_info: 0x3707
+
+entry: 48
+ r_offset: 0x804c698
+ r_info: 0x3807
+
+entry: 49
+ r_offset: 0x804c69c
+ r_info: 0x3907
+
+entry: 50
+ r_offset: 0x804c6a0
+ r_info: 0x3a07
+
+entry: 51
+ r_offset: 0x804c6a4
+ r_info: 0x3b07
+
+entry: 52
+ r_offset: 0x804c6a8
+ r_info: 0x3d07
+
+entry: 53
+ r_offset: 0x804c6ac
+ r_info: 0x3e07
+
+entry: 54
+ r_offset: 0x804c6b0
+ r_info: 0x3f07
+
+entry: 55
+ r_offset: 0x804c6b4
+ r_info: 0x4007
+
+entry: 56
+ r_offset: 0x804c6b8
+ r_info: 0x4107
+
+entry: 57
+ r_offset: 0x804c6bc
+ r_info: 0x4207
diff --git a/test/elfdump/ts/exec2/cp b/test/elfdump/ts/exec2/cp
new file mode 100644
index 0000000000000..ad3e1d133066c
--- /dev/null
+++ b/test/elfdump/ts/exec2/cp
Binary files differ
diff --git a/test/elfdump/ts/exec2/tc b/test/elfdump/ts/exec2/tc
new file mode 100755
index 0000000000000..8bcb0575590d1
--- /dev/null
+++ b/test/elfdump/ts/exec2/tc
@@ -0,0 +1,184 @@
+#!/bin/sh
+
+tp1()
+{
+ run "@e%cp"
+}
+
+tp2()
+{
+ run "@e@p%cp"
+}
+
+tp3()
+{
+ run "@p@e%cp"
+}
+
+tp4()
+{
+ run "@G%cp"
+}
+
+tp5()
+{
+ run "@G@e%cp"
+}
+
+tp6()
+{
+ run "@n%cp"
+}
+
+tp7()
+{
+ run "@p@n%cp"
+}
+
+tp8()
+{
+ run "@p@s%cp"
+}
+
+tp9()
+{
+ run "@c%cp"
+}
+
+tp10()
+{
+ run "@c@s%cp"
+}
+
+tp11()
+{
+ run "@c@p@n%cp"
+}
+
+tp12()
+{
+ run "@e@d%cp"
+}
+
+tp13()
+{
+ run "@c@d%cp"
+}
+
+tp14()
+{
+ run "@e@i%cp"
+}
+
+tp15()
+{
+ run "@r%cp"
+}
+
+tp16()
+{
+ run "@h%cp"
+}
+
+tp17()
+{
+ run "@e@p@c@d%cp"
+}
+
+tp18()
+{
+ run "@S@e%cp"
+}
+
+tp19()
+{
+ run "@S@e@p%cp"
+}
+
+tp20()
+{
+ run "@S@G%cp"
+}
+
+tp21()
+{
+ run "@S@s@N%.dynsym%cp"
+}
+
+tp22()
+{
+ run "@S@r%cp"
+}
+
+tp23()
+{
+ run "@S@d%cp"
+}
+
+tp24()
+{
+ run "@S@n%cp"
+}
+
+tp25()
+{
+ run "@S@c@s%cp"
+}
+
+tp26()
+{
+ run "@S@k%cp"
+}
+
+tp27()
+{
+ run "@S@v%cp"
+}
+
+tp28()
+{
+ run "@S@h%cp"
+}
+
+tp29()
+{
+ run "@S@r@N%.rela.dyn%cp"
+}
+
+tet_startup=""
+tet_cleanup="cleanup"
+
+iclist="ic1 ic2 ic3 ic4 ic5 ic6 ic7 ic8 ic9 ic10 ic11 ic12 ic13 ic14 ic15 ic16 ic17 ic18 ic19 ic20 ic21 ic22 ic23 ic24 ic25 ic26 ic27 ic28 ic29"
+
+ic1="tp1"
+ic2="tp2"
+ic3="tp3"
+ic4="tp4"
+ic5="tp5"
+ic6="tp6"
+ic7="tp7"
+ic8="tp8"
+ic9="tp9"
+ic10="tp10"
+ic11="tp11"
+ic12="tp12"
+ic13="tp13"
+ic14="tp14"
+ic15="tp15"
+ic16="tp16"
+ic17="tp17"
+ic18="tp18"
+ic19="tp19"
+ic20="tp20"
+ic21="tp21"
+ic22="tp22"
+ic23="tp23"
+ic24="tp24"
+ic25="tp25"
+ic26="tp26"
+ic27="tp27"
+ic28="tp28"
+ic29="tp29"
+
+. $TET_SUITE_ROOT/ts/common/func.sh
+. $TET_ROOT/lib/xpg3sh/tcm.sh