[syslinux] [PATCH 3/4] efi: Useless relocations in PE file
Matt Fleming
matt at console-pimps.org
Fri Nov 29 04:57:08 PST 2013
On Wed, 27 Nov, at 02:38:30PM, 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'm not 100% positive about the uselessness of the relocation section.
> However:
The fix looks pretty straight forward. I'll try it out on my hardware
here.
--
Matt Fleming, Intel Open Source Technology Center
More information about the Syslinux
mailing list