Skip to content
Commit bafe6803 authored by Haavard Skinnemoen's avatar Haavard Skinnemoen
Browse files

avr32: Work around byteswap bug in gcc < 4.2



gcc versions earlier than 4.2 sign-extends the result of le16_to_cpu()
and friends when we implement __arch__swabX() using
__builtin_bswap_X(). Disable our arch-specific optimizations when those
gcc versions are being used.

Signed-off-by: default avatarHaavard Skinnemoen <hskinnemoen@atmel.com>
parent d395991c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment