Set PLT_CFLAGS to "-fplt" if supported
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 27 Jul 2015 10:42:39 +0000 (03:42 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 27 Jul 2015 12:12:02 +0000 (05:12 -0700)
commite10461aebd2c9165c168583e70e7901e962ed1bb
tree7c17a17e508129fef48d6d54359016dd77628ebd
parent32f573bcb3aaa1c9defcad79dbb5851fcc02ae2d
Set PLT_CFLAGS to "-fplt" if supported

GCC 6 supports -fno-plt.  But some linker tests expect PLT.  This patch
defines PLT_CFLAGS to "-fplt" if target compiler supports it.

* config/default.exp (PLT_CFLAGS): New.
ld/testsuite/ChangeLog
ld/testsuite/config/default.exp