ld: improve shared tests for AIX
authorClément Chigot <clement.chigot@atos.net>
Thu, 18 Nov 2021 15:12:14 +0000 (16:12 +0100)
committerClément Chigot <clement.chigot@atos.net>
Mon, 6 Dec 2021 11:45:12 +0000 (12:45 +0100)
commit74044dc84074abca775c63462ecccc10a7900987
tree4186489405f647bba6d48a56ce85d74faf89b4ba
parent2427f3b09eb23e7949878cdc0b366fb605df568f
ld: improve shared tests for AIX

It's now possible to refer symbols in the main program from the
shared library. However, it still impossible to have the same
overriden features between shared objects and mains than ELF,
without using the runtime linking feature which isn't yet fully
available.

ld/ChangeLog:

* testsuite/ld-shared/shared.exp: Improve XCOFF support
* testsuite/ld-shared/main.c: Likewise.
* testsuite/ld-shared/sh1.c: Likewise.
* testsuite/ld-shared/xcoff.dat: Likewise.
ld/testsuite/ld-shared/main.c
ld/testsuite/ld-shared/sh1.c
ld/testsuite/ld-shared/shared.exp
ld/testsuite/ld-shared/xcoff.dat