ld: fix relocatable, retain7a target pattens for HPPA
authorSam James <sam@gentoo.org>
Mon, 14 Aug 2023 03:28:35 +0000 (04:28 +0100)
committerSam James <sam@gentoo.org>
Mon, 14 Aug 2023 03:32:33 +0000 (04:32 +0100)
commit3b23a5ea693deee60648c9a9e9d666d83549298e
treef15041ee78d9e249b5b8ce57ff601816606a3dca
parentcd69e3f575fce2b78ff6ba62325e7fd8b99c1a40
ld: fix relocatable, retain7a target pattens for HPPA

Fix issue reported by Dave and Alan.

Put back the old pattern for hppa-*-linux* and add hppa[12]*-*-linux* to cover
Gentoo's hppa1.1 and hppa2.0 without including hppa64 inadvertently like I did
before.

ld/
PR 30733
PR 30734
* ld/testsuite/ld-elf/relocatable.d: Use better pattern to exclude hppa64
          but include hppa1.1, hppa2.0.
* ld/testsuite/ld-elf/retain7a.d: Ditto.

Fixes: 0e339f6b4f2df25ed351cb94dc7fe16868626f49
Fixes: e3b66187192ce6840df283c00f6395bb0ff15cf5
Signed-off-by: Sam James <sam@gentoo.org>
ld/testsuite/ld-elf/relocatable.d
ld/testsuite/ld-elf/retain7a.d