[ECOS] ecosSWtools problems.2

Robin Farine advanc@dial.eunet.ch
Wed Aug 11 00:13:00 GMT 1999


Hi,

Sorry, yesterday I forgot to include the mentioned BFD fix in my posting ...

Robin

----------- cut here --------------

*** ecosSWtools-arm-990321.orig/src/bfd/elf32-arm.h     Fri May  7 16:35:05 1999
--- ecosSWtools-arm-990321/src/bfd/elf32-arm.h  Sat Aug  7 13:46:00 1999
***************
*** 913,917 ****
                + input_section->output_offset + 8);
        value -= offset;
!       value = value >> howto->rightshift;
  
        value &= 0xffffff;
--- 913,920 ----
                + input_section->output_offset + 8);
        value -= offset;
!       value = (bfd_signed_vma)value >> howto->rightshift;
!       if ((bfd_signed_vma) value > 0x7fffff ||
!         (bfd_signed_vma) value < -0x800000)
!       return bfd_reloc_overflow;
  
        value &= 0xffffff;


More information about the Ecos-discuss mailing list