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/swconfig/src/swlib.c | |
parent | 22ec8b4839f3a4cffdce1d476f1911dc8463f495 (diff) | |
download | mtk-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/src/swlib.c')
0 files changed, 0 insertions, 0 deletions