Re: ld/x86: skip p_align-1 tests with unsuitable compiler
authorAlan Modra <amodra@gmail.com>
Wed, 29 Jun 2022 00:40:15 +0000 (10:10 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 29 Jun 2022 00:45:55 +0000 (10:15 +0930)
commit22a8ddfe934283113c8e88de3b49caee40343e14
tree80ea048d66c8ceb15266382b2a059c7c78ef810e
parentb55819a7206c2d51ec72f42c4d77ef0e2e0f1ac6
Re: ld/x86: skip p_align-1 tests with unsuitable compiler

commit d0e0f9c87a3e results "ERROR: i586-linux-cc does not exist" if
cross-building an i586-linux target without a target compiler
installed.

* testsuite/ld-elf/linux-x86.exp (compiler_honours_aligned): New.
Use it after first testing check_compiler_available.
ld/testsuite/ld-elf/linux-x86.exp