BR 3392417: always end the DWARF .debug_abbrev section with a null
commite4303ee7f16931ddd0d838965ccc721236591db2
authorH. Peter Anvin <hpa@linux.intel.com>
Wed, 27 Sep 2017 22:05:03 +0000 (27 15:05 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 27 Sep 2017 22:05:03 +0000 (27 15:05 -0700)
tree6bab06dd190bf8f651f2fbee146c771caf1125f2
parentf91dc2033dc0232b8ade682e97fb0b35f71874b2
BR 3392417: always end the DWARF .debug_abbrev section with a null

The DWARF spec specifies that the .debug_abbrev section always should
end with a null byte.  Existing tools don't seem to care, but some
issue a warning, and it is invalid according to spec.

Reported-by: Darren Sylvain <sylvaindarren@gmail.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
output/outelf.c
output/outmacho.c