Commit Graph

3 Commits

Author SHA1 Message Date
Jonas Gorski
96afb90f3f generic: fix relocate build with binutils 2.25.1
The new .abiflags section was kept, pushing the appended arguments to
the wrong offset and causing it to read the section instead, making
it fail on boot.

Fix this by dropping this section as well as the other sections.

Closes #21679.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 48474
2016-01-24 12:36:15 +00:00
Jonas Gorski
8353a3bd45 generic: relocate: make the cacheline size configurable
Different targets have different cache line sizes.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 45163
2015-03-30 20:20:10 +00:00
Jonas Gorski
703c41cf01 ramips: move relocating loader to common location
Allow other targets to use it, too.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 45162
2015-03-30 20:20:08 +00:00