mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 12:03:41 +08:00
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.
This commit is contained in:
parent
100d405dae
commit
49e4485cba
@ -1832,7 +1832,7 @@ _bfd_x86_elf_create_sframe_plt (bfd *output_bfd,
|
||||
bool plt0_generated_p;
|
||||
unsigned int plt0_entry_size;
|
||||
unsigned char func_info;
|
||||
unsigned int fre_type;
|
||||
uint32_t fre_type;
|
||||
/* The dynamic plt section for which .sframe stack trace information is being
|
||||
created. */
|
||||
asection *dpltsec;
|
||||
|
@ -98,7 +98,7 @@ sframe_fde_create_func_info (uint32_t fre_type, uint32_t fde_type);
|
||||
|
||||
/* Gather the FRE type given the function size. */
|
||||
|
||||
extern unsigned int
|
||||
extern uint32_t
|
||||
sframe_calc_fre_type (size_t func_size);
|
||||
|
||||
/* The SFrame Decoder. */
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user