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

Commit e95c9182 authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Paul Mackerras
Browse files

[POWERPC] Fix link errors for allyesconfig



An allyesconfig build creates a .text section that is so big that the
.text.init.refok and .fixup sections are too far away for the relocations
to be fixed up correctly. This patch fixes that by linking all the
relevent text sections for each file together.

Suggested by Paul Mackerras.

Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 18244cfb
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -37,11 +37,10 @@ SECTIONS
		ALIGN_FUNCTION();
		*(.text.head)
		_text = .;
		TEXT_TEXT
		*(.text .fixup .text.init.refok .exit.text.refok)
		SCHED_TEXT
		LOCK_TEXT
		KPROBES_TEXT
		*(.fixup)

#ifdef CONFIG_PPC32
		*(.got1)