mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-07 08:03:07 +00:00
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.
This commit is contained in:
@@ -202,7 +202,7 @@ sframe_fre_get_ra_mangled_p (sframe_decoder_ctx *dctx,
|
|||||||
/* Create an encoder context with the given SFrame format version VER, FLAGS
|
/* Create an encoder context with the given SFrame format version VER, FLAGS
|
||||||
and ABI information. Sets errp if failure. */
|
and ABI information. Sets errp if failure. */
|
||||||
extern sframe_encoder_ctx *
|
extern sframe_encoder_ctx *
|
||||||
sframe_encode (unsigned char ver, unsigned char flags, int abi,
|
sframe_encode (uint8_t ver, uint8_t flags, uint8_t abi_arch,
|
||||||
int8_t fixed_fp_offset, int8_t fixed_ra_offset, int *errp);
|
int8_t fixed_fp_offset, int8_t fixed_ra_offset, int *errp);
|
||||||
|
|
||||||
/* Free the encoder context. */
|
/* Free the encoder context. */
|
||||||
|
|||||||
@@ -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
|
/* 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_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)
|
int8_t fixed_fp_offset, int8_t fixed_ra_offset, int *errp)
|
||||||
{
|
{
|
||||||
sframe_header *hp;
|
sframe_header *hp;
|
||||||
|
|||||||
Reference in New Issue
Block a user