]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Remove useless comment from sysdeps/sparc/sparc32/dl-machine.h
authorSiddhesh Poyarekar <siddhesh@sourceware.org>
Mon, 22 May 2017 19:40:29 +0000 (01:10 +0530)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Mon, 22 May 2017 19:40:29 +0000 (01:10 +0530)
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
sysdeps/sparc/sparc32/dl-machine.h

index ce060eb8deea960adc3184babddf920a799814aa..4ce26de40b774193fe1dc11448ff0552f356b58d 100644 (file)
--- 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.
index cf7272f359e65eaf8c55188dd5c256b943d91cf9..e17ac8e4cd71f31e43cb1874e6764cb88e9f85e5 100644 (file)
@@ -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