binutils-gdb/ld/testsuite/ld-frv
H.J. Lu 6b3b0ab896 Make linker assigned symbol dynamic only for shared object
Linker assigned symbols should be made dynamic by default only when
creating shared object or relocatable executable.

bfd/

	* elflink.c (bfd_elf_record_link_assignment): Check for shared
	library, instead of PIC, and don't check PDE when making linker
	assigned symbol dynamic.

ld/

	* testsuite/ld-frv/fdpic-pie-6.d: Updated.
	* testsuite/ld-mips-elf/pie-n32.d: Likewise.
	* testsuite/ld-mips-elf/pie-n64.d: Likewise.
	* testsuite/ld-mips-elf/pie-o32.d: Likewise.
2016-02-23 05:19:03 -08:00
..
fdpic1.s
fdpic2.ldv
fdpic2.s
fdpic2min.ldv
fdpic3.s
fdpic4.s
fdpic5.s
fdpic6.ldv
fdpic6.s
fdpic7.s
fdpic8.ldv
fdpic8.s
fdpic8min.ldv
fdpic-pie-1.d
fdpic-pie-2.d
fdpic-pie-5.d
fdpic-pie-6-fail.d
fdpic-pie-6.d Make linker assigned symbol dynamic only for shared object 2016-02-23 05:19:03 -08:00
fdpic-pie-7.d
fdpic-pie-8.d
fdpic-shared-1.d
fdpic-shared-2-fail.d
fdpic-shared-2.d
fdpic-shared-3.d
fdpic-shared-4.d
fdpic-shared-5.d
fdpic-shared-6-fail.d
fdpic-shared-6.d
fdpic-shared-7.d
fdpic-shared-8-fail.d
fdpic-shared-8.d
fdpic-shared-local-2.d
fdpic-shared-local-8.d
fdpic-static-1.d
fdpic-static-2.d
fdpic-static-5.d
fdpic-static-6.d
fdpic-static-7.d
fdpic-static-8.d
fdpic.exp
fr450-link.d
fr450-linka.s
fr450-linkb.s
fr450-linkc.s
frv-elf.exp
tls-1-dep.s
tls-1-shared.lds
tls-1.s
tls-2.s
tls-3.s
tls-dynamic-1.d
tls-dynamic-2.d
tls-dynamic-3.d
tls-initial-shared-2.d
tls-pie-1.d
tls-pie-3.d
tls-relax-dynamic-1.d
tls-relax-dynamic-2.d
tls-relax-dynamic-3.d
tls-relax-initial-shared-2.d
tls-relax-pie-1.d
tls-relax-pie-3.d
tls-relax-shared-1.d
tls-relax-shared-2.d
tls-relax-shared-3.d
tls-relax-static-1.d
tls-relax-static-3.d
tls-shared-1-fail.d
tls-shared-1.d
tls-shared-2.d
tls-shared-3.d
tls-static-1.d
tls-static-3.d
tls.exp