[PATCH v3] ARM: xip: Use correct symbol for end of ROM marker
Russell King - ARM Linux
linux at arm.linux.org.uk
Tue Nov 17 09:33:11 PST 2015
On Mon, Nov 16, 2015 at 04:47:12PM -0500, Nicolas Pitre wrote:
> The old method with conditional placement in the linker script is broken
> beyond repair. There is simply way too much stuff these days to do this
> sanely. I think the only way to fix it properly is to have a separate
> linker script for XIP usage with proper (and obvious) section placement.
Absolutely the right thing to do.
The XIP stuff has been broken and getting in the way for a long time
now because of the preprocessor mess. I've made several changes to
the linker script over the years, and each time I've ended up deciding
to I'll do the best job I can for XIP, but I'm not going to spend
too long making sure that it's correct - especially as there appeared
to be no users of it. I wouldn't describe the current file as being
"maintainable" in any way - It has devolved into a total mess, and I
would like to see the XIP stuff gone from the non-XIP linker script
- and doing that should mean it's less likely for XIP to break.
I'd also like to see a lot more of the preprocessor gunk gone (or at
least cleaned up) in that file too...
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.
More information about the linux-arm-kernel