* [gentoo-commits] gentoo-x86 commit in app-emulation/ski/files: ski-1.3.2-binutils.patch
@ 2014-08-19 6:59 Sergei Trofimovich (slyfox)
0 siblings, 0 replies; only message in thread
From: Sergei Trofimovich (slyfox) @ 2014-08-19 6:59 UTC (permalink / raw
To: gentoo-commits
slyfox 14/08/19 06:59:27
Added: ski-1.3.2-binutils.patch
Log:
Fix build failure against modern binutils.
(Portage version: 2.2.11_p14/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)
Revision Changes Path
1.1 app-emulation/ski/files/ski-1.3.2-binutils.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/ski/files/ski-1.3.2-binutils.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/ski/files/ski-1.3.2-binutils.patch?rev=1.1&content-type=text/plain
Index: ski-1.3.2-binutils.patch
===================================================================
From 30d3253c6b413ba22ca0ca30dcd4c4c24daec2e1 Mon Sep 17 00:00:00 2001
From: Sergei Trofimovich <slyfox@gentoo.org>
Date: Tue, 19 Aug 2014 09:42:43 +0300
Subject: [PATCH] Fix build failure against binutils-2.16.1 and upper.
Follow binutils' upstream change from 2004:
https://sourceware.org/git/?p=binutils.git;a=commitdiff;h=7e2dd9e4c3e0b69dcb7d471b891879b5fd28687e
> section.c (struct sec): Rename "_cooked_size" to "size".
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
---
src/linux/dwarf-linux.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/linux/dwarf-linux.c b/src/linux/dwarf-linux.c
index 1941a1f..73be0e6 100644
--- a/src/linux/dwarf-linux.c
+++ b/src/linux/dwarf-linux.c
@@ -155,7 +155,7 @@ find_in_section (bfd * bfd, asection * sect, PTR obj)
first.function = function;
first.line = line;
first.num_lines = 1;
- first.limit = sect->_cooked_size;
+ first.limit = sect->size;
last_line = line;
}
if (line > last_line
--
2.0.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-08-19 6:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-19 6:59 [gentoo-commits] gentoo-x86 commit in app-emulation/ski/files: ski-1.3.2-binutils.patch Sergei Trofimovich (slyfox)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox