diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-02-12 18:40:18 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-02-12 18:40:18 +0000 |
commit | 9f551028d2568f774e4738ee584d438adf327615 (patch) | |
tree | f51642ac504fe2ccf572b95dfc4932f3e28a6816 /package/iwinfo | |
parent | 22ec8b4839f3a4cffdce1d476f1911dc8463f495 (diff) | |
download | upstream-9f551028d2568f774e4738ee584d438adf327615.tar.gz upstream-9f551028d2568f774e4738ee584d438adf327615.tar.bz2 upstream-9f551028d2568f774e4738ee584d438adf327615.zip |
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
Diffstat (limited to 'package/iwinfo')
0 files changed, 0 insertions, 0 deletions