binutils-gdb/ld/testsuite/ld-size
H.J. Lu 6f8ea6c424 Set NOPIE_CFLAGS and NOPIE_LDFLAGS
GCC 6 can be configured to generate PIE by default.  But some linker
size tests expect non-PIE.  This patch defines NOPIE_CFLAGS to
"-fno-PIE" and NOPIE_LDFLAGS to "-no-pie" if target compiler supports
them.  Add $NOPIE_CFLAGS and $NOPIE_LDFLAGS to linker size tests if
needed.

	* config/default.exp (NOPIE_CFLAGS): New.
	(NOPIE_LDFLAGS): Likewise.
	* ld-size/size.exp (run_cc_link_tests): Add $NOPIE_CFLAGS and
	$NOPIE_LDFLAGS if needed.
	(run_ld_link_exec_tests): Add $NOPIE_CFLAGS if needed.
2015-07-27 16:20:49 -07:00
..
size32-1-i386.d
size32-1-x32.d
size32-1-x86-64.d
size32-1.s
size32-2-i386.d
size32-2-x32.d
size32-2-x86-64.d
size32-2.s
size32-3-i386.d
size32-3-x32.d
size32-3-x86-64.d
size32-3a.s
size32-3b.s
size64-1-x32.d
size64-1-x86-64.d
size64-1.s
size64-2-x32.d
size64-2-x86-64.d
size64-2.s
size-1.c
size-1.out
size-1a.c
size-1b.c
size-2.c
size-2.out
size-2a.c
size-2b.c
size-3.c
size-3.out
size-3a.c
size-3b.c
size-3c.c
size-4.out
size-4a.c
size-4b.c
size-5.out
size-5a.c
size-5b.c
size-6.out
size-6a.c
size-6b.c
size-7.out
size-7.rd Add x86 size relocation support to gas 2013-01-17 04:28:48 +00:00
size-7a.c
size-7b.c
size-8.out
size-8.rd
size-8a.c
size-8b.c
size-9.out
size-9.rd
size-9a.c
size-9b.c
size-10.out
size-10.rd
size-10a.c
size-10b.c
size.exp Set NOPIE_CFLAGS and NOPIE_LDFLAGS 2015-07-27 16:20:49 -07:00