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 | 7a010ef4d19eb6cc3890ffa87235f9085f82b198 (patch) | |
tree | 86388c4eb7167961e342866340eeee7116773391 /package/ltq-dsl-app | |
parent | 38dde1e79bbdcf816e6f22462101cb6ae0e413ad (diff) | |
download | upstream-7a010ef4d19eb6cc3890ffa87235f9085f82b198.tar.gz upstream-7a010ef4d19eb6cc3890ffa87235f9085f82b198.tar.bz2 upstream-7a010ef4d19eb6cc3890ffa87235f9085f82b198.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)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30484 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ltq-dsl-app')
0 files changed, 0 insertions, 0 deletions