about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@sourceware.org>2017-05-23 01:10:29 +0530
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2017-05-23 01:10:29 +0530
commitd26db8fbb4787905590f207d56026e915b3bd5b3 (patch)
tree6cbfefb38da1a55bac9696fc205a59a4a146bc9a
parent2cdfa9e84886535cf7586bc4449850cdce427c64 (diff)
downloadglibc-d26db8fbb4787905590f207d56026e915b3bd5b3.tar.gz
glibc-d26db8fbb4787905590f207d56026e915b3bd5b3.tar.xz
glibc-d26db8fbb4787905590f207d56026e915b3bd5b3.zip
Remove useless comment from sysdeps/sparc/sparc32/dl-machine.h
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.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/sparc/sparc32/dl-machine.h2
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index ce060eb8de..4ce26de40b 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 cf7272f359..e17ac8e4cd 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