2003-05-15 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 16 May 2003 05:04:34 +0000 (05:04 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 16 May 2003 05:04:34 +0000 (05:04 +0000)
commitb765d4e375fe9067743c493c97f22879597e901c
tree998d522b4db166ed45468d96d4ee99b45524b56a
parentccd066678e93f9800d7442aaaedec4b657f89231
2003-05-15  H.J. Lu <hongjiu.lu@intel.com>

* config/default.exp (gcc_ld_flag): New. Make the newly built
linker available to gcc.
* lib/ld-lib.exp (default_ld_simple_link): Pass $gcc_ld_flag
to gcc.

* ld-elfvers/vers.exp: Use "ld_simple_link $CC" to build shared
libraries.
* ld-elfvsb/elfvsb.exp: Likewise.
* ld-elfweak/elfweak.exp: Likewise.
* ld-shared/shared.exp: Likewise.

* ld-elfvers/vers.exp: Use "-Wl,-rpath,." to build shared
libraries.
* ld-elfvsb/elfvsb.exp: Likewise.

* ld-elfvsb/elfvsb.exp: Remove xfail for powerpc-*-linux*.

* ld-elfweak/elfweak.exp: Use PIC for shared libraries.
ld/testsuite/ChangeLog
ld/testsuite/config/default.exp
ld/testsuite/ld-elfvers/vers.exp
ld/testsuite/ld-elfvsb/elfvsb.exp
ld/testsuite/ld-elfweak/elfweak.exp
ld/testsuite/ld-shared/shared.exp
ld/testsuite/lib/ld-lib.exp