[PATCH/AARCH64] Fix alignment of rela section for ILP32

Marcus Shawcroft marcus.shawcroft@gmail.com
Fri Jul 26 12:11:00 GMT 2013


On 24 July 2013 00:41, Andrew Pinski <andrew.pinski@caviumnetworks.com> wrote:
> Hi,
>   When getting glibc support working for ILP32 I noticed that rela
> sections were incorrectly being aligned which caused the overall rela
> section (due to combing relocas being the default) to have garbage in
> it.  This patch fixes the problem by using LOG_FILE_ALIGN instead of 3
> in the place where the sections are created in
> elfNN_aarch64_check_relocs.
>
> OK?  Build and tested on aarch64-elf and aarch64-linux-gnu (with some
> additional patches applied).
>
> Thanks,
> Andrew Pinski

OK, thank you.

/Marcus



More information about the Binutils mailing list