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

Commit 7664709b authored by Sam Ravnborg's avatar Sam Ravnborg
Browse files

all-archs: consolidate .text section definition in asm-generic



Move definition of .text section to asm-generic.

Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
parent cd547791
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@ SECTIONS

  _text = .;					/* Text and read-only data */
  .text : { 
	*(.text) 
	TEXT_TEXT
	SCHED_TEXT
	LOCK_TEXT
	*(.fixup)
+1 −1
Original line number Diff line number Diff line
@@ -90,7 +90,7 @@ SECTIONS
			__exception_text_start = .;
			*(.exception.text)
			__exception_text_end = .;
			*(.text)
			TEXT_TEXT
			SCHED_TEXT
			LOCK_TEXT
#ifdef CONFIG_MMU
+1 −1
Original line number Diff line number Diff line
@@ -64,7 +64,7 @@ SECTIONS

	.text : {			/* Real text segment		*/
		_text = .;		/* Text and read-only data	*/
			*(.text)
			TEXT_TEXT
			SCHED_TEXT
			LOCK_TEXT       /* FIXME - borrowed from arm32 - check*/
			*(.fixup)
+1 −1
Original line number Diff line number Diff line
@@ -65,7 +65,7 @@ SECTIONS

	.text : {			/* Real text segment		*/
		_text = .;		/* Text and read-only data	*/
			*(.text)
			TEXT_TEXT
			SCHED_TEXT
			LOCK_TEXT
			*(.fixup)
+1 −1
Original line number Diff line number Diff line
@@ -76,7 +76,7 @@ SECTIONS
		. = 0x100;
		*(.scall.text)
		*(.irq.text)
		*(.text)
		TEXT_TEXT
		SCHED_TEXT
		LOCK_TEXT
		KPROBES_TEXT
Loading