binutils-gdb/include
Indu Bhagat b6250e0b72 sframe: fix the defined SFRAME_FRE_TYPE_*_LIMIT constants
An earlier commit 3f107464 defined the SFRAME_FRE_TYPE_*_LIMIT
constants.  These constants are used (by gas and libsframe) to pick an
SFrame FRE type based on the function size.  Those constants, however,
were buggy, causing the generated SFrame sections to be bloated as
SFRAME_FRE_TYPE_ADDR2/SFRAME_FRE_TYPE_ADDR4 got chosen more often than
necessary.

gas/
	* sframe-opt.c (sframe_estimate_size_before_relax): Use
	typecast.
	(sframe_convert_frag): Likewise.

libsframe/
	* sframe.c (sframe_calc_fre_type): Use a more appropriate type
	for argument.  Adjust the check for SFRAME_FRE_TYPE_ADDR4_LIMIT
	to keep it warning-free but meaningful.

include/
	* sframe-api.h (sframe_calc_fre_type): Use a more appropriate
	type for the argument.
	* sframe.h (SFRAME_FRE_TYPE_ADDR1_LIMIT): Correct the constant.
	(SFRAME_FRE_TYPE_ADDR2_LIMIT): Likewise.
	(SFRAME_FRE_TYPE_ADDR4_LIMIT): Likewise.

(cherry picked from commit 725a19bfd1)
2023-01-09 09:47:42 -08:00
..
aout Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
cgen Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
coff Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
elf Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
gdb Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
mach-o Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
opcode Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
sim Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
som Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
vms Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
alloca-conf.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
ansidecl.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
bfdlink.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
binary-io.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
bout.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
ChangeLog Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
ChangeLog-0415
ChangeLog-2016
ChangeLog-2017 ChangeLog rotation 2018-01-03 17:49:42 +10:30
ChangeLog-2018 ChangeLog rotation 2019-01-01 21:25:40 +10:30
ChangeLog-2019 ChangeLog rotation 2020-01-01 18:12:08 +10:30
ChangeLog-2020 ChangeLog rotation 2021-01-01 10:31:02 +10:30
ChangeLog-9103
collectorAPI.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
COPYING
COPYING3
ctf-api.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
ctf.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
demangle.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
diagnostics.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
dis-asm.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
dwarf2.def Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
dwarf2.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
dyn-string.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
environ.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
fibheap.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
filenames.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
floatformat.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
fnmatch.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
fopen-bin.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
fopen-same.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
fopen-vms.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
gcc-c-fe.def Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
gcc-c-interface.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
gcc-cp-fe.def Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
gcc-cp-interface.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
gcc-interface.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
getopt.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
hashtab.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
hp-symtab.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
leb128.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
libcollector.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
libfcollector.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
libiberty.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
longlong.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
lto-symtab.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
MAINTAINERS Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
md5.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
oasys.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
objalloc.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
obstack.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
os9k.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
partition.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
plugin-api.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
progress.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
safe-ctype.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
sframe-api.h sframe: fix the defined SFRAME_FRE_TYPE_*_LIMIT constants 2023-01-09 09:47:42 -08:00
sframe.h sframe: fix the defined SFRAME_FRE_TYPE_*_LIMIT constants 2023-01-09 09:47:42 -08:00
sha1.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
simple-object.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
sort.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
splay-tree.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
symcat.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
timeval-utils.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
vtv-change-permission.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
xregex2.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
xregex.h
xtensa-config.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
xtensa-dynconfig.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
xtensa-isa-internal.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30
xtensa-isa.h Update year range in copyright notice of binutils files 2023-01-04 22:14:02 +10:30