From: Nick Clifton Date: Wed, 1 Aug 2001 15:18:32 +0000 (+0000) Subject: Replace VXWORKS with ARM_COFF_BUGFIX. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d8adc60f05ce2e4260c37bf4838a10ce7e431f78;p=binutils-gdb.git Replace VXWORKS with ARM_COFF_BUGFIX. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index e43763075ac..f451dde616e 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,11 @@ +2001-08-01 Nick Clifton + + * 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 * libecoff.h (_bfd_ecoff_styp_to_sec_flags): Changed return type diff --git a/bfd/coff-arm.c b/bfd/coff-arm.c index 8bb4e6c4940..bfedfdbc68a 100644 --- a/bfd/coff-arm.c +++ b/bfd/coff-arm.c @@ -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 diff --git a/bfd/config.bfd b/bfd/config.bfd index 2989dedb1b1..33dc81d399a 100644 --- a/bfd/config.bfd +++ b/bfd/config.bfd @@ -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