Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 53c0054c authored by Magnus Damm's avatar Magnus Damm Committed by Paul Mundt
Browse files

sh: include empty_zero_page in text



Include empty_zero_page in _text. This fixes a problem
introduced by c3e2586b
which results in broken boot on R2D-Plus.

Signed-off-by: default avatarMagnus Damm <damm@igel.co.jp>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 7bce6c27
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -26,12 +26,13 @@ SECTIONS
	. = CONFIG_PAGE_OFFSET + CONFIG_MEMORY_START + CONFIG_ZERO_PAGE_OFFSET;
#endif

	_text = .;		/* Text and read-only data */

	.empty_zero_page : AT(ADDR(.empty_zero_page) - LOAD_OFFSET) {
		*(.empty_zero_page)
	} = 0

	.text : AT(ADDR(.text) - LOAD_OFFSET) {
		_text = .;		/* Text and read-only data */
		HEAD_TEXT
		TEXT_TEXT