This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [AArch64] Binutils/gas/ld port for ARM's new 64-bit architecture, AArch64 [3/6] bfd changes v2
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: Benedikt Schroefel <b dot schroefel at gmx dot net>
- Cc: "binutils at sources dot redhat dot com" <binutils at sources dot redhat dot com>
- Date: Wed, 08 Aug 2012 13:17:59 +0100
- Subject: Re: [AArch64] Binutils/gas/ld port for ARM's new 64-bit architecture, AArch64 [3/6] bfd changes v2
- References: <50169862.7000705@arm.com> <50169F27.80604@arm.com> <50214D76.3010509@arm.com> <loom.20120808T114941-160@post.gmane.org>
On 08/08/12 10:56, Benedikt Schroefel wrote:
> Yufeng Zhang <Yufeng.Zhang <at> arm.com> writes:
>
>>
>> Hi,
>>
>> Please find the updated patch that adds the bfd changes of the AArch64
>> target support.
>>
>> The patch fixes
>>
>> * the empty initializer issue as mentioned in
>> http://sourceware.org/ml/binutils/2012-07/msg00277.html
>>
>> * the missing parameter issue as mentioned in
>> http://sourceware.org/ml/binutils/2012-07/msg00322.html
>>
>> Thanks,
>> Yufeng
>>
>
> Hello Yufeng,
>
> it seems that the patch 3/6 fails with the latest binutils
> (http://ftp.gnu.org/gnu/binutils/binutils-2.22.tar.gz):
>
This patch is against the development version of binutils (CVS trunk).
You can't expect it to work against a 10-month old version without rework.
R.
> user@linux:~/armv8/binutils$ patch -p 1 --dry-run < patch/aarch64_3_6_v2.patch
>
> creates the following error messages:
>
> Hunk #1 FAILED at 461.
> Hunk #2 succeeded at 484 (offset -21 lines).
> Hunk #3 succeeded at 565 (offset -26 lines).
> 1 out of 3 hunks FAILED -- saving rejects to file bfd/archures.c.rej
>
> Hunk #1 succeeded at 813 (offset -19 lines).
> Hunk #2 FAILED at 841.
> 1 out of 2 hunks FAILED -- saving rejects to file bfd/configure.in.rej
>
> Hunk #1 succeeded at 5619 (offset -265 lines).
> Hunk #2 succeeded at 6022 with fuzz 1 (offset -293 lines).
> Hunk #3 FAILED at 6507.
> 1 out of 3 hunks FAILED -- saving rejects to file bfd/reloc.c.rej
>
> Which binutils version have you used to create the patch? Maybe 2.22 isn't the
> right one for this patch.
>
> Thank you very much
> regards
>
> Benedikt
>
>
>
>
>
>