arm: lib: Fix fix push/pop-section directives
authorMarek Vasut <marex@denx.de>
Sat, 4 Jun 2016 22:46:55 +0000 (00:46 +0200)
committerTom Rini <trini@konsulko.com>
Sat, 4 Jun 2016 23:25:14 +0000 (19:25 -0400)
Repair typos in the previous "arm: lib: fix push/pop-section directives"
patch, which prevented VCMA9 board from building.

Signed-off-by: Marek Vasut <marex@denx.de>
Fixes: b2f1858455e9 ("arm: lib: fix push/pop-section directives")
Cc: Tom Warren <twarren@nvidia.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Stephen Warren <swarren@nvidia.com>
arch/arm/lib/lib1funcs.S

index 9bf93ceb14e7240e0ec2c801b845254cda5f128b..76968cee1729382e430f5f2e27a915c2ac05894a 100644 (file)
@@ -367,9 +367,9 @@ UNWIND(.fnend)
 ENDPROC(Ldiv0)
 .popsection
 
-.pushsection .text.__gnu_thumb1_case_sqi, "ax"
 /* Thumb-1 specialities */
 #if defined(CONFIG_SYS_THUMB_BUILD) && !defined(CONFIG_HAS_THUMB2)
+.pushsection .text.__gnu_thumb1_case_sqi, "ax"
 ENTRY(__gnu_thumb1_case_sqi)
        push    {r1}
        mov     r1, lr
@@ -383,7 +383,7 @@ ENTRY(__gnu_thumb1_case_sqi)
 ENDPROC(__gnu_thumb1_case_sqi)
 .popsection
 
-_.pushsection .text.__gnu_thumb1_case_uqi, "ax"
+.pushsection .text.__gnu_thumb1_case_uqi, "ax"
 ENTRY(__gnu_thumb1_case_uqi)
        push    {r1}
        mov     r1, lr