Commit 728f5c07 authored by Russell King's avatar Russell King Committed by Russell King

[ARM] Improve comment about ASSERT()s in vmlinux.lds.S

Provide folk with an idea what to do if the ASSERT statements fail
with their linker.
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 5470dc65
...@@ -172,6 +172,10 @@ SECTIONS ...@@ -172,6 +172,10 @@ SECTIONS
.comment 0 : { *(.comment) } .comment 0 : { *(.comment) }
} }
/* those must never be empty */ /*
* These must never be empty
* If you have to comment these two assert statements out, your
* binutils is too old (for other reasons as well)
*/
ASSERT((__proc_info_end - __proc_info_begin), "missing CPU support") ASSERT((__proc_info_end - __proc_info_begin), "missing CPU support")
ASSERT((__arch_info_end - __arch_info_begin), "no machine record defined") ASSERT((__arch_info_end - __arch_info_begin), "no machine record defined")
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment