summaryrefslogtreecommitdiffstats
path: root/lib/libutil/gr_util.c
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2012-12-28 19:02:28 +0000
committerpfg <pfg@FreeBSD.org>2012-12-28 19:02:28 +0000
commit618ba5b4be939ae336cc6a49e0535f46665346b7 (patch)
tree952cef6b84b9f1bdd5559af97bb1bfa347b164ae /lib/libutil/gr_util.c
parent5da31a993660c9f95f598228167307ae36fc3177 (diff)
downloadFreeBSD-src-618ba5b4be939ae336cc6a49e0535f46665346b7.zip
FreeBSD-src-618ba5b4be939ae336cc6a49e0535f46665346b7.tar.gz
gcc: avoid generating negative values to DW_AT_byte_size.
There is a bug in gcc (GCC/35998) where dwarf reports sizes of unsigned -1 (0xffffffff). On NetBSD this generated a faulty CTF entry which then caused a segfault in ctfmerge. The issue was worked around in NetBSD's Dtrace but since the issue originated in gcc, it seems reasonable to fix it here. Upstream gcc has been slow to react to this issue and the author that submitted the patch is not interested in licensing the change to us, so I did an independent workaround for the issue. MFC after: 1 week
Diffstat (limited to 'lib/libutil/gr_util.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud