From mboxrd@z Thu Jan 1 00:00:00 1970 From: hjl@lucon.org (H.J. Lu) To: mark@codesourcery.com (Mark Mitchell) Cc: ian@zembu.com (Ian Lance Taylor), binutils@sourceware.cygnus.com Subject: Re: A 32bit BFD patch Date: Sun, 11 Jul 1999 00:26:00 -0000 Message-id: <19990711072608.BB14157B9@ocean.lucon.org> References: <19990710235053Q.mitchell@codesourcery.com> X-SW-Source: 1999-q3/msg00129.html > > > H.J., what exactly are the places that fail on a 32-bit host? I made > an effort to conditionalize the places that required 64-bit support > with `#ifdef BFD_64' (or BFD64, I forget which one is the right > spelling). > > If you can tell me where the problems lie, I bet I conditionalize the > right sections. > # cd bfd # elf64 elf32-mips.c ? bfd_elf64_add_dynamic_entry (info, tag, val) \ bfd_mips_elf64_swap_reginfo_in (abfd, ex, in) bfd_mips_elf64_swap_reginfo_out (abfd, in, ex) bfd_mips_elf64_swap_reginfo_in ? bfd_elf64_bfd_final_link (abfd, info) bfd_elf64_add_dynamic_entry and bfd_elf64_bfd_final_link are only available for 64bit bfd. You can verify it by doing # ..../configure --enable-targets=all --enable-shared on Linux/x86. -- H.J. Lu (hjl@gnu.org)