binutils-gdb/ld/emultempl
Alan Modra 936384714f Re: Orphan output section with multiple input sections
The last patch missed handling the case where the ideal place to put
an orphan was after a non-existent output section statement, as can
happen when not using the builtin linker scripts.  This patch uses the
updated flags for that case too, and extends the support to mmo and pe.

	PR ld/19162
	* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Pass
	updated flags to lang_output_section_find_by_flags.
	* emultempl/mmo.em (mmo_place_orphan): Merge flags for any
	other input sections that might match a new output section to
	decide placement.
	* emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
	* emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
	* ldlang.c (lang_output_section_find_by_flags): Add sec_flags param.
	* ldlang.h (lang_output_section_find_by_flags): Update prototype.
2015-10-29 19:42:50 +10:30
..
aarch64elf.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
aix.em Remove link_info.pic 2015-08-19 12:53:54 +09:30
alphaelf.em Set DF_1_PIE in gld${EMULATION_NAME}_after_parse 2015-09-22 06:08:55 -07:00
arclinux.em New ARC implementation. 2015-10-07 14:20:19 +01:00
armcoff.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
armelf.em Add --fix-stm32l4xx-629360 to the ARM linker to enable a link-time workaround for a bug in the bus matrix / memory controller for some of the STM32 Cortex-M4 based products (STM32L4xx). 2015-10-27 13:20:33 +00:00
astring.sed
avrelf.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
beos.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
bfin.em ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
cr16elf.em Set DF_1_PIE in gld${EMULATION_NAME}_after_parse 2015-09-22 06:08:55 -07:00
crxelf.em Set DF_1_PIE in gld${EMULATION_NAME}_after_parse 2015-09-22 06:08:55 -07:00
elf32.em Re: Orphan output section with multiple input sections 2015-10-29 19:42:50 +10:30
elf-generic.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
epiphanyelf_4x4.em ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
genelf.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
generic.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
gld960.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
gld960c.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
hppaelf.em Set DF_1_PIE in gld${EMULATION_NAME}_after_parse 2015-09-22 06:08:55 -07:00
ia64elf.em Set DF_1_PIE in gld${EMULATION_NAME}_after_parse 2015-09-22 06:08:55 -07:00
irix.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
linux.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
lnk960.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
m68hc1xelf.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
m68kcoff.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
m68kelf.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
metagelf.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
mipself.em Set DF_1_PIE in gld${EMULATION_NAME}_after_parse 2015-09-22 06:08:55 -07:00
mmix-elfnmmo.em ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
mmixelf.em ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
mmo.em Re: Orphan output section with multiple input sections 2015-10-29 19:42:50 +10:30
msp430.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
nds32elf.em Set DF_1_PIE in gld${EMULATION_NAME}_after_parse 2015-09-22 06:08:55 -07:00
needrelax.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
netbsd.em ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
nios2elf.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
ostring.sed
pe.em Re: Orphan output section with multiple input sections 2015-10-29 19:42:50 +10:30
pep.em Re: Orphan output section with multiple input sections 2015-10-29 19:42:50 +10:30
ppc32elf.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
ppc64elf.em Add PowerPC64 ld --tls-get-addr-optimize. 2015-09-18 16:38:03 +09:30
README ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
rxelf.em ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
scoreelf.em ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
sh64elf.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
solaris2.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
spu_icache.o_c Regenerate spu overlay and icache manager files 2014-11-04 22:36:13 +10:30
spu_icache.S bfd/ 2009-03-17 12:46:19 +00:00
spu_ovl.o_c Regenerate spu overlay and icache manager files 2014-11-04 22:36:13 +10:30
spu_ovl.S ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
spuelf.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
sunos.em Remove link_info.pic 2015-08-19 12:53:54 +09:30
tic6xdsbt.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
ticoff.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
v850elf.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
vanilla.em ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
vms.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
vxworks.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
xtensaelf.em ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
z80.em ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

The files in this directory are sourced by genscripts.sh, after
setting some variables to substitute in, to produce
C source files that contain jump tables for each emulation.

Copyright (C) 2012-2015 Free Software Foundation, Inc.

Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.