Skip to content

Commit

Permalink
powerpc: Fix segment mapping in vdso32
Browse files Browse the repository at this point in the history
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: Andreas Schwab <[email protected]>
Signed-off-by: Benjamin Herrenschmidt <[email protected]>
  • Loading branch information
andreas-schwab authored and ozbenh committed Oct 27, 2009
1 parent 171fb12 commit 7de8028
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/powerpc/kernel/vdso32/vdso32.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ SECTIONS
. = ALIGN(16);
.text : {
*(.text .stub .text.* .gnu.linkonce.t.* __ftr_alt_*)
}
} :text
PROVIDE(__etext = .);
PROVIDE(_etext = .);
PROVIDE(etext = .);
Expand Down Expand Up @@ -56,7 +56,7 @@ SECTIONS
.fixup : { *(.fixup) }

.dynamic : { *(.dynamic) } :text :dynamic
.got : { *(.got) }
.got : { *(.got) } :text
.plt : { *(.plt) }

_end = .;
Expand Down

0 comments on commit 7de8028

Please sign in to comment.