This is the mail archive of the mailing list for the binutils project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: FYI: sparc-rtems does not build on 64-bit host

Hi Daniel,

Without sparc64 configured in, bdf_elf64_swap_reloca_out is not available.

I have been using this as a local patch to work around this problem:

Index: bfd/config.bfd
RCS file: /cvs/src/src/bfd/config.bfd,v
retrieving revision 1.211
diff -c -3 -p -r1.211 config.bfd
*** bfd/config.bfd	4 Aug 2006 13:13:55 -0000	1.211
--- bfd/config.bfd	9 Aug 2006 08:01:28 -0000
*************** case "${targ}" in
*** 1309,1314 ****
--- 1309,1317 ----
    sparc-*-elf* | sparc-*-solaris2.[0-6] | sparc-*-solaris2.[0-6].*)
+ #ifdef BFD64
+     targ_selvecs="$targ_selvecs bfd_elf64_sparc_vec"
+ #endif
  #ifdef BFD64
    sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*)

But I am not yet convinced that it is the right thing to do, and of course it would need to be extended to other sparc targets as well, so I have not yet applied it to the mainline.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]