From d4ea30a415188e4e52688fbd214198fa633bb174 Mon Sep 17 00:00:00 2001 From: Max Filippov Date: Mon, 24 Mar 2014 02:07:15 +0400 Subject: xtensa: add missing .literal_position directives This addition allows building uClibc with -mtext-section-literals Signed-off-by: Max Filippov Signed-off-by: Bernhard Reutner-Fischer --- libc/string/xtensa/strcmp.S | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libc/string') diff --git a/libc/string/xtensa/strcmp.S b/libc/string/xtensa/strcmp.S index d3d72e047..8ed1ed009 100644 --- a/libc/string/xtensa/strcmp.S +++ b/libc/string/xtensa/strcmp.S @@ -34,13 +34,14 @@ #define MASK4 0x40404040 + .text + .align 4 + .literal_position .literal .Lmask0, MASK0 .literal .Lmask1, MASK1 .literal .Lmask2, MASK2 .literal .Lmask3, MASK3 .literal .Lmask4, MASK4 - - .text ENTRY (strcmp) /* a2 = s1, a3 = s2 */ -- cgit v1.2.3