PR16350 patch ping - gcc doesn't understand big-endian ARM
Lennert Buytenhek
buytenh@wantstofly.org
Thu Mar 24 10:46:00 GMT 2005
On Thu, Mar 24, 2005 at 01:20:15PM +0300, Alexey Neyman wrote:
> > @@ -650,6 +650,11 @@
> > ;;
> > arm*-*-linux*) # ARM GNU/Linux with ELF
> > tm_file="dbxelf.h elfos.h linux.h arm/elf.h arm/linux-gas.h arm/linux-elf.h arm/aout.h arm/arm.h"
> > + case $target in
> > + arm*b-*)
>
> I guess this needs to be "arm*b-*-*". Otherwise, you are going to
> switch to big-endian defaults in case that the vendor name contains
> the letter 'b'.
s/contains/ends in/
Indeed, but your regex would still misdetect "arm-b-linux-gnu" as
big-endian. :-)
I've made it "arm*b-*-linux*" now, and attached new patches to PR16350.
--L
More information about the Gcc-patches
mailing list