bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/2495] Solaris2 amd64 file format not recognized


From: petr at vandrovec dot name
Subject: [Bug binutils/2495] Solaris2 amd64 file format not recognized
Date: 30 Jun 2006 05:01:12 -0000

------- Additional Comments From petr at vandrovec dot name  2006-06-30 05:01 
-------
(From update of attachment 1128)
>--- binutils-2.17/bfd/elf64-x86-64.c.orig      2006-03-23 09:23:09.000000000 
>+0100
>+++ binutils-2.17/bfd/elf64-x86-64.c   2006-06-30 06:42:19.000000000 +0200
>@@ -3439,13 +3439,11 @@
>                               const char *name,
>                               int shindex)
> {
>-  if (hdr->sh_type != SHT_X86_64_UNWIND)
>-    return FALSE;
>-
>-  if (! _bfd_elf_make_section_from_shdr (abfd, hdr, name, shindex))
>-    return FALSE;
>-
>-  return TRUE;
>+  if (hdr->sh_type == SHT_X86_64_UNWIND ||
>+      (hdr->sh_type >= SHT_LOOS && hdr->sh_type <= SHT_HIOS)) {
>+    return _bfd_elf_make_section_from_shdr (abfd, hdr, name, shindex);
>+  }
>+  return FALSE;
> }
> 
> /* Hook called by the linker routine which adds symbols from an object


-- 


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

------- 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]