Re: Only give FDE encoding warnings if --eh-frame-hdr was specified.
authorAlan Modra <amodra@gmail.com>
Fri, 6 Dec 2019 03:08:42 +0000 (13:38 +1030)
committerAlan Modra <amodra@gmail.com>
Fri, 6 Dec 2019 07:29:13 +0000 (17:59 +1030)
commite6b39f6f8e5418ba2a237ef16460c22b49833ca6
tree4cc9585349f64a9c6632662a176b6d3362b53f79
parentc7d12402bd6cdedc5f09c2a46285fbcb0f7f0557
Re: Only give FDE encoding warnings if --eh-frame-hdr was specified.

For mips*-linux targets, fixes the following fails.
FAIL: MIPS eh-frame 1, n32
FAIL: MIPS eh-frame 1, n64
FAIL: MIPS eh-frame 2, n32
FAIL: MIPS eh-frame 2, n64

* testsuite/ld-mips-elf/eh-frame1-n32.d: Pass --eh-frame-hdr to ld.
* testsuite/ld-mips-elf/eh-frame1-n64.d: Likewise.
* testsuite/ld-mips-elf/eh-frame2-n32.d: Likewise.
* testsuite/ld-mips-elf/eh-frame2-n64.d: Likewise.
ld/ChangeLog
ld/testsuite/ld-mips-elf/eh-frame1-n32.d
ld/testsuite/ld-mips-elf/eh-frame1-n64.d
ld/testsuite/ld-mips-elf/eh-frame2-n32.d
ld/testsuite/ld-mips-elf/eh-frame2-n64.d