This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[COMMITTED] Remove useless comment from sysdeps/sparc/sparc32/dl-machine.h
- From: Siddhesh Poyarekar <siddhesh at sourceware dot org>
- To: libc-alpha at sourceware dot org
- Date: Tue, 23 May 2017 01:17:33 +0530
- Subject: [COMMITTED] Remove useless comment from sysdeps/sparc/sparc32/dl-machine.h
- Authentication-results: sourceware.org; auth=none
David Miller has not been shot yet AFAIK (yes, I googled for any news
that may seem relevant and I poked him on twitter some days ago) so
either nobody uses SPARC or the code is correct or nobody read the
instructions in the comment to shoot him. In all of those cases the
comment is clearly not useful, so getting rid of it.
---
ChangeLog | 5 +++++
sysdeps/sparc/sparc32/dl-machine.h | 2 --
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index ce060eb..4ce26de 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-05-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
+
+ * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
+ Remove invalid comment.
+
2017-05-21 Zack Weinberg <zackw@panix.com>
* signal/Makefile (headers): Add bits/types/sigval_t.h.
diff --git a/sysdeps/sparc/sparc32/dl-machine.h b/sysdeps/sparc/sparc32/dl-machine.h
index cf7272f..e17ac8e 100644
--- a/sysdeps/sparc/sparc32/dl-machine.h
+++ b/sysdeps/sparc/sparc32/dl-machine.h
@@ -36,8 +36,6 @@ elf_machine_matches_host (const Elf32_Ehdr *ehdr)
return 1;
else if (ehdr->e_machine == EM_SPARC32PLUS)
{
- /* XXX The following is wrong! Dave Miller rejected to implement it
- correctly. If this causes problems shoot *him*! */
#ifdef SHARED
return GLRO(dl_hwcap) & GLRO(dl_hwcap_mask) & HWCAP_SPARC_V9;
#else
--
2.7.4