diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2022-01-17 16:18:56 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2022-06-01 15:19:59 -0700 |
commit | 2d546ff69455f7deadab65309de89d19380a8864 (patch) | |
tree | 1dfe6729a845805c0e26de262a85629a28ae83b9 /gcc/gcov-tool.cc | |
parent | c4c3cd5ca5fe13724253d4270dc643fbc6b7f557 (diff) | |
download | gcc-2d546ff69455f7deadab65309de89d19380a8864.zip gcc-2d546ff69455f7deadab65309de89d19380a8864.tar.gz gcc-2d546ff69455f7deadab65309de89d19380a8864.tar.bz2 |
libgcc: Align __EH_FRAME_BEGIN__ to pointer size
Aligne __EH_FRAME_BEGIN__ to pointer size since gcc/unwind-dw2-fde.h has
/* The first few fields of a CIE. The CIE_id field is 0 for a CIE,
to distinguish it from a valid FDE. FDEs are aligned to an addressing
unit boundary, but the fields within are unaligned. */
struct dwarf_cie
{
uword length;
sword CIE_id;
ubyte version;
unsigned char augmentation[];
} __attribute__ ((packed, aligned (__alignof__ (void *))));
/* The first few fields of an FDE. */
struct dwarf_fde
{
uword length;
sword CIE_delta;
unsigned char pc_begin[];
} __attribute__ ((packed, aligned (__alignof__ (void *))));
which indicates that CIE/FDE should be aligned at the pointer size.
PR libgcc/27576
* crtstuff.c (__EH_FRAME_BEGIN__): Aligned to pointer size.
Diffstat (limited to 'gcc/gcov-tool.cc')
0 files changed, 0 insertions, 0 deletions