Replace VXWORKS with ARM_COFF_BUGFIX.

This commit is contained in:
Nick Clifton 2001-08-01 15:18:32 +00:00
parent 39c183c149
commit d8adc60f05
3 changed files with 14 additions and 5 deletions

View File

@ -1,3 +1,11 @@
2001-08-01 Nick Clifton <nickc@cambridge.redhat.com>
* config.bfd (arm-vxworks): Change name of define from VXWORKS to
ARM_COFF_BUGFIX.
(arm-epoc-pe): Define ARM_COFF_BUGFIX.
coff-arm.c (coff_arm_relocate_section): Replace VXWORKS with
ARM_COFF_BUGFIX.
2001-07-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* libecoff.h (_bfd_ecoff_styp_to_sec_flags): Changed return type

View File

@ -1246,10 +1246,10 @@ coff_arm_relocate_section (output_bfd, info, input_bfd, input_section,
continue;
/* FIXME - it is not clear which targets need this next test
and which do not. It is known that it is needed for the
VXworks target (hence the #ifdef), but it is also known
that it was supressed for other (arm) targets. This ought
to be sorted out one day. */
#ifdef VXWORKS
VxWorks and EPOC-PE targets, but it is also known that it
was supressed for other ARM targets. This ought to be
sorted out one day. */
#ifdef ARM_COFF_BUGFIX
/* We must not ignore the symbol value. If the symbol is
within the same section, the relocation should have already
been fixed, but if it is not, we'll be handed a reloc into

View File

@ -120,6 +120,7 @@ case "${targ}" in
targ_defvec=arm_epoc_pe_little_vec
targ_selvecs="arm_epoc_pe_little_vec arm_epoc_pe_big_vec arm_epoc_pei_little_vec arm_epoc_pei_big_vec"
targ_underscore=no
targ_cflags=-DARM_COFF_BUGFIX
;;
arm-wince-pe | arm-*-wince)
targ_defvec=armpe_little_vec
@ -144,7 +145,7 @@ case "${targ}" in
targ_defvec=armcoff_little_vec
targ_selvecs=armcoff_big_vec
targ_underscore=yes
targ_cflags=-DVXWORKS
targ_cflags=-DARM_COFF_BUGFIX
;;
arm-*-coff)
targ_defvec=armcoff_little_vec