[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: i960-intel-elf targetted ld version 2.12.1 cannot link files.
From: |
Nick Clifton |
Subject: |
Re: i960-intel-elf targetted ld version 2.12.1 cannot link files. |
Date: |
14 Jun 2002 16:45:56 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 |
Hi Martin,
> The GNU linker, cannot link it at all. Here are the
> complete commands used to assemble, link and the linker error:
>
> $ i960-intel-elf-as i960-test.s -o i960-test.o
> $ i960-intel-elf-ld -o i960-linked.o i960-test.o
> i960-intel-elf-ld: failed to set dynamic section sizes: File format not
> recognized
Please try the attached patch. If it works, let me know and I will
check it in to the binutils sources.
Cheers
Nick
Index: bfd/elflink.h
===================================================================
RCS file: /cvs/src/src/bfd/elflink.h,v
retrieving revision 1.166
diff -c -3 -p -w -r1.166 elflink.h
*** bfd/elflink.h 12 Jun 2002 18:14:05 -0000 1.166
--- bfd/elflink.h 14 Jun 2002 15:44:44 -0000
*************** NAME(bfd_elf,size_dynamic_sections) (out
*** 3053,3059 ****
return true;
if (! is_elf_hash_table (info))
! return false;
/* Any syms created from now on start with -1 in
got.refcount/offset and plt.refcount/offset. */
--- 3053,3059 ----
return true;
if (! is_elf_hash_table (info))
! return true;
/* Any syms created from now on start with -1 in
got.refcount/offset and plt.refcount/offset. */