binutils-gdb/ld/emultempl
Alan Modra af969b14ae PR 30569, always call elf_backend_size_dynamic_sections
This largely mechanical patch is preparation for a followup patch.

For quite some time I've thought that it would be useful to call
elf_backend_size_dynamic_sections even when no dynamic objects are
seen by the linker.  That's what this patch does, with some renaming.
There are no functional changes to the linker, just a move of the
dynobj test in bfd_elf_size_dynamic_sections to target backend
functions, replacing the asserts/aborts already there.  No doubt some
of the current always_size_sections functions could be moved to
size_dynamic_sections but I haven't made that change.

Because both hooks are now always called, I have renamed
always_size_sections to early_size_sections and size_dynamic_sections
to late_size_sections.  I condisdered calling late_size_sections plain
size_sections, since this is the usual target dynamic section sizing
hook, but decided that searching the sources for "size_sections" would
then hit early_size_sections and other functions.
2024-04-02 10:32:04 +10:30
..
aarch64elf.em ld: Put all emulation options in ldlex.h 2024-01-19 05:35:16 -08:00
aix.em ld: Put all emulation options in ldlex.h 2024-01-19 05:35:16 -08:00
alphaelf.em ld: Put all emulation options in ldlex.h 2024-01-19 05:35:16 -08:00
arclinux.em Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
armelf.em ld: Put all emulation options in ldlex.h 2024-01-19 05:35:16 -08:00
avrelf.em ld: Put all emulation options in ldlex.h 2024-01-19 05:35:16 -08:00
beos.em ld: Put all emulation options in ldlex.h 2024-01-19 05:35:16 -08:00
bfin.em ld: Put all emulation options in ldlex.h 2024-01-19 05:35:16 -08:00
cr16elf.em Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
crxelf.em Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
cskyelf.em ld: Put all emulation options in ldlex.h 2024-01-19 05:35:16 -08:00
elf-generic.em Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
elf-x86.em ld: Add --enable-mark-plt configure option 2024-01-09 06:45:38 -08:00
elf.em ld: Improve --fatal-warnings for unknown command-line options 2024-01-25 05:42:04 -08:00
emulation.em
epiphanyelf_4x4.em Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
genelf.em Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
generic.em Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
hppaelf.em ld: Put all emulation options in ldlex.h 2024-01-19 05:35:16 -08:00
ia64elf.em ld: Put all emulation options in ldlex.h 2024-01-19 05:35:16 -08:00
irix.em Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
kvxelf.em Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
loongarchelf.em Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
m68hc1xelf.em ld: Put all emulation options in ldlex.h 2024-01-19 05:35:16 -08:00
m68kelf.em ld: Put all emulation options in ldlex.h 2024-01-19 05:35:16 -08:00
metagelf.em ld: Put all emulation options in ldlex.h 2024-01-19 05:35:16 -08:00
mipself.em ld: Put all emulation options in ldlex.h 2024-01-19 05:35:16 -08:00
mmix-elfnmmo.em Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
mmixelf.em Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
mmo.em Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
msp430.em ld: Put all emulation options in ldlex.h 2024-01-19 05:35:16 -08:00
nds32elf.em ld: Put all emulation options in ldlex.h 2024-01-19 05:35:16 -08:00
needrelax.em Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
netbsd.em Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
nios2elf.em Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
nto.em ld: Put all emulation options in ldlex.h 2024-01-19 05:35:16 -08:00
pdp11.em Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
pe.em ld: Put all emulation options in ldlex.h 2024-01-19 05:35:16 -08:00
pep.em ld: Put all emulation options in ldlex.h 2024-01-19 05:35:16 -08:00
ppc32elf.em ld: Put all emulation options in ldlex.h 2024-01-19 05:35:16 -08:00
ppc64elf.em ld: Put all emulation options in ldlex.h 2024-01-19 05:35:16 -08:00
pruelf.em Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
README Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
riscvelf.em ld: Put all emulation options in ldlex.h 2024-01-19 05:35:16 -08:00
rxelf.em ld: Put all emulation options in ldlex.h 2024-01-19 05:35:16 -08:00
rxlinux.em Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
s390.em ld: Put all emulation options in ldlex.h 2024-01-19 05:35:16 -08:00
scoreelf.em ld: Put all emulation options in ldlex.h 2024-01-19 05:35:16 -08:00
solaris2-x86.em Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
solaris2.em Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +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 2024-01-04 22:58:12 +10:30
spuelf.em ld: Put all emulation options in ldlex.h 2024-01-19 05:35:16 -08:00
stringify.sed
tic6xdsbt.em ld: Put all emulation options in ldlex.h 2024-01-19 05:35:16 -08:00
ticoff.em ld: Put all emulation options in ldlex.h 2024-01-19 05:35:16 -08:00
v850elf.em Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
vanilla.em Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
vms.em PR 30569, always call elf_backend_size_dynamic_sections 2024-04-02 10:32:04 +10:30
vxworks.em ld: Put all emulation options in ldlex.h 2024-01-19 05:35:16 -08:00
xtensaelf.em ld: Put all emulation options in ldlex.h 2024-01-19 05:35:16 -08:00
z80.em Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +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-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.