binutils-gdb/ld/emultempl
Alan Modra 8fd04a4255 PR24042, Global-buffer-overflow problem in output_rel_find
place_orphan handled ELF SHT_REL/SHT_RELA specially, output_rel_find
didn't.  This mismatch was a bug and also meant it was possible to
craft an object where ld accessed section->name out of bounds.

	PR 24042
	* emultempl/elf32.em (output_rel_find): Drop "sec" param.  Add
	"rela".
	(gld${EMULATION_NAME}_place_orphan): Use sh_type to calculate
	"rela" param of output_rel_find when ELF.  Tidy uses of elfinput.
2018-12-31 17:56:32 +10:30
..
aarch64elf.em
aix.em
alphaelf.em
arclinux.em
armcoff.em
armelf.em
astring.sed
avrelf.em
beos.em
bfin.em
cr16elf.em
crxelf.em
cskyelf.em
elf32.em PR24042, Global-buffer-overflow problem in output_rel_find 2018-12-31 17:56:32 +10:30
elf-generic.em
epiphanyelf_4x4.em
genelf.em
generic.em
hppaelf.em
ia64elf.em
irix.em
linux.em
m68hc1xelf.em
m68kelf.em
metagelf.em
mipself.em PR ld/21375: MIPS: Fix non-zero run-time value for undefined weaks 2018-09-14 20:22:56 +01:00
mmix-elfnmmo.em
mmixelf.em
mmo.em
msp430.em
nds32elf.em Andes Technology has good news for you, we plan to update the nds32 port of binutils on upstream! 2018-09-20 13:32:58 +01:00
needrelax.em
netbsd.em
nios2elf.em
ostring.sed
pe.em Delay evaluation of alignment expressions in output sections 2018-08-26 22:45:59 +09:30
pep.em Delay evaluation of alignment expressions in output sections 2018-08-26 22:45:59 +09:30
ppc32elf.em
ppc64elf.em
pruelf.em
README
riscvelf.em
rxelf.em
s390.em
scoreelf.em
solaris2.em
spu_icache.o_c
spu_icache.S
spu_ovl.o_c
spu_ovl.S
spuelf.em
tic6xdsbt.em
ticoff.em
v850elf.em
vanilla.em
vms.em
vxworks.em
xtensaelf.em
z80.em

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