binutils-gdb/ld/emultempl
Max Filippov e7d17e71cd Fix xtensa ld segfault when linking linux modules
is_inconsistent_linkonce_section makes an assumption that section name
that starts with ".gnu.linkonce.prop." has one more dot in its suffix.
However gas generates such section name by insertion of "prop." right
after ".gnu.linkonce." part of the name of the original section. So, for
section named ".gnu.linkonce.this_module" corresponding property section
name does not satisfy the assumption. Such section names are common in
linux modules. This bug was exposed by the patch "a35d5e8 Fix alignment
for the first section frag on xtensa", that makes gas produce property
section for each section that has ".align" directive in it.

Use suffix that immediately follows ".gnu.linkonce.prop." when there are
no more dots following it.

2014-07-10  Max Filippov  <jcmvbkbc@gmail.com>

ld/
    * emultempl/xtensaelf.em (is_inconsistent_linkonce_section):
    correctly handle missing dot in section name after
    ".gnu.linkonce.prop.".
2014-07-10 19:22:07 +04:00
..
README
aarch64elf.em
aix.em
alphaelf.em
armcoff.em
armelf.em
astring.sed
avrelf.em
beos.em
bfin.em
cr16elf.em Make bfd.link_next field a union 2014-06-13 19:10:57 +09:30
crxelf.em
elf-generic.em
elf32.em Make bfd.link_next field a union 2014-06-13 19:10:57 +09:30
epiphanyelf_4x4.em
genelf.em Make bfd.link_next field a union 2014-06-13 19:10:57 +09:30
generic.em Fix typo. 2014-05-27 19:05:18 -04:00
gld960.em
gld960c.em
hppaelf.em
ia64elf.em
irix.em
linux.em
lnk960.em
m68hc1xelf.em
m68kcoff.em Make bfd.link_next field a union 2014-06-13 19:10:57 +09:30
m68kelf.em Make bfd.link_next field a union 2014-06-13 19:10:57 +09:30
metagelf.em
mipself.em
mmix-elfnmmo.em
mmixelf.em
mmo.em
nds32elf.em Make bfd.link_next field a union 2014-06-13 19:10:57 +09:30
needrelax.em
netbsd.em
nios2elf.em
ostring.sed
pe.em Change the default behaviour of the PE targeted linker so that timestamps are 2014-06-26 12:18:39 +01:00
pep.em Change the default behaviour of the PE targeted linker so that timestamps are 2014-06-26 12:18:39 +01:00
ppc32elf.em
ppc64elf.em Add symbols for global entry stub, and report stats 2014-07-01 20:28:20 +09:30
rxelf.em
scoreelf.em
sh64elf.em
solaris2.em
spu_icache.S
spu_icache.o_c
spu_ovl.S
spu_ovl.o_c
spuelf.em
sunos.em
tic6xdsbt.em
ticoff.em
vanilla.em
vms.em
vxworks.em
xtensaelf.em Fix xtensa ld segfault when linking linux modules 2014-07-10 19:22:07 +04:00
z80.em

README

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-2014 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.