aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-05-20 06:13:38 -0700
committerH.J. Lu <hjl.tools@gmail.com>2017-05-20 06:13:38 -0700
commit1f655beb087a4ade30a0299d6f92b9916fbf7cc7 (patch)
tree67ea45d6f7d7e65c05f6e8782614d0cd020cab87
parent81cb7a0b2b6b905a504b8b56fe3c1634adf8fb71 (diff)
downloadglibc-1f655beb087a4ade30a0299d6f92b9916fbf7cc7.tar
glibc-1f655beb087a4ade30a0299d6f92b9916fbf7cc7.tar.gz
glibc-1f655beb087a4ade30a0299d6f92b9916fbf7cc7.tar.bz2
glibc-1f655beb087a4ade30a0299d6f92b9916fbf7cc7.zip
x86_64: Remove L(return_null) from rawmemchr.S
L(return_null) is unused. * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/x86_64/rawmemchr.S5
2 files changed, 4 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 97b80aa23e..5e7b766cdb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2017-05-20 H.J. Lu <hongjiu.lu@intel.com>
+
+ * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
+
2017-05-20 Zack Weinberg <zackw@panix.com>
* sysdeps/arm/sysdep.h
diff --git a/sysdeps/x86_64/rawmemchr.S b/sysdeps/x86_64/rawmemchr.S
index 021a0aec79..0405c7bb99 100644
--- a/sysdeps/x86_64/rawmemchr.S
+++ b/sysdeps/x86_64/rawmemchr.S
@@ -196,11 +196,6 @@ L(matches32):
lea 32(%rax, %rdi), %rax
ret
- .p2align 4
-L(return_null):
- xor %rax, %rax
- ret
-
END (__rawmemchr)
weak_alias (__rawmemchr, rawmemchr)