aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh.poyarekar@linaro.org>2018-06-29 16:24:57 +0530
committerSiddhesh Poyarekar <siddhesh.poyarekar@linaro.org>2018-06-29 16:26:13 +0530
commit071fe283b28ddc7d74620ba07ee075b8ee79499b (patch)
tree4cbaaa97a811e3a3a05f7450d94c9fe33f902994
parentfe67d3a101e87c169c6d5e063563767c6cdeadf2 (diff)
[aarch64/strncmp] Put the .size directive in the right place
The .size directive is in the wrong place in the middle of the function, it should be at the end of the function. Change-Id: I9f72349c6b30e7cb77bf06ddd6b0f4c6e98b4a6d
-rw-r--r--src/aarch64/strncmp.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aarch64/strncmp.S b/src/aarch64/strncmp.S
index e6121c2..3d4ea7c 100644
--- a/src/aarch64/strncmp.S
+++ b/src/aarch64/strncmp.S
@@ -220,7 +220,6 @@ def_fn strncmp
.Ldone:
sub result, data1, data2
ret
- .size strncmp, . - strncmp
/* Align the SRC1 to a dword by doing a bytewise compare and then do
the dword loop. */
.Ltry_misaligned_words:
@@ -283,3 +282,4 @@ def_fn strncmp
.Lret0:
mov result, #0
ret
+ .size strncmp, . - strncmp