Displaying 4 results from an estimated 4 matches for "bd2c175".
2013 Nov 29
1
[PATCH 2/4] efi: Location, size and alignment of .text section
...ed to be aligned as well.
>
> Signed-off-by: Celelibi <celelibi at gmail.com>
> ---
> efi/wrapper.c | 44 +++++++++++++++++++++++++-------------------
> 1 file changed, 25 insertions(+), 19 deletions(-)
>
> diff --git a/efi/wrapper.c b/efi/wrapper.c
> index ec77271..bd2c175 100644
> --- a/efi/wrapper.c
> +++ b/efi/wrapper.c
> @@ -54,11 +54,15 @@ static void write_header(FILE *f, __uint32_t entry, size_t data_size,
> struct coff_hdr c_hdr;
> struct header hdr;
> struct coff_reloc c_rel;
> - __uint32_t total_sz = so_size;
> + __uint32_t tot...
2013 Nov 27
0
[PATCH 3/4] efi: Useless relocations in PE file
...end of the headers
(512 bytes), this mean we would have to push everything a few bytes further.
And I think it's better if it can be avoided. :)
efi/wrapper.c | 28 +++-------------------------
1 file changed, 3 insertions(+), 25 deletions(-)
diff --git a/efi/wrapper.c b/efi/wrapper.c
index bd2c175..9652368 100644
--- a/efi/wrapper.c
+++ b/efi/wrapper.c
@@ -48,14 +48,12 @@ static void write_header(FILE *f, __uint32_t entry, size_t data_size,
{
struct optional_hdr o_hdr;
struct optional_hdr_pe32p o_hdr_pe32p;
- struct section t_sec, r_sec;
+ struct section t_sec;
struct extra_hdr e_hdr;...
2013 Nov 27
0
[PATCH 2/4] efi: Location, size and alignment of .text section
...d to at
least 512 bytes. Hence, .text need to be aligned as well.
Signed-off-by: Celelibi <celelibi at gmail.com>
---
efi/wrapper.c | 44 +++++++++++++++++++++++++-------------------
1 file changed, 25 insertions(+), 19 deletions(-)
diff --git a/efi/wrapper.c b/efi/wrapper.c
index ec77271..bd2c175 100644
--- a/efi/wrapper.c
+++ b/efi/wrapper.c
@@ -54,11 +54,15 @@ static void write_header(FILE *f, __uint32_t entry, size_t data_size,
struct coff_hdr c_hdr;
struct header hdr;
struct coff_reloc c_rel;
- __uint32_t total_sz = so_size;
+ __uint32_t total_sz = data_size;
__uint32_t dummy =...
2013 Nov 27
20
[PATCH 0/4] efi: PE header generation fix
The PE headers of the generated efi file were quite buggy. And since OVMF
perform a few consistency checks, syslinux was unable to run on it. I don't
pretend to have a thorough understanding of the PE+ headers, some bugs may
remain. :)
Celelibi (4):
efi: Fix PE header field rva_and_sizes_nr
efi: Location, size and alignment of .text section
efi: Useless relocations in PE file
efi: PE