]> git.pld-linux.org Git - packages/crossppc-binutils.git/commitdiff
- from fc auto/th/binutils-2_19_51_0_3-2
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 23 Mar 2009 07:47:02 +0000 (07:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    binutils-build-id.patch -> 1.1

binutils-build-id.patch [new file with mode: 0644]

diff --git a/binutils-build-id.patch b/binutils-build-id.patch
new file mode 100644 (file)
index 0000000..d035dc4
--- /dev/null
@@ -0,0 +1,22 @@
+--- ../binutils-2.19.50.0.1.orig/bfd/elfcode.h 2008-11-26 09:29:54.000000000 +0000
++++ ./bfd/elfcode.h    2008-11-26 12:01:37.000000000 +0000
+@@ -1170,6 +1170,19 @@ elf_checksum_contents (bfd *abfd,
+       if (i_shdr.contents)
+       (*process) (i_shdr.contents, i_shdr.sh_size, arg);
++      else
++      {
++        asection *sec;
++
++        sec = bfd_section_from_elf_index (abfd, count);
++        if (sec != NULL)
++          {
++            if (sec->contents == NULL)
++              bfd_malloc_and_get_section (abfd, sec, & sec->contents);
++            if (sec->contents != NULL)
++              (*process) (sec->contents, i_shdr.sh_size, arg);
++          }
++      }
+     }
+   return TRUE;
This page took 0.079224 seconds and 4 git commands to generate.