kumquat-buildroot/package/gcc/arc-2014.08
Alexey Brodkin b94949efb3 ARC: gcc - fixes for improperly calculated jump/branch offsets
Symptoms usually seen are like that:
--->---
Error: operand out of range (128 is not between -128 and 127)
--->---
where range may differ.

Since compiler tries to use jump/branch instructions with the shortest encoding
of offset it's important to calculate required offset properly.

In case of miscalculation by compiler later assembler throws an error because of
inability to encode requested value.

Fixes are taken from current development branch of GCC for ARC and will be a
part of the next release of ARC tools, so at that point patch should be dropped.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Anton Kolesov <akolesov@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-10-08 20:55:28 +02:00
..
100-libstdcxx-uclibc-c99.patch
200-size_type_unsigned_int.patch
300-ptrdiff_type_int.patch gcc: add new fix for the ARC 2014.08 gcc version 2014-09-23 22:14:15 +02:00
400-call-arc_hazard-before-branch-shortening.patch ARC: gcc - fixes for improperly calculated jump/branch offsets 2014-10-08 20:55:28 +02:00
401-fix-length-attribute-for-casesi_load-pattern.patch ARC: gcc - fixes for improperly calculated jump/branch offsets 2014-10-08 20:55:28 +02:00
402-fix-length-of-instructions-that-are-in-delay-slot-and-needs-to-be-predicated.patch ARC: gcc - fixes for improperly calculated jump/branch offsets 2014-10-08 20:55:28 +02:00
403-update-casesi_compact_jump-instruction-length.patch ARC: gcc - fixes for improperly calculated jump/branch offsets 2014-10-08 20:55:28 +02:00