aboutsummaryrefslogtreecommitdiff
path: root/libsframe
diff options
context:
space:
mode:
authorIndu Bhagat <indu.bhagat@oracle.com>2023-06-27 11:55:38 -0700
committerIndu Bhagat <indu.bhagat@oracle.com>2023-06-27 12:01:56 -0700
commit49e4485cba2fa322a649b39c8a05dae8b421331d (patch)
tree9e2d27727724e7c7fca2a03ebf8977ac3ad8932c /libsframe
parent100d405dae25ed30fd823ab78a7db59303494b6f (diff)
downloadbinutils-49e4485cba2fa322a649b39c8a05dae8b421331d.zip
binutils-49e4485cba2fa322a649b39c8a05dae8b421331d.tar.gz
binutils-49e4485cba2fa322a649b39c8a05dae8b421331d.tar.bz2
libsframe: bfd: use uint32_t for return type of sframe_calc_fre_type
Use uint32_t type alias consistently for all APIs in libsframe. bfd/ * elfxx-x86.c (_bfd_x86_elf_create_sframe_plt): Adjust for the changed return type. libsframe/ * sframe.c (sframe_calc_fre_type): Use uint32_t for return type. include/ * sframe-api.h (sframe_calc_fre_type): Likewise.
Diffstat (limited to 'libsframe')
-rw-r--r--libsframe/sframe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsframe/sframe.c b/libsframe/sframe.c
index 7391df0..8e9dc0a 100644
--- a/libsframe/sframe.c
+++ b/libsframe/sframe.c
@@ -601,7 +601,7 @@ sframe_fde_create_func_info (uint32_t fre_type,
/* Get the FRE type given the function size. */
/* FIXME API for linker. Revisit if its better placed somewhere else? */
-unsigned int
+uint32_t
sframe_calc_fre_type (size_t func_size)
{
uint32_t fre_type = 0;