This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[committed, PATCH] x86_64: Remove L(return_null) from rawmemchr.S
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: GNU C Library <libc-alpha at sourceware dot org>
- Date: Sat, 20 May 2017 06:16:48 -0700
- Subject: [committed, PATCH] x86_64: Remove L(return_null) from rawmemchr.S
- Authentication-results: sourceware.org; auth=none
L(return_null) is unused.
Tested on x86-64 and checked into master.
H.J.
---
* sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
---
ChangeLog | 4 ++++
sysdeps/x86_64/rawmemchr.S | 5 -----
2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 97b80aa..5e7b766 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 021a0ae..0405c7b 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)
--
2.9.4