* config/default.exp (get_link_files, get_target_emul): New procs;
authorKen Raeburn <raeburn@cygnus>
Sun, 3 Jan 1999 16:03:47 +0000 (16:03 +0000)
committerKen Raeburn <raeburn@cygnus>
Sun, 3 Jan 1999 16:03:47 +0000 (16:03 +0000)
commit687788cd4bf497eb1c8d8ee58e0737887e45500d
tree9c980d6b8892d91094fc714c997dfbf398a481ae
parent4c49748e82846f92ba0b54ffbf0a698dbeea0607
* config/default.exp (get_link_files, get_target_emul): New procs;
run shell commands to extract information from configure.host and
configure.tgt in the source tree.
(top level): Use them to get information needed to run tests, if
not otherwise provided.

Should allow running of at least some of the tests by releng.

* ld-shared/elf-offset.ld: New file.  Builds a shared library, but
gives non-zero addresses for memory region.
* ld-shared/shared.exp: Run the non-PIC non-AIX test again using
the new linker script.

PR ld/17962 -- not fixed, but customer has what should be an adequate
workaround.
ld/testsuite/ChangeLog
ld/testsuite/config/default.exp
ld/testsuite/ld-shared/elf-offset.ld [new file with mode: 0644]
ld/testsuite/ld-shared/shared.exp