diff options
author | Indu Bhagat <indu.bhagat@oracle.com> | 2023-06-27 11:56:13 -0700 |
---|---|---|
committer | Indu Bhagat <indu.bhagat@oracle.com> | 2023-06-27 12:01:56 -0700 |
commit | 3412dcec612b473adabdff0e5d6004bfc94c938c (patch) | |
tree | 0c53ada1f02cbcea2901823f0c4590b2b072dc7d /libsframe | |
parent | libsframe: use uint8_t for return type of sframe_fre_get_base_reg_id (diff) | |
download | binutils-gdb-3412dcec612b473adabdff0e5d6004bfc94c938c.tar.gz binutils-gdb-3412dcec612b473adabdff0e5d6004bfc94c938c.tar.bz2 binutils-gdb-3412dcec612b473adabdff0e5d6004bfc94c938c.zip |
libsframe: use appropriate data types for args of sframe_encode
include/
* sframe-api.h (sframe_encode): Use of uint8_t is more
appropriate.
libsframe/
* sframe.c (sframe_encode): Likewise.
Diffstat (limited to 'libsframe')
-rw-r--r-- | libsframe/sframe.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libsframe/sframe.c b/libsframe/sframe.c index b885e3df5ec..40927f06933 100644 --- a/libsframe/sframe.c +++ b/libsframe/sframe.c @@ -1248,10 +1248,11 @@ sframe_encoder_get_funcdesc_at_index (sframe_encoder_ctx *encoder, } /* Create an encoder context with the given SFrame format version VER, FLAGS - and ABI information. Sets errp if failure. */ + and ABI information. Uses the ABI specific FIXED_FP_OFFSET and + FIXED_RA_OFFSET values as provided. Sets errp if failure. */ sframe_encoder_ctx * -sframe_encode (unsigned char ver, unsigned char flags, int abi_arch, +sframe_encode (uint8_t ver, uint8_t flags, uint8_t abi_arch, int8_t fixed_fp_offset, int8_t fixed_ra_offset, int *errp) { sframe_header *hp; |