]> sourceware.org Git - newlib-cygwin.git/commit
Fix support ARC processors without barrel-shifter
authorJeff Johnston <jjohnstn@redhat.com>
Mon, 2 May 2016 16:04:40 +0000 (12:04 -0400)
committerJeff Johnston <jjohnstn@redhat.com>
Mon, 2 May 2016 16:04:40 +0000 (12:04 -0400)
commit11afe8f6b65d391ab47e3948c469a0c28c1b41eb
tree21a53870a5c3bf33d8ffd87470ea8283462c0db0
parentcd494f7038ac739bee69775f91e02693f2734e79
Fix support ARC processors without barrel-shifter

crt0.S for ARC used to use instruction "asr.f lp_count, r3, 2" for all cores
except ARC601. However instructions which shift more than 1 bit are
optional, so this crt0.S didn't worked for all ARC cores.

Luckily this is a shift just by 2 bits on all occassions, so fix is trivial
- use two single-bit shifts.

libgloss/ChangeLog

2016-04-29  Anton Kolesov  <anton.kolesov@synopsys.com>

        * arc/crt0.S: Fix support for processors without barrel-shifter.

Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com>
libgloss/arc/crt0.S
This page took 0.029699 seconds and 5 git commands to generate.