diff options
author | Nick Clifton <nickc@redhat.com> | 2001-08-01 15:18:32 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2001-08-01 15:18:32 +0000 |
commit | d8adc60f05ce2e4260c37bf4838a10ce7e431f78 (patch) | |
tree | 2c3f69940c611bd239d31406045cef044d94a08b /bfd | |
parent | 39c183c149bdfa422b5ae634deee800bb3524897 (diff) | |
download | gdb-d8adc60f05ce2e4260c37bf4838a10ce7e431f78.zip gdb-d8adc60f05ce2e4260c37bf4838a10ce7e431f78.tar.gz gdb-d8adc60f05ce2e4260c37bf4838a10ce7e431f78.tar.bz2 |
Replace VXWORKS with ARM_COFF_BUGFIX.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 8 | ||||
-rw-r--r-- | bfd/coff-arm.c | 8 | ||||
-rw-r--r-- | bfd/config.bfd | 3 |
3 files changed, 14 insertions, 5 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index e437630..f451dde 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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 diff --git a/bfd/coff-arm.c b/bfd/coff-arm.c index 8bb4e6c..bfedfdb 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 2989ded..33dc81d 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 |