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
..
aarch64elf.em Update copyright years 2014-03-05 22:16:15 +10:30
aix.em Add new link-map-text hook and RX auto-vector support. 2014-05-27 17:14:49 -04:00
alphaelf.em Fix alpha-elf relaxation 2014-04-21 08:14:18 -07:00
armcoff.em Add new link-map-text hook and RX auto-vector support. 2014-05-27 17:14:49 -04:00
armelf.em Update copyright years 2014-03-05 22:16:15 +10:30
astring.sed
avrelf.em Update copyright years 2014-03-05 22:16:15 +10:30
beos.em Add new link-map-text hook and RX auto-vector support. 2014-05-27 17:14:49 -04:00
bfin.em Update copyright years 2014-03-05 22:16:15 +10:30
cr16elf.em Make bfd.link_next field a union 2014-06-13 19:10:57 +09:30
crxelf.em Update copyright years 2014-03-05 22:16:15 +10:30
elf32.em Make bfd.link_next field a union 2014-06-13 19:10:57 +09:30
elf-generic.em Update copyright years 2014-03-05 22:16:15 +10:30
epiphanyelf_4x4.em Update copyright years 2014-03-05 22:16:15 +10:30
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 Add new link-map-text hook and RX auto-vector support. 2014-05-27 17:14:49 -04:00
gld960c.em Add new link-map-text hook and RX auto-vector support. 2014-05-27 17:14:49 -04:00
hppaelf.em Update copyright years 2014-03-05 22:16:15 +10:30
ia64elf.em Update copyright years 2014-03-05 22:16:15 +10:30
irix.em Update copyright years 2014-03-05 22:16:15 +10:30
linux.em Add new link-map-text hook and RX auto-vector support. 2014-05-27 17:14:49 -04:00
lnk960.em Add new link-map-text hook and RX auto-vector support. 2014-05-27 17:14:49 -04:00
m68hc1xelf.em Update copyright years 2014-03-05 22:16:15 +10:30
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 bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
mipself.em Update copyright years 2014-03-05 22:16:15 +10:30
mmix-elfnmmo.em Update copyright years 2014-03-05 22:16:15 +10:30
mmixelf.em Update copyright years 2014-03-05 22:16:15 +10:30
mmo.em Update copyright years 2014-03-05 22:16:15 +10:30
nds32elf.em Make bfd.link_next field a union 2014-06-13 19:10:57 +09:30
needrelax.em Update copyright years 2014-03-05 22:16:15 +10:30
netbsd.em Update copyright years 2014-03-05 22:16:15 +10:30
nios2elf.em bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
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 Rewrite ppc32 backend .sdata and .sdata2 handling 2014-05-20 13:13:23 +09:30
ppc64elf.em Add symbols for global entry stub, and report stats 2014-07-01 20:28:20 +09:30
README Update copyright years 2014-03-05 22:16:15 +10:30
rxelf.em Add new link-map-text hook and RX auto-vector support. 2014-05-27 17:14:49 -04:00
scoreelf.em Update copyright years 2014-03-05 22:16:15 +10:30
sh64elf.em Update copyright years 2014-03-05 22:16:15 +10:30
solaris2.em Update copyright years 2014-03-05 22:16:15 +10:30
spu_icache.o_c
spu_icache.S
spu_ovl.o_c
spu_ovl.S Update copyright years 2014-03-05 22:16:15 +10:30
spuelf.em bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
sunos.em Add new link-map-text hook and RX auto-vector support. 2014-05-27 17:14:49 -04:00
tic6xdsbt.em bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
ticoff.em Add new link-map-text hook and RX auto-vector support. 2014-05-27 17:14:49 -04:00
vanilla.em Add new link-map-text hook and RX auto-vector support. 2014-05-27 17:14:49 -04:00
vms.em Remove search path from -l:namespec DT_NEEDED 2014-03-14 12:54:24 +10:30
vxworks.em Update copyright years 2014-03-05 22:16:15 +10:30
xtensaelf.em Fix xtensa ld segfault when linking linux modules 2014-07-10 19:22:07 +04:00
z80.em Update copyright years 2014-03-05 22:16:15 +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-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.