1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-26 06:37:44 +02:00
openwrt-xburst/package/grub/patches
nbd 444f3dd7f1 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)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30484 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 18:40:18 +00:00
..
002-strip_note_gnu_build_id.patch [package] grub: fix potential build issues on redhat/fedora host systems (should close: #3793) 2009-05-04 23:08:08 +00:00
010-fixes-1.patch refresh grub patches 2010-02-18 12:10:12 +00:00
020-ext4_support.patch [package/grub]: add ext4 support 2010-11-22 11:27:47 +00:00
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 grub: compile fixes for Mac OS X (based on patches by Jukka Ylitalo) 2010-05-28 19:48:05 +00:00
110-remove_configure_errors.patch grub: compile fixes for Mac OS X (based on patches by Jukka Ylitalo) 2010-05-28 19:48:05 +00:00
200-darwin_fixes.patch grub: compile fixes for Mac OS X (based on patches by Jukka Ylitalo) 2010-05-28 19:48:05 +00:00