diff options
author | Indu Bhagat <indu.bhagat@oracle.com> | 2024-05-16 14:59:23 -0700 |
---|---|---|
committer | Indu Bhagat <indu.bhagat@oracle.com> | 2024-05-16 14:59:23 -0700 |
commit | c6af2c1c2d372b58512c69d4807af1a14905009d (patch) | |
tree | aad16526530e799d6267adbe1c6531f730329e46 | |
parent | e75d765e2bf525ea24a5cab6fea19a913e213a7c (diff) | |
download | binutils-c6af2c1c2d372b58512c69d4807af1a14905009d.zip binutils-c6af2c1c2d372b58512c69d4807af1a14905009d.tar.gz binutils-c6af2c1c2d372b58512c69d4807af1a14905009d.tar.bz2 |
gas: sframe: fix typo to use FP instead of BP
gas/
* gen-sframe.c (output_sframe_internal): Use BP instead of FP.
-rw-r--r-- | gas/gen-sframe.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gas/gen-sframe.c b/gas/gen-sframe.c index 25b858e..238b76f 100644 --- a/gas/gen-sframe.c +++ b/gas/gen-sframe.c @@ -625,7 +625,7 @@ output_sframe_internal (void) struct sframe_func_entry *sframe_fde; struct sframe_row_entry *sframe_fre; unsigned char abi_arch = 0; - int fixed_bp_offset = SFRAME_CFA_FIXED_FP_INVALID; + int fixed_fp_offset = SFRAME_CFA_FIXED_FP_INVALID; int fixed_ra_offset = SFRAME_CFA_FIXED_RA_INVALID; unsigned int addr_size; @@ -658,12 +658,12 @@ output_sframe_internal (void) gas_assert (abi_arch); out_one (abi_arch); - /* Offset for the BP register from CFA. Neither of the AMD64 or AAPCS64 - ABIs have a fixed offset for the BP register from the CFA. This may be + /* Offset for the FP register from CFA. Neither of the AMD64 or AAPCS64 + ABIs have a fixed offset for the FP register from the CFA. This may be useful in future (but not without additional support in the toolchain) for specialized handling/encoding for cases where, for example, -fno-omit-frame-pointer is used. */ - out_one (fixed_bp_offset); + out_one (fixed_fp_offset); /* Offset for the return address from CFA is fixed for some ABIs (e.g., AMD64), output a SFRAME_CFA_FIXED_RA_INVALID otherwise. */ |