diff options
author | Peter Zijlstra <[email protected]> | 2021-03-26 16:12:06 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2021-04-02 12:43:32 +0200 |
commit | 3a647607b57ad8346e659ddd3b951ac292c83690 (patch) | |
tree | 9a0904266e179db196aa6ec050a4a359079fa5b5 /scripts/bpf_doc.py | |
parent | a958c4fea768d2c378c89032ab41d38da2a24422 (diff) |
objtool: Rework the elf_rebuild_reloc_section() logic
Instead of manually calling elf_rebuild_reloc_section() on sections
we've called elf_add_reloc() on, have elf_write() DTRT.
This makes it easier to add random relocations in places without
carefully tracking when we're done and need to flush what section.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Reviewed-by: Miroslav Benes <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions