This is the mail archive of the gas2@sourceware.cygnus.com mailing list for the gas2 project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
I have narrowed this down about as far as I can without getting some advice. :) It is a bug in the bfd/configure.in script and easy to reproduce in binutils 2.9. Here's how: mkdir build ../binutils-2.9/bfd/configure --target=powerpc-rtems Edit the generated Makefile and search for "tdefaults". It will look like this: tdefaults = -DDEFAULT_VECTOR=bfd_elf32_powerpc_vec -DSELECT_VECS='&bfd_elf32_powerpc_vec,&rs6000coff_vec,&bfd_elf32_powerpcle_vec,&bfd_powerpcle_pei_vec,&bfd_powerpc_pei_vec,&bfd_powerpcle_pe_vec,&bfd_powerpc_pe_vec,&ppcboot_vec' -DSELECT_ARCHITECTURES='&bfd_rs6000_arch,&bfd_powerpc_arch' -DHAVE_bfd_elf32_powerpc_vec -DHAVE_rs6000coff_vec -DHAVE_bfd_elf32_powerpcle_vec -DHAVE_bfd_powerpcle_pei_vec -DHAVE_bfd_powerpc_pei_vec -DHAVE_bfd_powerpcle_pe_vec -DHAVE_bfd_powerpc_pe_vec -DHAVE_ppcboot_vec Then clean the build directory and try this one: ../binutils-2.9/bfd/configure --target=powerpc-rtems --enable-targets=all And the definition of tdefaults is changed to: tdefaults = -DDEFAULT_VECTOR=bfd_elf32_powerpc_vec I am going to try to fix this here but thought this might be enough to trip someone into know what the problem was. --joel