libsframe: use uint8_t instead of unsigned char for abi_arch
authorIndu Bhagat <indu.bhagat@oracle.com>
Tue, 27 Jun 2023 18:55:59 +0000 (11:55 -0700)
committerIndu Bhagat <indu.bhagat@oracle.com>
Tue, 27 Jun 2023 19:01:56 +0000 (12:01 -0700)
commitde4879feca3af5d8a7c6a46a8deb1adc3c2c8c0e
treebe918041748712799c470e5df5a6d43162f6afdf
parent49e4485cba2fa322a649b39c8a05dae8b421331d
libsframe: use uint8_t instead of unsigned char for abi_arch

Use uint8_t consistently for identifying ABI/arch in SFrame format.

bfd/
* elf-sframe.c (_bfd_elf_merge_section_sframe):
libsframe/
* sframe-dump.c (is_sframe_abi_arch_aarch64): Use uint8_t for
local variable.
* sframe.c (sframe_decoder_get_abi_arch): Update return type to
uint8_t.
(sframe_encoder_get_abi_arch): Likewise.
include/
* sframe-api.h (sframe_decoder_get_abi_arch): Likewise.
(sframe_encoder_get_abi_arch): Likewise.
bfd/elf-sframe.c
include/sframe-api.h
libsframe/sframe-dump.c
libsframe/sframe.c