Hi Marco,
I have encountered a problem linking a binary format executable with
target ARM. No matter whatever I link, when I use --oformat binary the
result is always the same: segmentation fault.
It is a known problem for the ARM port of the linker that you cannot
convert to the binary fo
Hi Jean-Marie,
Please could you upload a small testcase so that we can reproduce
this bug and investigate how to fix it ?
Cheers
Nick
___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils
--- Additional Comments From nickc at redhat dot com 2008-10-22 14:31
---
Subject: Re: New: ld fails in coffcode.h line 842 in handle_COMDAT
Hi Jean-Marie,
Please could you upload a small testcase so that we can reproduce
this bug and investigate how to fix it ?
Cheers
Nick
--- Additional Comments From nickc at redhat dot com 2008-10-22 14:46
---
Hi Guys,
Well - I do not know how to resolve this PR, but it seems obvious thatmy
original patch was wrong, so I am going to revert it.
Cheers
Nick
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6937
--- Additional Comments From nickc at redhat dot com 2008-10-22 14:49
---
Created an attachment (id=3018)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=3018&action=view)
Do not update the vma's of output sections when performing a relocatable link
on COFF objects.
--
http:/
--- Additional Comments From nickc at redhat dot com 2008-10-22 14:51
---
Hi Mikael,
Please could you try out the uploaded patch and see if it works for you. I
think that it does the right thing, although I am not very happy with the method
I have chosen. Still it does not seem to
--- Additional Comments From ps dot m at gmx dot net 2008-10-22 18:13
---
earlier there was a PIC version of libiberty.a built in a subdirectory pic/ if
target supports it, maybe we could reenable it and use that to link,
alternatively libiberty.a could be always built PIC (PICFLAGS=-fPI
--- Additional Comments From ps dot m at gmx dot net 2008-10-22 18:19
---
forgot to mention, if libiberty.a is not PIC, it will be buggy for cygwin too
and if it is installed into any target (the binutils provided libiberty.a is
usually installed on most distros I saw), it is not allowed