aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorChristian Biesinger <cbiesinger@google.com>2019-10-25 13:40:27 -0500
committerChristian Biesinger <cbiesinger@google.com>2019-11-04 12:13:09 -0600
commit3573abe1de0f72eba731b27eed9a002975cd7a01 (patch)
treed101f48687480ba8b43619eb9bfc598496239675 /ld
parentdae8b3eb235c976fb1c6f6572813a8cb96c86d31 (diff)
downloadfsf-binutils-gdb-3573abe1de0f72eba731b27eed9a002975cd7a01.zip
fsf-binutils-gdb-3573abe1de0f72eba731b27eed9a002975cd7a01.tar.gz
fsf-binutils-gdb-3573abe1de0f72eba731b27eed9a002975cd7a01.tar.bz2
Add static_asserts for the sizes of space-critical structs
Specifically the three structs mentioned in symtab.h: - general_symbol_info - symbol - partial_symbol This ensures that those structs won't accidentally get bigger. gdb/ChangeLog: 2019-11-04 Christian Biesinger <cbiesinger@google.com> * psympriv.h: Add static_asserts for sizeof (general_symbol_info) and sizeof (symbol). * symtab.h: Add a static_assert for sizeof (partial_symbol). Change-Id: Idd68320aa3e79ee7cc749019724636a58ce4b9c6
Diffstat (limited to 'ld')
0 files changed, 0 insertions, 0 deletions