[replying again, cc'ing edk2-devel this time]
On Tue, Mar 31, 2015 at 10:26 AM, Andrew Fish <af...@apple.com> wrote:
>
> Does you tool chain generate ELF, and then covert to PE/COFF? If so can
> you objdump the sections in the ELF file (should be the .dll) and see if it
> has a .hii section?
>
It does, and it doesn't have a .hii section. In the build output, I see
GenFw being run, and it looks like it should be generating the section:
"GenFw" -o
/home/bcran/workspace/edk2/Build/PackageListGccBug/RELEASE_GCC48/X64/PackageListGccBugDemoPkg/HiiResourcesSampleDxe/OUTPUT/HiiResourcesSamplehii.rc
-g D49D2EB0-44D5-4621-9FD6-1A92C9109B99 --hiibinpackage
/home/bcran/workspace/edk2/Build/PackageListGccBug/RELEASE_GCC48/X64/PackageListGccBugDemoPkg/HiiResourcesSampleDxe/OUTPUT/Sample.hpk
/home/bcran/workspace/edk2/Build/PackageListGccBug/RELEASE_GCC48/X64/PackageListGccBugDemoPkg/HiiResourcesSampleDxe/OUTPUT/HiiResourcesSampleStrDefs.hpk
"objcopy" -I binary -O elf64-x86-64 -B i386 --rename-section .data=.hii
/home/bcran/workspace/edk2/Build/PackageListGccBug/RELEASE_GCC48/X64/PackageListGccBugDemoPkg/HiiResourcesSampleDxe/OUTPUT/HiiResourcesSamplehii.rc
/home/bcran/workspace/edk2/Build/PackageListGccBug/RELEASE_GCC48/X64/PackageListGccBugDemoPkg/HiiResourcesSampleDxe/OUTPUT/HiiResourcesSamplehii.lib
"ld" -o
/home/bcran/workspace/edk2/Build/PackageListGccBug/RELEASE_GCC48/X64/PackageListGccBugDemoPkg/HiiResourcesSampleDxe/DEBUG/HiiResourcesSample.dll
-nostdlib -n -q --gc-sections
--script=/home/bcran/workspace/edk2/BaseTools/Scripts/gcc4.4-ld-script
--entry _ModuleEntryPoint -u _ModuleEntryPoint -Map
/home/bcran/workspace/edk2/Build/PackageListGccBug/RELEASE_GCC48/X64/PackageListGccBugDemoPkg/HiiResourcesSampleDxe/DEBUG/HiiResourcesSample.map
-melf_x86_64 --oformat=elf64-x86-64 --start-group
@/home/bcran/workspace/edk2/Build/PackageListGccBug/RELEASE_GCC48/X64/PackageListGccBugDemoPkg/HiiResourcesSampleDxe/OUTPUT/static_library_files.lst
--end-group
"objcopy"
/home/bcran/workspace/edk2/Build/PackageListGccBug/RELEASE_GCC48/X64/PackageListGccBugDemoPkg/HiiResourcesSampleDxe/DEBUG/HiiResourcesSample.dll
cp -f
/home/bcran/workspace/edk2/Build/PackageListGccBug/RELEASE_GCC48/X64/PackageListGccBugDemoPkg/HiiResourcesSampleDxe/DEBUG/HiiResourcesSample.dll
/home/bcran/workspace/edk2/Build/PackageListGccBug/RELEASE_GCC48/X64/PackageListGccBugDemoPkg/HiiResourcesSampleDxe/DEBUG/HiiResourcesSample.debug
objcopy --strip-unneeded -R .eh_frame
/home/bcran/workspace/edk2/Build/PackageListGccBug/RELEASE_GCC48/X64/PackageListGccBugDemoPkg/HiiResourcesSampleDxe/DEBUG/HiiResourcesSample.dll
objcopy
/home/bcran/workspace/edk2/Build/PackageListGccBug/RELEASE_GCC48/X64/PackageListGccBugDemoPkg/HiiResourcesSampleDxe/DEBUG/HiiResourcesSample.dll
cp -f
/home/bcran/workspace/edk2/Build/PackageListGccBug/RELEASE_GCC48/X64/PackageListGccBugDemoPkg/HiiResourcesSampleDxe/DEBUG/HiiResourcesSample.debug
/home/bcran/workspace/edk2/Build/PackageListGccBug/RELEASE_GCC48/X64
"GenFw" -e UEFI_DRIVER -o
/home/bcran/workspace/edk2/Build/PackageListGccBug/RELEASE_GCC48/X64/PackageListGccBugDemoPkg/HiiResourcesSampleDxe/DEBUG/HiiResourcesSample.efi
/home/bcran/workspace/edk2/Build/PackageListGccBug/RELEASE_GCC48/X64/PackageListGccBugDemoPkg/HiiResourcesSampleDxe/DEBUG/HiiResourcesSample.dll
cp -f
/home/bcran/workspace/edk2/Build/PackageListGccBug/RELEASE_GCC48/X64/PackageListGccBugDemoPkg/HiiResourcesSampleDxe/DEBUG/HiiResourcesSample.efi
/home/bcran/workspace/edk2/Build/PackageListGccBug/RELEASE_GCC48/X64/PackageListGccBugDemoPkg/HiiResourcesSampleDxe/OUTPUT
cp -f
/home/bcran/workspace/edk2/Build/PackageListGccBug/RELEASE_GCC48/X64/PackageListGccBugDemoPkg/HiiResourcesSampleDxe/DEBUG/HiiResourcesSample.efi
/home/bcran/workspace/edk2/Build/PackageListGccBug/RELEASE_GCC48/X64
cp -f
/home/bcran/workspace/edk2/Build/PackageListGccBug/RELEASE_GCC48/X64/PackageListGccBugDemoPkg/HiiResourcesSampleDxe/DEBUG/*.map
/home/bcran/workspace/edk2/Build/PackageListGccBug/RELEASE_GCC48/X64/PackageListGccBugDemoPkg/HiiResourcesSampleDxe/OUTPUT
--
Bruce
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel