ld: Fix the tls_ie-01 test for arc
authorShahab Vahedi <shahab@synopsys.com>
Mon, 16 Nov 2020 11:48:49 +0000 (13:48 +0200)
committerClaudiu Zissulescu <claziss@synopsys.com>
Mon, 16 Nov 2020 11:48:49 +0000 (13:48 +0200)
commit315d05eb3f44a162711e2edc3369bf7750b1b9a9
treea16d312ce85048e5a35c15f3c2ccfa6635430b4c
parent5778e0dd5d7bb872398a136b6504b9b99d5ce434
ld: Fix the tls_ie-01 test for arc

The purpose of the test is to look for entries of "foo" and
"bar" in the ".got".  The old "objdump -s ..." has been replaced
with "objdump -D ..." to inspect the final executable.  A sample
output looks like:

------------------------8<------------------------

$ arc-elf32-objdump -D -j .got tls_ie-01

tls_ie-01:     file format elf32-littlearc

Disassembly of section .got:

00002110 <_GLOBAL_OFFSET_TABLE_>:
        ...
    211c:       08 00 00 00        .word   0x00000008
    2120:       0c 00 00 00        .word   0x0000000c

------------------------>8------------------------

ld/
* testsuite/ld-arc/tls_ie-01.d: Update the dump command.
ld/ChangeLog
ld/testsuite/ld-arc/tls_ie-01.d