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

Commit ea29ee16 authored by Martin Schwidefsky's avatar Martin Schwidefsky
Browse files

[S390] Move NOTES and BUG_TABLE.



Move the NOTES and BUG_TABLE section in the linker script to the
read-only sections right after the text section.

Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 5d67d164
Loading
Loading
Loading
Loading
+9 −3
Original line number Original line Diff line number Diff line
@@ -17,6 +17,12 @@ ENTRY(_start)
jiffies = jiffies_64;
jiffies = jiffies_64;
#endif
#endif


PHDRS {
	text PT_LOAD FLAGS(5);	/* R_E */
	data PT_LOAD FLAGS(7);	/* RWE */
	note PT_NOTE FLAGS(0);	/* ___ */
}

SECTIONS
SECTIONS
{
{
	. = 0x00000000;
	. = 0x00000000;
@@ -33,6 +39,9 @@ SECTIONS


	_etext = .;		/* End of text section */
	_etext = .;		/* End of text section */


	NOTES :text :note
	BUG_TABLE :text

	RODATA
	RODATA


#ifdef CONFIG_SHARED_KERNEL
#ifdef CONFIG_SHARED_KERNEL
@@ -49,9 +58,6 @@ SECTIONS
		__stop___ex_table = .;
		__stop___ex_table = .;
	}
	}


	NOTES
	BUG_TABLE

	.data : {		/* Data */
	.data : {		/* Data */
		DATA_DATA
		DATA_DATA
		CONSTRUCTORS
		CONSTRUCTORS