This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [arm] VxWorks target support
- From: Richard Earnshaw <rearnsha at gcc dot gnu dot org>
- To: Paul Brook <paul at codesourcery dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Thu, 06 Jan 2005 15:27:07 +0000
- Subject: Re: [arm] VxWorks target support
- Organization: GNU
- References: <200501061514.08435.paul@codesourcery.com>
On Thu, 2005-01-06 at 15:14, Paul Brook wrote:
> The attached patch adds support for the arm-vxworks target. Mostly mechanical,
> plus some changes fixing RELA relocations.
>
> Tested on arm-none-elf --enable-targets=all.
> Ok?
>
> Paul
>
> 2005-01-06 Paul Brook <paul@codesourcery.com>
>
> bfd/
> * config.bfd: Add entry for arm-*-vxworks and arm-*-windiss.
> * configure.in: Add bfd_elf32_{big,little}arm_vxworks_vec.
> * configure: Regenerate.
> * elf32-arm.c: Add VxWorks target bfd.
> (USE_REL): Remove.
> (elf32_arm_link_hash_table): Add use_rel.
> (elf32_arm_link_hash_table_create, elf32_arm_final_link_relocate,
> elf32_arm_relocate_section): Replace USE_REL with runtime check.
> Correct offset calculation for RELA case.
> (elf_backend_may_use_rel_p, elf_backend_may_use_rela_p,
> elf_backend_default_use_rela_p, elf_backend_rela_normal): Define.
> (elf32_arm_vxworks_link_hash_table_create): New function.
> * targets.c (bfd_elf32_bigarm_vxworks_vec): Add declaration.
> (bfd_elf32_littlearm_vxworks_vec): Ditto.
> (_bfd_target_vector): Add bfd_elf32_{big,little}arm_vxworks_vec.
> gas/
> * config/tc-arm.c (FPU_DEFAULT): Define for TE_VXWORKS.
> (md_begin): Handle TE_VXWORKS for FP defaults.
> (md_apply_fix3): Correct rela offsets.
> (elf32_arm_target_format): Add VxWorks targets.
> ld/
> * Makefie.am: Add earmelf_vxworks.
> * Makefile.in: Regenerate.
> * configure.tgt: Make arm-*-vxworks a separate case.
> * emulparams/armelf_vxworks.sh: New function.
OK.
R.