diff options
author | Jordan Justen <[email protected]> | 2012-06-07 09:05:21 -0700 |
---|---|---|
committer | H. Peter Anvin <[email protected]> | 2012-06-07 09:52:33 -0700 |
commit | 743628e868c5992354fc80b4d1e9a6143da1c0e6 (patch) | |
tree | 1089643db1f1b80100ca7a9ebc29fc3d60acfa55 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | f6175f5bfb4c9f2ed32758c95f765b529b1a7f15 (diff) |
x86, efi stub: Add .reloc section back into image
Some UEFI firmware will not load a .efi with a .reloc section
with a size of 0.
Therefore, we create a .efi image with 4 main areas and 3 sections.
1. PE/COFF file header
2. .setup section (covers all setup code following the first sector)
3. .reloc section (contains 1 dummy reloc entry, created in build.c)
4. .text section (covers the remaining kernel image)
To make room for the new .setup section data, the header
bugger_off_msg had to be shortened.
Reported-by: Henrik Rydberg <[email protected]>
Signed-off-by: Jordan Justen <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Tested-by: Lee G Rosenbaum <[email protected]>
Tested-by: Henrik Rydberg <[email protected]>
Cc: 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