From patchwork Fri Dec 21 10:02:35 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [RFA/4.7/ARM] Backport arm-*-linux-gnueabihf triplet support to 4.7 From: Matthew Gretton-Dann X-Patchwork-Id: 207775 Message-Id: To: Richard Earnshaw Cc: Matthias Klose , "gcc-patches@gcc.gnu.org" , "patches@linaro.org" , Richard Biener Date: Fri, 21 Dec 2012 10:02:35 +0000 On 17 December 2012 14:28, Richard Earnshaw wrote: > On 21/11/12 11:48, Matthew Gretton-Dann wrote: >> >> On 21 November 2012 00:05, Matthias Klose 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 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 + + * config.gcc: Match arm*-*-uclinux*eabi* for EABI uCLinux. + 2012-12-18 Matthew Gretton-Dann Backport from mainline