From 4cda13d9aa25c5302419ec4380a83439b8d0bba0 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 2 Dec 2010 19:48:03 -0800 Subject: [PATCH] Add missing patch. --- ...relocations-Remove-over-eager-assert.patch | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 elfutils-0.150-dwfl_module_relocations-Remove-over-eager-assert.patch diff --git a/elfutils-0.150-dwfl_module_relocations-Remove-over-eager-assert.patch b/elfutils-0.150-dwfl_module_relocations-Remove-over-eager-assert.patch new file mode 100644 index 0000000..7727c44 --- /dev/null +++ b/elfutils-0.150-dwfl_module_relocations-Remove-over-eager-assert.patch @@ -0,0 +1,44 @@ +From 33d305fc63d88ce163fd3aba41a0dd0e1a74be38 Mon Sep 17 00:00:00 2001 +From: Roland McGrath +Date: Tue, 30 Nov 2010 17:39:55 -0800 +Subject: [PATCH] dwfl_module_relocations: Remove over-eager assert. + +--- + libdwfl/ChangeLog | 4 ++++ + libdwfl/derelocate.c | 3 +-- + 2 files changed, 5 insertions(+), 2 deletions(-) + +diff --git a/libdwfl/ChangeLog b/libdwfl/ChangeLog +index dd4eb10..c5746c8 100644 +--- a/libdwfl/ChangeLog ++++ b/libdwfl/ChangeLog +@@ -1,3 +1,7 @@ ++2010-11-30 Roland McGrath ++ ++ * derelocate.c (dwfl_module_relocations): Remove over-eager assert. ++ + 2010-11-12 Roland McGrath + + * libdwflP.h (struct Dwfl_Module): New member main_bias. +diff --git a/libdwfl/derelocate.c b/libdwfl/derelocate.c +index 483b75e..ba6d9db 100644 +--- a/libdwfl/derelocate.c ++++ b/libdwfl/derelocate.c +@@ -1,5 +1,5 @@ + /* Recover relocatibility for addresses computed from debug information. +- Copyright (C) 2005-2009 Red Hat, Inc. ++ Copyright (C) 2005-2010 Red Hat, Inc. + This file is part of Red Hat elfutils. + + Red Hat elfutils is free software; you can redistribute it and/or modify +@@ -240,7 +240,6 @@ dwfl_module_relocations (Dwfl_Module *mod) + + case ET_EXEC: + assert (mod->main.vaddr == mod->low_addr); +- assert (mod->debug.address_sync == mod->main.address_sync); + break; + } + +-- +1.7.2.3 +