diff options
author | Jordan Justen <[email protected]> | 2012-03-23 09:35:04 -0700 |
---|---|---|
committer | H. Peter Anvin <[email protected]> | 2012-03-26 13:08:33 -0700 |
commit | 2e064b1e131eba262c0ba4268cb79dbc72edeece (patch) | |
tree | 51948df7cca8591d0476b84594cb76c506c63431 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | c16fa4f2ad19908a47c63d8fa436a1178438c7e7 (diff) |
x86, efi: Fix issue of overlapping .reloc section for EFI_STUB
Previously the .reloc section was embedded in the .text
section.
No relocations are required during the PE/COFF loading phase
for the kernel using the EFI_STUB UEFI loader. To fix the
issue of overlapping sections, create a .reloc section with a
zero length.
The .reloc section header must exist to make sure the image
will be loaded by the UEFI firmware, but a zero-length
section header seems to be sufficient.
Signed-off-by: Jordan Justen <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Acked-by: Matt Fleming <[email protected]>
Signed-off-by: H. Peter Anvin <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions