diff options
author | Nick Alcock <nick.alcock@oracle.com> | 2020-06-02 20:38:17 +0100 |
---|---|---|
committer | Nick Alcock <nick.alcock@oracle.com> | 2020-07-22 17:57:28 +0100 |
commit | f47ca3113561ba3189b892a1a956ba6bd0fdb773 (patch) | |
tree | 0e38f55d2ef581bf51477c725fb0d83c51bd7a0a /libctf/ctf-subr.c | |
parent | ab769488e75272c3cbea4626a346fd0c336b2de6 (diff) | |
download | binutils-f47ca3113561ba3189b892a1a956ba6bd0fdb773.zip binutils-f47ca3113561ba3189b892a1a956ba6bd0fdb773.tar.gz binutils-f47ca3113561ba3189b892a1a956ba6bd0fdb773.tar.bz2 |
libctf, create: fix addition of anonymous struct/union members
A Solaris-era bug causes us to check the offsets of types with no names
against the first such type when ctf_add_type()ing members to a struct
or union. Members with no names (i.e. anonymous struct/union members)
can appear as many times as you like in a struct/union, so this check
should be skipped in this case.
libctf/
* ctf-create.c (membcmp) Skip nameless members.
Diffstat (limited to 'libctf/ctf-subr.c')
0 files changed, 0 insertions, 0 deletions