Here I've added comments, added testing for llvm-readelf and documented
the behavior that we already have.
It was discussed in the D80380 thread that we want to improve the
"p_memsz does not match p_filesz for GNU_EH_FRAME" message reported
(and probably convert error to a warning). This patch is a preparation
for that.
Not related to this change, but yuck, this is horrible. Probably this wants implementing in yaml2obj at some point (perhaps wait until @Higuoxing has done work on .debug_frame support though). Same sort of comment applies ot the content of the .eh_frame_hdr though.