[PATCH] Create ".dynamic" section earlier
H. J. Lu
hjl@lucon.org
Fri Jun 9 15:38:00 GMT 2006
On Fri, Jun 09, 2006 at 10:14:24AM -0400, Fred Fish wrote:
> When testing gdb for various mips*-elf toolchains I'm getting link errors like the following
> edited message:
>
> gdb compile failed, ld: gdb1555.so: The first section in the PT_DYNAMIC segment is not the .dynamic section
> ld: final link failed: Bad value
> collect2: ld returned 1 exit status
>
> Attached is a patch that fixes it, though I'm not sure it is the best
> way to handle the issue.
>
I have seen similar one before. I thought I fixed it with
http://sourceware.org/ml/binutils/2006-05/msg00508.html
I may have missed this one. Do you have a testcase?
H.J.
More information about the Binutils
mailing list