Commit Graph

6 Commits (d82c9a1b15242d107838db706aa0e6ab1b51e0fc)

Author SHA1 Message Date
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
Imre Kaloz cf1f86c0fc add ext4 support
SVN-Revision: 24079
2010-11-22 11:27:47 +00:00
Felix Fietkau 93dd5cdde9 grub: compile fixes for Mac OS X (based on patches by Jukka Ylitalo)
SVN-Revision: 21608
2010-05-28 19:48:05 +00:00
Imre Kaloz 4c1e6a7e39 refresh grub patches
SVN-Revision: 19704
2010-02-18 12:10:12 +00:00
Nicolas Thill a119d75d7e grub: fix potential build issues on redhat/fedora host systems (should close: #3793)
SVN-Revision: 15608
2009-05-04 23:08:08 +00:00
Felix Fietkau 8c97372e0d move grub to package/
SVN-Revision: 9212
2007-10-09 03:19:07 +00:00