On Thu, Jul 24, 2014 at 9:50 PM, Andrew Fish <afish@apple.com> wrote:Yeah, AutoGen.i contains assembly. The .iii files too point to the global.
> AutoGen.i? Is this code assembly? If so you should look at the *.iii as that
> is the post processed version that gets sent to assembler. There is a tool
> to trim out code that is not compatible with the assembler, so it would be
> good to check that something is not going on in that step.
This is interesting, the objdump contains 0 for PcdGet at all places.
> Are the globals in the image? What value do they have? You should be able to
> dump PE/COFF or ELF on your build system and find out.
The AutoGen.h contains the correct PCD values, so basetools is able to parse
On Thu, Jul 24, 2014 at 10:06 PM, Laszlo Ersek <lersek@redhat.com> wrote:
> (Maybe side issue, maybe relevant:)
>
> Interesting. I tried to use fixed PCDs in ASL source code, *after*
> BaseTools had reportedly grown support for that. Unfortunately, my
> attempt failed, and I got no effective advice after I reported it.
>
> http://thread.gmane.org/gmane.comp.bios.tianocore.devel/7416/focus=7587
>
> Perhaps this is a basetools problem then?
>
> Thanks
> Laszlo
and append PCDs properly. I'll try to dig deeper into it.
Does `PcdPeiGlobalVariableSize` play any role during build?
Thanks,
Varad