]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm: armv7m: remove un-necessary If then instruction
authorVikas Manocha <vikas.manocha@st.com>
Fri, 31 Aug 2018 23:39:36 +0000 (16:39 -0700)
committerTom Rini <trini@konsulko.com>
Tue, 11 Sep 2018 01:19:33 +0000 (21:19 -0400)
With gas option -mimplicit-it=always, IT block is inserted by the assembler
for thumb2.

Signed-off-by: Vikas Manocha <vikas.manocha@st.com>
arch/arm/lib/crt0.S

index 0decce2c5b25e2292a48f34e6b14aebc8d5e0502..d7ff9f0e5f90942fe4ecc3578b2aba8a5759201f 100644 (file)
@@ -139,9 +139,6 @@ here:
        mov     r2, #0x00000000         /* prepare zero to clear BSS */
 
 clbss_l:cmp    r0, r1                  /* while not at end of BSS */
-#if defined(CONFIG_CPU_V7M)
-       itt     lo
-#endif
        strlo   r2, [r0]                /* clear 32-bit BSS word */
        addlo   r0, r0, #4              /* move to next */
        blo     clbss_l