This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Zlib patch and gold arm-elf target bug report
- From: =?big5?b?RG91ZyBLd2FuICjD9q62vHcp?= <dougkwan at google dot com>
- To: Rus <harbour at sfinx dot od dot ua>
- Cc: binutils at sourceware dot org
- Date: Mon, 16 Aug 2010 13:20:27 -0700
- Subject: Re: Zlib patch and gold arm-elf target bug report
- References: <Pine.LNX.4.64.1008161843130.405@KT.Od.UA>
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
>