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
..
2005-08-15 15:39:48 +00:00
2005-08-15 15:39:48 +00:00
2005-02-17 17:11:01 +00:00
2005-02-17 17:11:01 +00:00
2005-08-15 15:39:48 +00:00
2005-08-15 15:39:48 +00:00
2005-02-17 17:11:01 +00:00
2005-02-17 17:11:01 +00:00
2005-02-17 17:11:01 +00:00
2005-02-17 17:11:01 +00:00
2016-01-01 23:00:01 +10:30
2004-03-01 10:11:46 +00:00
2004-03-01 10:11:46 +00:00
2004-03-01 10:11:46 +00:00
2016-01-01 23:00:01 +10:30
2005-01-25 20:22:41 +00:00
2005-01-25 20:22:41 +00:00
2005-01-25 20:22:41 +00:00
2005-01-25 20:22:41 +00:00
2005-01-25 20:22:41 +00:00
2005-02-17 17:11:01 +00:00
2016-01-01 23:00:01 +10:30