forked from Imagelibrary/binutils-gdb
libsframe: rename API sframe_fde_func_info to sframe_fde_create_func_info
The new name better reflects the purpose of the function. ChangeLog: * bfd/elfxx-x86.c (_bfd_x86_elf_create_sframe_plt): Use new name. * libsframe/sframe.c (sframe_fde_create_func_info): Rename sframe_fde_func_info to this. * libsframe/testsuite/libsframe.encode/encode-1.c: Use new name. include/ChangeLog: * sframe-api.h (sframe_fde_create_func_info): Rename sframe_fde_func_info to this.
This commit is contained in:
@@ -548,12 +548,12 @@ sframe_decoder_free (sframe_decoder_ctx **decoder)
|
||||
}
|
||||
}
|
||||
|
||||
/* Create a FDE function info byte given an FRE_TYPE and an FDE_TYPE. */
|
||||
/* Create an FDE function info byte given an FRE_TYPE and an FDE_TYPE. */
|
||||
/* FIXME API for linker. Revisit if its better placed somewhere else? */
|
||||
|
||||
unsigned char
|
||||
sframe_fde_func_info (unsigned int fre_type,
|
||||
unsigned int fde_type)
|
||||
sframe_fde_create_func_info (unsigned int fre_type,
|
||||
unsigned int fde_type)
|
||||
{
|
||||
unsigned char func_info;
|
||||
sframe_assert (fre_type == SFRAME_FRE_TYPE_ADDR1
|
||||
|
||||
Reference in New Issue
Block a user