binutils-gdb/ld/emultempl
Alan Modra 31b4d3a16f PR28824, relro security issues, x86 keep COMMONPAGESIZE relro
x86 treats MAXPAGESIZE as a memory optimisation parameter, actual
hardware paging is always COMMPAGESIZE of 4k.  Use COMMONPAGESIZE for
the end of the relro segment alignment.

The previous patch regresses pr18176, increasing the testcase file
size from 322208 to 2099872 bytes.  Fixing this on x86 will require
introducing a gap after the end of the relro segment (of up to
relropagesize-1 bytes).

	PR 28824
	PR 18176
	* ld.h (ld_config_type): Add relro_use_commonpagesize field.
	* ldexp.c (fold_segment_align): Set relropagesize depending on
	relro_use_commonpagesize.
	* emultempl/elf-x86.em (elf_x86_create_output_section_statements):
	Set relro_use_commonpagesize.
	* testsuite/ld-x86-64/pr18176.d: xfail.
2022-02-13 14:00:56 +10:30
..
aarch64elf.em Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
aix.em ld: Add emultempl/emulation.em 2022-02-06 06:25:41 -08:00
alphaelf.em Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
arclinux.em Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
armelf.em Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
astring.sed
avrelf.em Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
beos.em ld: Add emultempl/emulation.em 2022-02-06 06:25:41 -08:00
bfin.em Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cr16elf.em Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
crxelf.em Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cskyelf.em Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elf-generic.em Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elf-x86.em PR28824, relro security issues, x86 keep COMMONPAGESIZE relro 2022-02-13 14:00:56 +10:30
elf.em ld: Add emultempl/emulation.em 2022-02-06 06:25:41 -08:00
emulation.em ld: Add emultempl/emulation.em 2022-02-06 06:25:41 -08:00
epiphanyelf_4x4.em Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
genelf.em Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
generic.em ld: Add emultempl/emulation.em 2022-02-06 06:25:41 -08:00
hppaelf.em Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
ia64elf.em Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
irix.em Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
loongarchelf.em Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
m68hc1xelf.em Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
m68kelf.em Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
metagelf.em Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
mipself.em Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
mmix-elfnmmo.em Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
mmixelf.em Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
mmo.em Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
msp430.em ld: Add emultempl/emulation.em 2022-02-06 06:25:41 -08:00
nds32elf.em Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
needrelax.em Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
netbsd.em Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
nios2elf.em Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
ostring.sed
pdp11.em Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
pe.em ld: Add emultempl/emulation.em 2022-02-06 06:25:41 -08:00
pep.em ld: Add emultempl/emulation.em 2022-02-06 06:25:41 -08:00
ppc32elf.em Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
ppc64elf.em Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
pruelf.em Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
README Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
riscvelf.em Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
rxelf.em Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
rxlinux.em Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
s390.em Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
scoreelf.em Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
solaris2-x86.em Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
solaris2.em Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
spu_icache.o_c
spu_icache.S
spu_ovl.o_c
spu_ovl.S Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
spuelf.em Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
tic6xdsbt.em Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
ticoff.em ld: Add emultempl/emulation.em 2022-02-06 06:25:41 -08:00
v850elf.em Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
vanilla.em ld: Add emultempl/emulation.em 2022-02-06 06:25:41 -08:00
vms.em Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
vxworks.em Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
xtensaelf.em Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
z80.em Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +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-2022 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.