Skip to content

Commit

Permalink
[ARM] Improve comment about ASSERT()s in vmlinux.lds.S
Browse files Browse the repository at this point in the history
Provide folk with an idea what to do if the ASSERT statements fail
with their linker.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Russell King authored and Russell King committed Nov 17, 2005
1 parent 5470dc6 commit 728f5c0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion arch/arm/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,10 @@ SECTIONS
.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((__arch_info_end - __arch_info_begin), "no machine record defined")

0 comments on commit 728f5c0

Please sign in to comment.