Fix missing section address fixup.
This commit is contained in:
parent
56b5348eee
commit
60f1503bcc
24
pesign-0.10-missing-section-reloc.patch
Normal file
24
pesign-0.10-missing-section-reloc.patch
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
From a967a147079085fce9b3a4d66cbdd28ccbab559f Mon Sep 17 00:00:00 2001
|
||||||
|
From: Peter Jones <pjones@redhat.com>
|
||||||
|
Date: Fri, 28 Sep 2012 14:27:54 -0400
|
||||||
|
Subject: [PATCH] Fix missing section relocation when we've added space.
|
||||||
|
|
||||||
|
---
|
||||||
|
libdpe/pe_allocspace.c | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/libdpe/pe_allocspace.c b/libdpe/pe_allocspace.c
|
||||||
|
index d766503..0ae1f5d 100644
|
||||||
|
--- a/libdpe/pe_allocspace.c
|
||||||
|
+++ b/libdpe/pe_allocspace.c
|
||||||
|
@@ -46,6 +46,7 @@ pe_fix_addresses(Pe *pe, int64_t offset)
|
||||||
|
&pe->state.pe.shdr[cnt];
|
||||||
|
|
||||||
|
adjust(pe->state.pe.scns.data[cnt].rawdata_base, offset);
|
||||||
|
+ adjust(pe->state.pe.scns.data[cnt].data_base, offset);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#undef adjust
|
||||||
|
--
|
||||||
|
1.7.12.1
|
||||||
|
|
@ -1,7 +1,7 @@
|
|||||||
Summary: Signing utility for UEFI binaries
|
Summary: Signing utility for UEFI binaries
|
||||||
Name: pesign
|
Name: pesign
|
||||||
Version: 0.10
|
Version: 0.10
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Group: Development/System
|
Group: Development/System
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: https://github.com/vathpela/pesign
|
URL: https://github.com/vathpela/pesign
|
||||||
@ -19,6 +19,7 @@ Source1: rh-test-certs.tar.bz2
|
|||||||
Patch0: pesign-0.10-better-macros.patch
|
Patch0: pesign-0.10-better-macros.patch
|
||||||
Patch1: pesign-0.10-only-sign-on-x86-64.patch
|
Patch1: pesign-0.10-only-sign-on-x86-64.patch
|
||||||
Patch2: pesign-0.10-even-better-macros.patch
|
Patch2: pesign-0.10-even-better-macros.patch
|
||||||
|
Patch3: pesign-0.10-missing-section-reloc.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains the pesign utility for signing UEFI binaries as
|
This package contains the pesign utility for signing UEFI binaries as
|
||||||
@ -59,6 +60,9 @@ rm -rf %{buildroot}
|
|||||||
%attr(0644,root,root) /etc/pki/pesign/*
|
%attr(0644,root,root) /etc/pki/pesign/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Oct 01 2012 Peter Jones <pjones@redhat.com> - 0.10-5
|
||||||
|
- Fix missing section address fixup.
|
||||||
|
|
||||||
* Wed Aug 15 2012 Peter Jones <pjones@redhat.com> - 0.10-4
|
* Wed Aug 15 2012 Peter Jones <pjones@redhat.com> - 0.10-4
|
||||||
- Make macros.pesign even better (and make it work right for i686 packages)
|
- Make macros.pesign even better (and make it work right for i686 packages)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user