A 32bit BFD patch
H.J. Lu
hjl@lucon.org
Sun Jul 11 00:26:00 GMT 1999
>
>
> 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)
More information about the Binutils
mailing list