Pedro F. Giffuni b76bfc09c3 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
2012-12-28 19:02:28 +00:00
..
2012-12-07 12:39:58 +00:00
2012-11-16 01:37:25 +00:00
2012-09-14 21:17:53 +00:00
2012-08-08 09:42:44 +00:00
2012-09-22 17:47:37 +00:00
2012-11-10 01:46:13 +00:00
2012-12-03 19:00:23 +00:00
2012-11-29 13:35:44 +00:00
2012-10-05 18:42:50 +00:00
2012-10-22 18:56:31 +00:00
2012-02-22 03:36:15 +00:00
2011-12-08 02:40:46 +00:00
2012-12-22 21:32:12 +00:00