SOURCES: binutils-build-id.patch (NEW) - from fc
arekm
arekm at pld-linux.org
Mon Mar 23 08:47:08 CET 2009
Author: arekm Date: Mon Mar 23 07:47:08 2009 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- from fc
---- Files affected:
SOURCES:
binutils-build-id.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/binutils-build-id.patch
diff -u /dev/null SOURCES/binutils-build-id.patch:1.1
--- /dev/null Mon Mar 23 08:47:09 2009
+++ SOURCES/binutils-build-id.patch Mon Mar 23 08:47:02 2009
@@ -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;
================================================================
More information about the pld-cvs-commit
mailing list