This is the mail archive of the ecos-discuss@sourceware.cygnus.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[ECOS] ecosSWtools problems.2


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;

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]