summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIndu Bhagat <indu.bhagat@oracle.com>2022-12-09 10:25:31 -0800
committerIndu Bhagat <indu.bhagat@oracle.com>2022-12-09 10:25:31 -0800
commitb659fb35854e49ac16a5538d24bf0e3f0d6e6121 (patch)
treec8ce3af27be3469f175afec5c7d176a3d7f442e3 /include
parentgas: sframe: fine tune the fragment fixup for SFrame func info (diff)
downloadbinutils-gdb-b659fb35854e49ac16a5538d24bf0e3f0d6e6121.tar.gz
binutils-gdb-b659fb35854e49ac16a5538d24bf0e3f0d6e6121.tar.bz2
binutils-gdb-b659fb35854e49ac16a5538d24bf0e3f0d6e6121.zip
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.
Diffstat (limited to 'include')
-rw-r--r--include/sframe-api.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sframe-api.h b/include/sframe-api.h
index c658474253f..0a86389857c 100644
--- a/include/sframe-api.h
+++ b/include/sframe-api.h
@@ -83,10 +83,10 @@ _SFRAME_ERRORS
extern const char *
sframe_errmsg (int error);
-/* Get FDE function info given a FRE_TYPE. */
+/* Create an FDE function info bye given an FRE_TYPE and an FDE_TYPE. */
extern 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);
/* Gather the FRE type given the function size. */