IA64 PE/COFF (efi-app-ia64) image has bad VirtualSize field

Brian J. Johnson bjohnson@sgi.com
Tue Jan 6 19:25:00 GMT 2004


On Tue, 6 Jan 2004, Nick Clifton wrote:
>
> > #include <efi.h>
> > #include <efilib.h>
>
> Umm - I do not have these headers...
>
> Can you make an even simpler test case without any headers or maybe
> just send the assembler output of gcc having compiled the test case ?

They're part of the gnu-efi toolkit.  Here's the assembly language
output from gcc 2.96 (gcc 3.x is nearly identical):

        .file   "try.c"
        .pred.safe_across_calls p1-p5,p16-p63
.text
        .align 16
        .global efi_main#
        .proc efi_main#
efi_main:
        .prologue
        .body
        mov r8 = r0
        br.ret.sptk.many b0
        .endp efi_main#
        .ident  "GCC: (GNU) 2.96 20000731 (Red Hat Linux 7.2 2.96-118.7.2)"

						Brian J. Johnson



More information about the Binutils mailing list