diff options
author | Pedro Alves <pedro@palves.net> | 2022-07-19 00:26:33 +0100 |
---|---|---|
committer | Pedro Alves <pedro@palves.net> | 2022-07-19 15:44:07 +0100 |
commit | 73a029bd6037c59d10ab39518ad35d76292be54a (patch) | |
tree | 9f9864a9d103193b202d1f4e6ec9aeb63dd275ef /gold/arm.cc | |
parent | 6994a75776b3a40e9a7435be8e6c5518c18bd391 (diff) | |
download | gdb-users/palves/packed.zip gdb-users/palves/packed.tar.gz gdb-users/palves/packed.tar.bz2 |
struct packed: add fallback byte array implementation, use gcc_struct on Windows, unit testsusers/palves/packed
https://sourceware.org/bugzilla/show_bug.cgi?id=29373
- Windows hosts need attribute gcc_struct.
- attribute gcc_struct seemingly doesn't work with Clang, so add a
fallback standard-conforming implementation based on arrays.
- add unit tests to make sure both implementations behave the same
way.
- add more relational operators while at it.
Change-Id: I023315ee03622c59c397bf4affc0b68179c32374
Diffstat (limited to 'gold/arm.cc')
0 files changed, 0 insertions, 0 deletions