[U-Boot] [PATCH] sh: only add -mno-fdpic if the compiler supports it

Nobuhiro Iwamatsu iwamatsu at nigauri.org
Fri Oct 21 06:00:20 CEST 2011


Applied. Thanks.

Nobuhiro

2011/10/13  <phil.edworthy at renesas.com>:
> Hi Mike,
>
> Mike Frysinger wrote on 13/10/2011 05:45:47:
>> Not all SuperH toolchains support -mno-fdpic.  Chances are good that if
>> the flag doesn't work, it isn't defaulting to the FDPIC ABI, so the flag
>> isn't needed.  So only add it if it is actually supported.
>>
>> Signed-off-by: Mike Frysinger <vapier at gentoo.org>
>> ---
>
> Tested on SH7264 with CodeSourcery 2011.03 SH2A toolchain.
>
> Thanks
> Phil
>



-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6


More information about the U-Boot mailing list