audk/BaseTools/Source/Python/AutoGen
Scott Duplichan 41ab153f85 BaseTools: Make AutoGen.h array declaration match AutoGen.c definition
When a quoted string is used as initialization data in a DEC file PCD
entry, the PCD data type in that entry must be VOID*. The created
AutoGen.c defines the PCD data as UINT8[] or UINT16[], depending on
the string type. The created AutoGen.h, however, declares the PCD data
as VOID*. For a standard compile/link, this works because AutoGen.c
doesn't include AutoGen.h. But when GCC LTO is used, the link time
code generation detects the mismatch and the build fails. This
change makes the AutoGen.h PCD data declaration match the AutoGen.c
definition.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Scott Duplichan <scott@notabs.org>
Reviewed-by: Yingke Liu <yingke.d.liu@intel.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18058 6f19259b-4bc3-4df7-8a09-765794883524
2015-07-26 08:04:10 +00:00
..
AutoGen.py BaseTools: Fixed BuildOptions bug. 2015-07-02 03:42:34 +00:00
BuildEngine.py BaseTools: Implement BUILDRULEORDER for tools_def 2015-05-26 10:32:07 +00:00
GenC.py BaseTools: Make AutoGen.h array declaration match AutoGen.c definition 2015-07-26 08:04:10 +00:00
GenDepex.py There is a limitation on WINDOWS OS for the length of entire file path can’t be larger than 255. There is an OS API provided by Microsoft to add “\\?\” before the path header to support the long file path. Enable this feature on basetools. 2014-08-15 03:06:48 +00:00
GenMake.py BaseTools: Fixed a bug to generate correct path of PACKAGE_RELATIVE_PATH 2015-06-16 04:23:00 +00:00
GenPcdDb.py BaseTools/Build: The PCD value in uninitialized data range should be natural aligned. 2015-05-12 00:58:20 +00:00
InfSectionParser.py License header updated to match correct format. 2014-08-28 13:53:34 +00:00
StrGather.py License header updated to match correct format. 2014-08-28 13:53:34 +00:00
UniClassObject.py BaseTools/UniClassObject: Support UTF-8 string data in .uni files 2015-06-23 23:34:28 +00:00
ValidCheckingInfoObject.py BaseTools/Build: Add SDL support 2015-04-10 06:59:47 +00:00
__init__.py Sync EDKII BaseTools to BaseTools project r1971 2010-05-18 05:04:32 +00:00