Patchwork [RFA/4.7/ARM] Backport arm-*-linux-gnueabihf triplet support to 4.7

login
register
mail settings
Submitter Matthew Gretton-Dann
Date Dec. 21, 2012, 10:02 a.m.
Message ID <CADSXKXremSKKoS_hSC07KH9mqKcknLb5fB-o-rTMEWjiBP9=aw@mail.gmail.com>
Download mbox | patch
Permalink /patch/207775/
State New
Headers show

Comments

Matthew Gretton-Dann - Dec. 21, 2012, 10:02 a.m.
On 17 December 2012 14:28, Richard Earnshaw <rearnsha@arm.com> wrote:
> On 21/11/12 11:48, Matthew Gretton-Dann wrote:
>>
>> On 21 November 2012 00:05, Matthias Klose <doko@ubuntu.com> wrote:
>>>
>>>
>>> looks fine, except one missing chunk from my original patch. maybe left
>>> out
>>> intentionally.
>>>
>>>    Matthias
>>>
>>> Index: b/src/gcc/config.gcc
>>> ===================================================================
>>> --- a/src/gcc/config.gcc
>>> +++ b/src/gcc/config.gcc
>>> @@ -934,7 +934,7 @@
>>>          tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h
>>> arm/linux-gas.h
>>> arm/uclinux-elf.h glibc-stdint.h"
>>>          tmake_file="arm/t-arm arm/t-arm-elf"
>>>          case ${target} in
>>> -       arm*-*-uclinux*eabi)
>>> +       arm*-*-uclinux*eabi*)
>>>              tm_file="$tm_file arm/bpabi.h arm/uclinux-eabi.h"
>>>              tmake_file="$tmake_file arm/t-bpabi"
>>>              # The BPABI long long divmod functions return a 128-bit
>>> value in
>>
>>
>> This change isn't in your commit to trunk of 2012-10-15 which is what
>> I backported.  This is because Richard Earnshaw effectively made this
>> change when he removed FPA support (SVN rev 188510).
>>
>> I'm happy to do a patch that makes this change - but I think it should
>> be a separate patch to this backport one.
>>
>
> I would have thought this ought to be done for consistency.

Committed above as obvious (after discussions off-list with Richard
Earnshaw).  Attached patch shows what was actually committed.

Thanks,

Matt


--
Matthew Gretton-Dann
Linaro Toolchain Working Group
matthew.gretton-dann@linaro.org

Patch

Index: gcc/config.gcc
===================================================================
--- gcc/config.gcc	(revision 194655)
+++ gcc/config.gcc	(working copy)
@@ -882,7 +882,7 @@ 
 	tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/linux-gas.h arm/uclinux-elf.h glibc-stdint.h"
 	tmake_file="arm/t-arm arm/t-arm-elf"
 	case ${target} in
-	arm*-*-uclinux*eabi)
+	arm*-*-uclinux*eabi*)
 	    tm_file="$tm_file arm/bpabi.h arm/uclinux-eabi.h"
 	    tmake_file="$tmake_file arm/t-bpabi"
   	    # The BPABI long long divmod functions return a 128-bit value in
Index: gcc/ChangeLog
===================================================================
--- gcc/ChangeLog	(revision 194655)
+++ gcc/ChangeLog	(working copy)
@@ -1,3 +1,7 @@ 
+2012-12-21  Matthew Gretton-Dann  <matthew.gretton-dann@linaro.org>
+
+	* config.gcc: Match arm*-*-uclinux*eabi* for EABI uCLinux.
+
 2012-12-18  Matthew Gretton-Dann  <matthew.gretton-dann@linaro.org>
 
 	Backport from mainline