diff options
author | Jens Remus <jremus@linux.ibm.com> | 2025-03-10 13:14:08 +0100 |
---|---|---|
committer | Jens Remus <jremus@linux.ibm.com> | 2025-03-10 13:14:08 +0100 |
commit | 768a8d310ddce93937f850f4bc6d799bd7a1a2ee (patch) | |
tree | 1713e757cea3518e9a0c4462cc46f92c0d56afdb /gdb/python | |
parent | 74f583e625d40f881a6109ac81e774efae79bfab (diff) | |
download | binutils-768a8d310ddce93937f850f4bc6d799bd7a1a2ee.zip binutils-768a8d310ddce93937f850f4bc6d799bd7a1a2ee.tar.gz binutils-768a8d310ddce93937f850f4bc6d799bd7a1a2ee.tar.bz2 |
gas: Use SFrame header and FDE field sizes when generating .sframe
The use of SFRAME_RELOC_SIZE in generation of SFrame stack trace
information from CFI directives erroneously suggested that this could
be used to configure a different relocation size. But in practice it
is tied to the SFrame field sizes it is used for and therefore cannot
be changed.
Replace the uses of SFRAME_RELOC_SIZE by the size of the respective
SFrame header and FDE fields when emitting SFrame information. While
at it enhance some comments.
gas/
* gen-sframe.c (SFRAME_RELOC_SIZE): Delete.
(sizeof_member): Define.
(output_sframe_funcdesc): Use size of SFrame FDE fields instead
of SFRAME_RELOC_SIZE.
(output_sframe_internal): Use size of SFrame header fields
instead of SFRAME_RELOC_SIZE.
Signed-off-by: Jens Remus <jremus@linux.ibm.com>
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions