summaryrefslogtreecommitdiff
path: root/libc/string/xtensa
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2014-03-24 02:07:15 +0400
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2014-04-01 11:59:44 +0200
commitd4ea30a415188e4e52688fbd214198fa633bb174 (patch)
treedc7e4db3632c9cded111e3d0b6f95c3d2805d913 /libc/string/xtensa
parent00b07e8ca5664985bbbbdc1d375407ac36124317 (diff)
xtensa: add missing .literal_position directives
This addition allows building uClibc with -mtext-section-literals Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/string/xtensa')
-rw-r--r--libc/string/xtensa/strcmp.S5
1 files changed, 3 insertions, 2 deletions
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 */