Summary: | arch/ppc64/kernel/vdso32/vdso32.so: The first section in the PT_DYNAMIC segment is not the .dynamic section | ||
---|---|---|---|
Product: | binutils | Reporter: | Olaf Hering <olh> |
Component: | ld | Assignee: | unassigned |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bug-binutils |
Priority: | P2 | ||
Version: | 2.17 | ||
Target Milestone: | --- | ||
Host: | powerpc-linux | Target: | powerpc-linux |
Build: | powerpc-linux | Last reconfirmed: | |
Attachments: | binutils-bug1042.tar.bz2 |
Description
Olaf Hering
2005-07-02 18:22:53 UTC
Created attachment 533 [details] binutils-bug1042.tar.bz2 sh test.sh 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 |