Closed joe-lawrence closed 1 year ago
This one is weird. If I compare the disassembly:
vimdiff \
<(objdump -D -j '.init.text' orig/kernel/time/timer.o) \
<(objdump -D -j '.init.text' patched/kernel/time/timer.o)
The first thing I notice is that the order of the functions inside .init.text
have been changed. If I rearrange the patched object file's output and then scrub both outputs of the unrelocated call / jump / etc references (ie, objdump lines like:
186: e8 00 00 00 00 callq 18b <trace_event_define_fields_timer_expire_entry+0x56>
with generic "XYZ" offsets, then their assembly codes match up perfectly. So I think the patched object file's rearrangement modifies the '.rela.init.text' section as well because of this.
Fedora 27 is way EOL and we no longer carry tracepoints-section test in later (RHEL or upstream) integration tests. Closing.
Integration test results from PR #762