Hello, trying to build libbfd and the other binutils tools native for x86_64 mingw, I noticed some bugs in libbfd and other places, where the type "long" was used instead of the bfd_vma type for may pointer values. Also I introduced for libiberty "splay-tree.h" a necessary patch about pointer/long sizes. ChangeLogs: For bfd: 2007-04-10 Kai Tietz * bfd/coffcode.h: Replace use of long by bfd_vma. * bfd/coffgen.c: Likewise. * bfd/elf-eh-frame.c: Likewise. * bfd/peicode.h: Likewise. For binutils: 2007-04-10 Kai Tietz * binutils/resres.c: Cast sizeof explicit to type "long". For gas: 2007-04-10 Kai Tietz * gas/symbols.c: Replace use of long by bfd_vma and print via fprintf_vma. * gas/write.c: Likewise. For gprof: 2007-04-10 Kai Tietz * gprof/cg_print.c: Explict cast sizeof to long. * gprof/hist.c: Likewise. For include: 2007-04-10 Kai Tietz * include/splay-tree.h: (libi_uhostptr_t): New type. (libi_shostptr_t): New type. (splay_tree_key, splay_tree_value): Use libi_uhostptr_t type. * include/coff/internal.h: (_n_zeroes, _n_offset): Type vma_bfd. For libiberty: 2007-04-10 Kai Tietz * libiberty/strerror.c: Undefine sys_nerr and sys_errlist for w64 sake. Regards, i.A. Kai Tietz ------------------------------------------------------------------------------------------ OneVision Software Entwicklungs GmbH & Co. KG Dr.-Leo-Ritter-Straße 9 - 93049 Regensburg Tel: +49.(0)941.78004.0 - Fax: +49.(0)941.78004.489 - www.OneVision.com Commerzbank Regensburg - BLZ 750 400 62 - Konto 6011050 Handelsregister: HRA 6744, Amtsgericht Regensburg Komplementärin: OneVision Software Entwicklungs Verwaltungs GmbH Dr.-Leo-Ritter-Straße 9 – 93049 Regensburg Handelsregister: HRB 8932, Amtsgericht Regensburg - Geschäftsführer: Ulrike Döhler, Manuela Kluger