Jordan Justen 2e064b1e13 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 <jordan.l.justen@intel.com>
Link: http://lkml.kernel.org/r/1332520506-6472-2-git-send-email-jordan.l.justen@intel.com
Acked-by: Matt Fleming <matt.fleming@intel.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
2012-03-26 13:08:33 -07:00
..
2011-12-12 14:26:10 -08:00
2008-04-19 19:19:54 +02:00
2007-10-11 11:16:45 +02:00
2009-02-19 17:13:00 +01:00
2007-10-11 11:16:45 +02:00
2009-03-11 11:00:00 -07:00
2011-12-12 14:26:10 -08:00
2009-07-04 12:56:32 -07:00