binutils-gdb/libsframe
Indu Bhagat 68bb0d2765 libsframe: write out SFrame FRE start address correctly
The following test was failing on ppc64 and s390x:
  "FAIL: encode-1: Encode buffer match"

The offending stub was how we memcpy the FRE start address to the buffer
(on-disk format).  When the host is big-endian, the address of the
source buffer for the memcpy needs to point to the uint8_t/uint16_t sized
value of the FRE start addr, not uint32_t sized value; we intend to copy
out only the fre_start_addr_sz number of bytes.

ChangeLog:

	* libsframe/sframe.c (sframe_encoder_write_fre_start_addr): New
	function.
	(sframe_encoder_write_fre): Use it instead of memcpy.
2022-12-25 00:08:27 -08:00
..
doc sframe: doc: update documentation for pauth key in SFrame FDE 2022-12-22 09:58:21 -08:00
testsuite libsframe: testsuite: fix memory leaks in testcases 2022-12-23 13:04:19 -08:00
aclocal.m4
config.h.in
configure doc: add SFrame spec file 2022-11-15 15:50:05 -08:00
configure.ac doc: add SFrame spec file 2022-11-15 15:50:05 -08:00
Makefile.am doc: add SFrame spec file 2022-11-15 15:50:05 -08:00
Makefile.in doc: add SFrame spec file 2022-11-15 15:50:05 -08:00
sframe-dump.c objdump/readelf: sframe: emit marker for SFrame FDE with B key 2022-12-22 09:57:27 -08:00
sframe-error.c
sframe-impl.h libsframe: fix a memory leak in sframe_decode 2022-12-23 13:04:06 -08:00
sframe.c libsframe: write out SFrame FRE start address correctly 2022-12-25 00:08:27 -08:00