This is a follow up for D46623.
It cleans the existent test case and adds one more to
test the notes better.
Differential D46690
[ELF] - Improve the test cases for notes sections. grimar on May 10 2018, 5:28 AM. Authored by
Details This is a follow up for D46623. It cleans the existent test case and adds one more to
Diff Detail Event TimelineComment Actions note-noalloc2.s is close to my original test, I think that's reasonable. For the note-noalloc.s change we've lost the check that the non-alloc note still has a section. I think we should keep that.
Comment Actions See. I am checking that PT_NOTE has a 16 bytes size (so that is including only "a" section).
And we will emit the PT_NOTE for both. Your change changed how PT_NOTES are emitted., it did not change how we emit the output sections. Comment Actions After the second look, I think it is ok to add check here that we still keep non-a section and keep its SHT_NOTE flag for safety though. I'll update the patch. |
aww