[syslinux] [PATCH v2 3/4] efi: Useless relocations in PE file
H. Peter Anvin
hpa at zytor.com
Fri Dec 6 21:44:51 PST 2013
On 12/01/2013 02:14 PM, Celelibi wrote:
> There is no need to have a relocation section that nothing points at.
> The image is still seen as relocatable as long as the Characteristics of
> the FileHeader do not say otherwise.
>
> Moreover, the field base_relocation_table wasn't initialized properly
> leading to unpredictable bugs.
>
> Signed-off-by: Celelibi <celelibi at gmail.com>
I seem to hear about some UEFI implementations which would fail to boot
unless there is a relocation section... I believe we had to add one to
the Linux kernel for that reason. Matt, does that match your recollection?
-hpa
More information about the Syslinux
mailing list