binutils-gdb/ld/testsuite
Alan Modra d215621ebe Reload --as-needed libraries inside groups
When a shared library appears within --start-group/--end-group ld may
only discover a need for loading the library on the second or
subsequent pass over archive libraries, as more objects are extracted.

ld/
	PR 17068
	* ldlang.c (load_symbols): Always check flags.reload.
	(open_input_bfds): Always reload --as-needed shared libraries,
	not just when rescanning.
	* ldlang.h (struct lang_input_statement_flags): Update reload comment.
	* plugin.c (plugin_should_reload): Assume shared library arg.
	* plugin.h (plugin_should_reload): Update comment.
ld/testsuite
	* ld-elf/pr17068.s: New.
	* ld-elf/pr17068a.s: New.
	* ld-elf/pr17068b.s: New.
	* ld-elf/pr17068c.s: New.
	* ld-elf/pr17068d.s: New.
	* ld-elf/pr17068e.s: New.
	* ld-elf/pr17068ez.s: New.
	* ld-elf/elf.exp: Run new test.
2014-07-03 17:05:42 +09:30
..
config Remove reference to GASp from linker testsuite configuration. 2014-06-09 15:09:02 +01:00
ld-aarch64 [AArch64] Fix off by one error in instruction relaxation mask. 2014-04-15 17:46:07 +01:00
ld-alpha Update copyright years 2014-03-05 22:16:15 +10:30
ld-arm ld/arm: adjust offsets in tls-gdierelax2.d 2014-06-25 10:57:45 -04:00
ld-auto-import Update copyright years 2014-03-05 22:16:15 +10:30
ld-avr bfd/ChangeLog 2014-04-10 19:50:33 +04:00
ld-bootstrap Don't link FreeBSD tests with -ldl. 2014-05-19 08:49:55 +02:00
ld-cdtest Update copyright years 2014-03-05 22:16:15 +10:30
ld-checks Update copyright years 2014-03-05 22:16:15 +10:30
ld-cris Update copyright years 2014-03-05 22:16:15 +10:30
ld-crx Update copyright years 2014-03-05 22:16:15 +10:30
ld-cygwin Update copyright years 2014-03-05 22:16:15 +10:30
ld-d10v Update copyright years 2014-03-05 22:16:15 +10:30
ld-discard Remove support for the (deprecated) openrisc and or32 configurations and replace 2014-04-22 15:57:47 +01:00
ld-elf Reload --as-needed libraries inside groups 2014-07-03 17:05:42 +09:30
ld-elfcomm Update copyright years 2014-03-05 22:16:15 +10:30
ld-elfvers Update copyright years 2014-03-05 22:16:15 +10:30
ld-elfvsb Update copyright years 2014-03-05 22:16:15 +10:30
ld-elfweak Update copyright years 2014-03-05 22:16:15 +10:30
ld-fastcall Update copyright years 2014-03-05 22:16:15 +10:30
ld-frv Update copyright years 2014-03-05 22:16:15 +10:30
ld-gc Update copyright years 2014-03-05 22:16:15 +10:30
ld-h8300 Update copyright years 2014-03-05 22:16:15 +10:30
ld-i386 Update copyright years 2014-03-05 22:16:15 +10:30
ld-ia64 Update copyright years 2014-03-05 22:16:15 +10:30
ld-ifunc Update copyright years 2014-03-05 22:16:15 +10:30
ld-libs Update copyright years 2014-03-05 22:16:15 +10:30
ld-linkonce Update copyright years 2014-03-05 22:16:15 +10:30
ld-m68hc11 Update copyright years 2014-03-05 22:16:15 +10:30
ld-m68k Update copyright years 2014-03-05 22:16:15 +10:30
ld-mep Update copyright years 2014-03-05 22:16:15 +10:30
ld-metag Update copyright years 2014-03-05 22:16:15 +10:30
ld-mips-elf This patch causes local GOT entries addressed via a 16-bit index to 2014-04-17 14:40:08 +01:00
ld-misc Update copyright years 2014-03-05 22:16:15 +10:30
ld-mmix Fix freeing of link_info.hash 2014-05-10 02:52:14 +02:00
ld-mn10300 Update copyright years 2014-03-05 22:16:15 +10:30
ld-nds32 Update copyright years 2014-03-05 22:16:15 +10:30
ld-nios2 Nios II CALL26 linker relaxation 2014-01-30 17:47:07 -08:00
ld-pe Add support for generating and inserting build IDs into COFF binaries. 2014-04-08 10:59:43 +01:00
ld-pie Update copyright years 2014-03-05 22:16:15 +10:30
ld-plugin Add tests for PR ld/16846 2014-04-22 10:22:39 -07:00
ld-powerpc Taking an undefined function's address in an executable 2014-07-02 18:16:14 +09:30
ld-s390 Update copyright years 2014-03-05 22:16:15 +10:30
ld-scripts Remove support for the (deprecated) openrisc and or32 configurations and replace 2014-04-22 15:57:47 +01:00
ld-selective Update copyright years 2014-03-05 22:16:15 +10:30
ld-sh Update copyright years 2014-03-05 22:16:15 +10:30
ld-shared ld/aarch64: xfail non-PIC shared object tests on aarch64 2014-05-20 09:47:29 +01:00
ld-size Update copyright years 2014-03-05 22:16:15 +10:30
ld-sparc Update copyright years 2014-03-05 22:16:15 +10:30
ld-spu Update copyright years 2014-03-05 22:16:15 +10:30
ld-srec Update copyright years 2014-03-05 22:16:15 +10:30
ld-tic6x Update copyright years 2014-03-05 22:16:15 +10:30
ld-tilegx Update copyright years 2014-03-05 22:16:15 +10:30
ld-tilepro Update copyright years 2014-03-05 22:16:15 +10:30
ld-undefined Update copyright years 2014-03-05 22:16:15 +10:30
ld-unique Update copyright years 2014-03-05 22:16:15 +10:30
ld-v850 Update copyright years 2014-03-05 22:16:15 +10:30
ld-vax-elf Update copyright years 2014-03-05 22:16:15 +10:30
ld-versados Update copyright years 2014-03-05 22:16:15 +10:30
ld-vxworks Update copyright years 2014-03-05 22:16:15 +10:30
ld-x86-64 Properly display extra data/address size prefixes 2014-05-09 10:58:00 -07:00
ld-xc16x Update copyright years 2014-03-05 22:16:15 +10:30
ld-xstormy16 Update copyright years 2014-03-05 22:16:15 +10:30
ld-xtensa Use signed data type for R_XTENSA_DIFF* relocation offsets. 2014-05-08 01:55:41 +04:00
lib Add objcopy stage between assembly and linking for run_dump_test 2014-05-28 16:21:19 +01:00
ChangeLog Reload --as-needed libraries inside groups 2014-07-03 17:05:42 +09:30
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-9303