bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/6915] readelf -S segfaults on Solaris-specific section typ


From: hjl dot tools at gmail dot com
Subject: [Bug binutils/6915] readelf -S segfaults on Solaris-specific section types
Date: 12 Oct 2008 01:48:49 -0000

------- Additional Comments From hjl dot tools at gmail dot com  2008-10-12 
01:48 -------
The Linux binutils has a patch for PR 6412. Please try this patch:

--- binutils/readelf.c.solaris  2008-10-11 18:47:31.000000000 -0700
+++ binutils/readelf.c  2008-10-11 18:46:18.000000000 -0700
@@ -4452,7 +4452,7 @@ process_section_headers (FILE *file)
          else
            printf (" %3s ", get_elf_section_flags (section->sh_flags));

-         if (hole_in_shndx)
+         if (hole_in_shndx && original_shndx)
            {
              if (original_shndx[i].sh_link != section->sh_link)
                printf ("%2u/-%3u ",


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |6412


http://sourceware.org/bugzilla/show_bug.cgi?id=6915

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]