[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/1042] arch/ppc64/kernel/vdso32/vdso32.so: The first section in t
From: |
amodra at bigpond dot net dot au |
Subject: |
[Bug ld/1042] arch/ppc64/kernel/vdso32/vdso32.so: The first section in the PT_DYNAMIC segment is not the .dynamic section |
Date: |
4 Jul 2005 10:33:02 -0000 |
------- Additional Comments From amodra at bigpond dot net dot au 2005-07-04
10:32 -------
This is a result of vdso32.lds not specifying where to place .plt, and ld
ignoring the fact that .plt will be stripped from the output. One fix is to
specify .plt as follows.
--- vdso32.lds~ 2005-07-03 00:36:32.000000000 +0930
+++ vdso32.lds 2005-07-04 16:54:27.381552010 +0930
@@ -45,8 +45,9 @@
.eh_frame : { KEEP (*(.eh_frame)) } :text
.gcc_except_table : { *(.gcc_except_table) }
.fixup : { *(.fixup) }
- .got ALIGN(4) : { *(.got.plt) *(.got) }
.dynamic : { *(.dynamic) } :text :dynamic
+ .got : { *(.got) }
+ .plt : { *(.plt) }
_end = .;
__end = .;
PROVIDE (end = .);
I've also committing a linker fix.
http://sources.redhat.com/ml/binutils-cvs/2005-07/msg00016.html
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
GCC build triplet|powerpc64-linux |powerpc-linux
GCC host triplet|powerpc64-linux |powerpc-linux
GCC target triplet|powerpc64-linux |powerpc-linux
Resolution| |FIXED
http://sources.redhat.com/bugzilla/show_bug.cgi?id=1042
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug ld/1042] arch/ppc64/kernel/vdso32/vdso32.so: The first section in the PT_DYNAMIC segment is not the .dynamic section,
amodra at bigpond dot net dot au <=