Commit 7de80284 authored by Andreas Schwab's avatar Andreas Schwab Committed by Benjamin Herrenschmidt

powerpc: Fix segment mapping in vdso32

Due to missing segment assignments the .text section was put in the NOTES
segment (and marked as NOTE section), and the .got was put in the DYNAMIC
segment.
Signed-off-by: default avatarAndreas Schwab <schwab@linux-m68k.org>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 171fb125
...@@ -25,7 +25,7 @@ SECTIONS ...@@ -25,7 +25,7 @@ SECTIONS
. = ALIGN(16); . = ALIGN(16);
.text : { .text : {
*(.text .stub .text.* .gnu.linkonce.t.* __ftr_alt_*) *(.text .stub .text.* .gnu.linkonce.t.* __ftr_alt_*)
} } :text
PROVIDE(__etext = .); PROVIDE(__etext = .);
PROVIDE(_etext = .); PROVIDE(_etext = .);
PROVIDE(etext = .); PROVIDE(etext = .);
...@@ -56,7 +56,7 @@ SECTIONS ...@@ -56,7 +56,7 @@ SECTIONS
.fixup : { *(.fixup) } .fixup : { *(.fixup) }
.dynamic : { *(.dynamic) } :text :dynamic .dynamic : { *(.dynamic) } :text :dynamic
.got : { *(.got) } .got : { *(.got) } :text
.plt : { *(.plt) } .plt : { *(.plt) }
_end = .; _end = .;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment