binutils-gdb/ld/emultempl
Tsukasa OI 779b250278 RISC-V: Reduce effective linker relaxation passses
Commit 43025f01a0 ("RISC-V: Improve link time complexity.") reduced the
time complexity of the linker relaxation but some code portions did not
reflect this change.

This commit fixes a comment describing each relaxation pass and reduces
actual number of passes for the RISC-V linker relaxation from 3 to 2.
Though it does not change the functionality, it marginally improves the
performance while linking large programs (with many relocations).

bfd/ChangeLog:

	* elfnn-riscv.c (_bfd_riscv_relax_section): Fix a comment to
	reflect current roles of each relaxation pass.

ld/ChangeLog:

	* emultempl/riscvelf.em: Reduce the number of linker relaxation
	passes from 3 to 2.
2023-02-10 11:01:51 +00:00
..
aarch64elf.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
aix.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
alphaelf.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
arclinux.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
armelf.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
astring.sed
avrelf.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
beos.em Tidy pe flag in coff_data 2023-01-06 21:06:15 +10:30
bfin.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
cr16elf.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
crxelf.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
cskyelf.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
elf-generic.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
elf-x86.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
elf.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
emulation.em ld: Add a before_plugin_all_symbols_read hook 2022-03-09 18:23:43 -08:00
epiphanyelf_4x4.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
genelf.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
generic.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
hppaelf.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
ia64elf.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
irix.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
loongarchelf.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
m68hc1xelf.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
m68kelf.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
metagelf.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
mipself.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
mmix-elfnmmo.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
mmixelf.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
mmo.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
msp430.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
nds32elf.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
needrelax.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
netbsd.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
nios2elf.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
ostring.sed
pdp11.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
pe.em Call bfd_close_all_done in ld_cleanup 2023-01-27 15:47:09 +10:30
pep.em Call bfd_close_all_done in ld_cleanup 2023-01-27 15:47:09 +10:30
ppc32elf.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
ppc64elf.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
pruelf.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
README Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
riscvelf.em RISC-V: Reduce effective linker relaxation passses 2023-02-10 11:01:51 +00:00
rxelf.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
rxlinux.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
s390.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
scoreelf.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
solaris2-x86.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
solaris2.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
spu_icache.o_c
spu_icache.S
spu_ovl.o_c Regenerate spu_ovl.o_c 2016-10-15 12:53:57 +10:30
spu_ovl.S Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
spuelf.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
tic6xdsbt.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
ticoff.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
v850elf.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
vanilla.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
vms.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
vxworks.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
xtensaelf.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
z80.em Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +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-2023 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.