PATCH: Correctly configure all big-endian ARM archs, not just arm*-*-linux-*.
Seth LaForge
sethml@google.com
Fri Feb 15 18:33:00 GMT 2013
On Fri, Feb 15, 2013 at 10:28 AM, Richard Earnshaw <rearnsha@arm.com> wrote:
> On 15/02/13 18:20, Seth LaForge wrote:
>> +# Handle big-endian ARM architectures.
>> +case ${target} in
>> +arm*b-*-*)
>> + tm_defines="${tm_defines} TARGET_BIG_ENDIAN_DEFAULT=1"
>> + ;;
>
> Not ok. This would mismatch on
>
> arm-blob-linux-gnueabi
>
> and cause it to be treated as big-endian.
I was under the impression that gcc target specs were always triplets;
there are certainly lots of references in the gcc docs to "gcc target
triplet".
Are there cases in which the target can have more than 3 components?
If so, I could certainly change the test to use a regexp, or inline it
all of the ARM handlers in the case statement below.
Seth
More information about the Gcc-patches
mailing list