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

Commit 7c8a25b5 authored by Jesper Nilsson's avatar Jesper Nilsson
Browse files

CRIS: Discard exit.text and .data at runtime



This allows us to handle references from __bug_table.

Signed-off-by: default avatarJesper Nilsson <jesper.nilsson@axis.com>
parent dcb313c2
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -86,6 +86,16 @@ SECTIONS
	}
	SECURITY_INIT

	/* .exit.text is discarded at runtime, not link time,
	 * to deal with references from __bug_table
	 */
	.exit.text : {
		EXIT_TEXT
	}
	.exit.data : {
		EXIT_DATA
	}

#ifdef CONFIG_ETRAX_ARCH_V10
#ifdef CONFIG_BLK_DEV_INITRD
	.init.ramfs : {