binutils-gdb/ld/scripttempl
H.J. Lu 023e60ced0 ld: Move note sections after .rodata section
Move note sections after .rodata section so that note sections are
placed in the same PT_LOAD segment together with .rodata section,
instead of a separate PT_LOAD segment.

	PR ld/32341
	* scripttempl/misc-sections.sc: Move note sections to ...
	* scripttempl/elf.sc: Here, after .rodata section.
	* testsuite/ld-elf/pr32341.d: New file.
	* testsuite/ld-elf/pr32341.s: Likewise.

Co-Authored-By: Nick Clifton <nickc@redhat.com>
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
2024-11-11 19:47:44 +08:00
..
aix.sc
alpha.sc
alphavms.sc
aout.sc
arclinux.sc Improve the placement of orphan note sections. 2024-09-30 14:41:11 +01:00
avr.sc
crisaout.sc
dlx.sc
DWARF.sc
elf32cr16.sc Improve the placement of orphan note sections. 2024-09-30 14:41:11 +01:00
elf32crx.sc Improve the placement of orphan note sections. 2024-09-30 14:41:11 +01:00
elf32msp430.sc
elf64bpf.sc
elf64hppa.sc
elf.sc ld: Move note sections after .rodata section 2024-11-11 19:47:44 +08:00
elfarc.sc
elfarcv2.sc
elfd10v.sc Improve the placement of orphan note sections. 2024-09-30 14:41:11 +01:00
elfd30v.sc
elfm9s12z.sc
elfm68hc11.sc
elfm68hc12.sc
elfmicroblaze.sc
elfxgate.sc
elfxtensa.sc Improve the placement of orphan note sections. 2024-09-30 14:41:11 +01:00
epiphany_4x4.sc
ft32.sc
hppaelf.sc
i386beos.sc
i386go32.sc
i386msdos.sc
ia64vms.sc
ip2k.sc
iq2000.sc
mcorepe.sc
mep.sc Improve the placement of orphan note sections. 2024-09-30 14:41:11 +01:00
mips.sc
misc-sections.sc ld: Move note sections after .rodata section 2024-11-11 19:47:44 +08:00
mmo.sc
moxie.sc
nds32elf.sc Improve the placement of orphan note sections. 2024-09-30 14:41:11 +01:00
pdp11.sc
pe.sc
pep.sc
pj.sc
pru.sc
README
sh.sc
tic4xcoff.sc
tic30coff.sc
tic54xcoff.sc
v850_rh850.sc Improve the placement of orphan note sections. 2024-09-30 14:41:11 +01:00
v850.sc Improve the placement of orphan note sections. 2024-09-30 14:41:11 +01:00
vanilla.sc
visium.sc
xstormy16.sc
z80.sc
z8000.sc

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 linker script templates.
genscripts.sh sets some shell variables, then sources
EMULATION.sc, to generate EMULATION.{x,xr,xu,xn,xbn} -- the script
files for default, -r, -Ur, -n, -N.

Copyright (C) 2012-2024 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.