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
..
2011-09-13 07:29:27 +00:00
2011-11-09 21:16:45 +00:00
2011-03-07 12:59:19 +00:00
2011-11-27 05:30:40 +00:00
2012-01-30 14:02:10 +00:00
2012-02-08 10:20:13 +00:00
2011-10-07 16:03:12 +00:00
2012-01-24 11:31:23 +00:00
2011-07-10 10:40:37 +00:00
2011-07-17 22:47:56 +00:00
2011-12-06 16:00:00 +00:00
2012-01-30 14:02:13 +00:00