This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Zlib patch and gold arm-elf target bug report


Is there any reason why you are using ELF instead of EABI?  The
arm-elf tool-chain uses some deprecated relocation types, which are
not handled in gold.  In particular, the deprecated R_ARM_PC24
relocated type is not handled properly and caused the assert failure.

-Doug

在 2010年8月16日上午8:48,Rus <harbour@sfinx.od.ua> 寫道:
>
>        Hello,
>
> The following patch needed for compiling binutils with Werror :
>
> --- binutils-2.20.51.0.11/bfd/compress.c        2010-08-12
> 00:52:42.000000000 +0300
> +++ binutils-2.20.51.0.11-1/bfd/compress.c      2010-08-16
> 18:20:45.004000011 +0300
> @@ -94,7 +94,7 @@
>   bfd_set_error (bfd_error_invalid_operation);
>   return FALSE;
>  #else
> -  bfd_size_type compressed_size;
> +  uLongf compressed_size;
>   bfd_byte *compressed_buffer;
>
>   compressed_size = compressBound (uncompressed_size) + 12;
>
>
> I use 3 arches (x86, avr and arm-ef). 2 first are good, but 'make check' for
> arm-elf target is failed with :
>
> make[5]: `arm_abs_global.stdout' is up to date.
> ../ld-new -T ./arm_branch_range.t -o arm_bl_in_range arm_bl_in_range.o
> ../ld-new: internal error in relocate, at arm.cc:8944
> make[5]: *** [arm_bl_in_range] Error 1
> make[5]: Leaving directory
> `/Arhiv/Soft/src/binutils/1/binutils-2.20.51.0.11/gold/testsuite'
>
>
>                Rus
>


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