This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: A 32bit BFD patch
- To: mark@codesourcery.com (Mark Mitchell)
- Subject: Re: A 32bit BFD patch
- From: hjl@lucon.org (H.J. Lu)
- Date: Sun, 11 Jul 1999 00:26:08 -0700 (PDT)
- Cc: ian@zembu.com (Ian Lance Taylor), binutils@sourceware.cygnus.com
>
>
> 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)