Tom Tromey 7e7a35fbca Shrink size of dwarf2_per_cu_data
I noticed some holes in struct dwarf2_per_cu_data.  This patch
rearranges the type slightly, and shrinks the size of some fields.
This reduces it from 136 bytes to 112 bytes (on x86-64).

I also reduced the size of the DWARF "version" fields in a couple of
spots.  It seemed needless to use a short to hold a value that ranges
from 2 to 5, and this also helped the goal of shrinking
dwarf2_per_cu_data.

2021-04-21  Tom Tromey  <tom@tromey.com>

	* dwarf2/read.h (struct dwarf2_per_cu_data) <dwarf_version>: Now
	unsigned char.
	(struct dwarf2_per_cu_data): Rearrange.
	* dwarf2/comp-unit.h (struct comp_unit_head) <version>: Now
	unsigned char.
	(struct comp_unit_head): Rearrange.
	* dwarf2/comp-unit.c (read_comp_unit_head): Update.
2021-04-21 16:57:31 -06:00
..
2021-03-13 09:41:05 -07:00
2021-04-21 16:57:31 -06:00
2021-04-21 16:57:31 -06:00
2021-03-06 09:26:40 -07:00
2021-03-06 09:26:40 -07:00
2021-03-20 17:23:40 -06:00
2021-03-20 17:23:40 -06:00
2021-03-06 09:26:39 -07:00
2021-03-28 10:43:15 -06:00
2021-04-17 13:56:36 -06:00
2021-04-21 16:57:31 -06:00
2021-03-18 12:08:41 -06:00
2021-03-31 09:48:56 -06:00