[COMMITTED] Remove useless comment from sysdeps/sparc/sparc32/dl-machine.h
Siddhesh Poyarekar
siddhesh@sourceware.org
Mon May 22 19:47:00 GMT 2017
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
More information about the Libc-alpha
mailing list