summaryrefslogtreecommitdiff
path: root/package/swconfig
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-02-12 18:40:18 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-02-12 18:40:18 +0000
commit9f551028d2568f774e4738ee584d438adf327615 (patch)
treef51642ac504fe2ccf572b95dfc4932f3e28a6816 /package/swconfig
parent22ec8b4839f3a4cffdce1d476f1911dc8463f495 (diff)
downloadmtk-20170518-9f551028d2568f774e4738ee584d438adf327615.zip
mtk-20170518-9f551028d2568f774e4738ee584d438adf327615.tar.gz
mtk-20170518-9f551028d2568f774e4738ee584d438adf327615.tar.bz2
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/swconfig')
0 files changed, 0 insertions, 0 deletions