aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfxx-x86.c
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 /bfd/elfxx-x86.c
parent989aabcb564dccc7804f174fc582b0639357a9bb (diff)
downloadgdb-b659fb35854e49ac16a5538d24bf0e3f0d6e6121.zip
gdb-b659fb35854e49ac16a5538d24bf0e3f0d6e6121.tar.gz
gdb-b659fb35854e49ac16a5538d24bf0e3f0d6e6121.tar.bz2
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 'bfd/elfxx-x86.c')
-rw-r--r--bfd/elfxx-x86.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/elfxx-x86.c b/bfd/elfxx-x86.c
index bbf8688..88c34d3 100644
--- a/bfd/elfxx-x86.c
+++ b/bfd/elfxx-x86.c
@@ -1857,8 +1857,7 @@ _bfd_x86_elf_create_sframe_plt (bfd *output_bfd,
/* FRE type is dependent on the size of the function. */
fre_type = sframe_calc_fre_type (dpltsec->size);
- func_info = sframe_fde_func_info (fre_type,
- SFRAME_FDE_TYPE_PCINC);
+ func_info = sframe_fde_create_func_info (fre_type, SFRAME_FDE_TYPE_PCINC);
/* Add SFrame FDE and the associated FREs for plt0 if plt0 has been
generated. */
@@ -1888,7 +1887,8 @@ _bfd_x86_elf_create_sframe_plt (bfd *output_bfd,
pattern of the instructions in these entries. Using this SFrame FDE
type helps in keeping the unwind information for pltn entries
compact. */
- func_info = sframe_fde_func_info (fre_type, SFRAME_FDE_TYPE_PCMASK);
+ func_info = sframe_fde_create_func_info (fre_type,
+ SFRAME_FDE_TYPE_PCMASK);
/* Add the SFrame FDE for all PCs starting at the first pltn entry (hence,
function start address = plt0_entry_size. As usual, this will be
updated later at _bfd_elf_merge_section_sframe, by when the