openwrt/package/grub/patches
Felix Fietkau 9f551028d2 package/grub: fix stage2 link with recent binutils
We want the `_start's symbols to be at the very beginning of the `stage2'
binary's `.text' section. However, nothing enforces this requirement. With
recent binutils (ie. post 2.19.1), this results in a corrupt binary, as ld(1)
puts another symbol (eg. `journal_init') at the beginning of the section.

Fix this by providing a stripped down version of the default linker script
where we enforces the position of `_start' in the `.text' section.

Patch by Arnaud Lacombe (#10444)

SVN-Revision: 30484
2012-02-12 18:40:18 +00:00
..
002-strip_note_gnu_build_id.patch
010-fixes-1.patch
020-ext4_support.patch
030-add-stage2-ldscripts.patch package/grub: fix stage2 link with recent binutils 2012-02-12 18:40:18 +00:00
100-add_configure_macros.patch
110-remove_configure_errors.patch
200-darwin_fixes.patch