summaryrefslogtreecommitdiff
path: root/BaseTools/Bin/Win32/Trim.exe
AgeCommit message (Collapse)Author
2010-05-18Sync EDKII BaseTools to BaseTools project r1971lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10502 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-28Sync EDKII BaseTools to BaseTools project r1903.lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10123 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-29Sync tool code to BuildTools project r1783.lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9623 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-09Sync tool code to BuildTools project r1739.lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9397 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-11updated basetools binary files which are validated synced with r1707.vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9258 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-11Sync basetools' source and binary files with r1707 of the basetools project.vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9257 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-17Sync binary tool to main trunk tool source. Update VfrCompiler tool to fix ↵lgao4
varstore name is not correctly generated. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8969 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-13ynchronize build tools binaries with source code r1655 at build tool project.lgao4
Fix a bug that GenFv tool can't generate the correct top reset vector table for IA32, X64 and IPF arch SEC module. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8918 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10Synchronize build tools binaries with source code r1654 at build tool project.klu2
The modifications includes: 1) Correct the issue that build tool generate UINT8 array for unicode string type PCD, it maybe cause alignment issue. Now build tool will generate UINT16 array for unicode string type PCD. 2) Merge FdfParser.py updates to FdfParserLite.py 3) Replace EFI_IMAGE_NT_HEADERS with EFI_IMAGE_OPTIONAL_HEADER_UNION. (GenFv) The code referencing EFI_IMAGE_NT_HEADERS has been modified to refer to EFI_IMAGE_OPTIONAL_HEADER_UNION => Pe32/Pe32Plus. 4) Remove definitions of build machine specific types. Remove EFI_IMAGE_OPTIONAL_HEADER, EFI_IMAGE_NT_HEADERS, EFI_IMAGE_NT_OPTIONAL_HDR_MAGIC, and EFI_IMAGE_MACHINE_TYPE_SUPPORTED, since these were defined differently based on the architecture of the build machine. The BaseTools should support the edk2 supported processor architectures and not depend on the architecture of the build platform. 5) Added support for the ARM processor type Added RVCT as a ToolChainFamily (Real View Compiler Tools from ARM) Enabled FixedAtBuild 32-bit PCDs to be used from GCC or RVCT assembler. Updated GenFw to support RVCT ELF images and removed #ifdefs for ELF. Also made ELF to PE/COFF features available on all supported build targets for the tools by adding some FreeBSD ELF headers. Updated GenFv to support the ARM reset vector in ZeroBytes of the FV header. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8872 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-09Synchronize the build tools' binary with source files at r1645 in build tool ↵lgao4
project. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8828 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-08Synchronize the build tools' binary with source files at r1639 in build tool ↵xli24
project. This update fixes the bug of unmatched paths due to case-sensitive comparison on case-insensitive systems. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8814 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-23Synchronize the binary with build tools' source at r1630 which fix the issue ↵klu2
that the dependency of some header files is missed in Gnu makefile git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8623 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-21Synchronize all binaries with build tools source base on r1628.klu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8617 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-11Synchronize the source of build tool from build tool project (r1623) to ↵klu2
binary in edk2 project at (r8530) git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8531 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-12Make improvement that if target directory does not exist, create it. This ↵klu2
patch is corresponding to r1582 in build tool project. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8301 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-11Fix bug that trim crash when no parameter is input.klu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8287 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-161. Use FAMILY defined in *_TAGNAME_*_*_FAMILY as the toolchain familyjwang36
2. Force file name case check in Windows 3. Consolidate file/path operations 4. Support binary file type in build_rule.txt 5. Generate $(FILE_TYPES) macro only when it's used in build_rule.txt 6. Fix HSD202142 and HSD202144 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7529 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-28a. Fixed R8 module build issue for EBC archjwang36
B. Fixed issue in trimming preprocessed VFR file with no space between "struct" and open "{". git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6771 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-17Update ASL build rule, Add PeiLibPciCfgModify into EDKII GlueLib ↵lgao4
PeiServiceLib to support the modules that uses EDKII Glue Lib git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6551 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13Removed the replacement rule of PEI_PCI_CFG_PPI for R8 source code conversionjwang36
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6534 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13a. Added ImportTool.bat scriptjwang36
b. Added more error check for Trim.exe git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6490 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13a. Changed ASL code trim schemejwang36
b. Added one more rule for convert R8 source code and added missing '&' before gPciCfgPpi. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6488 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13a. Fixed conversion failure for ASL style include.jwang36
b. Not to save file if converted file is intact and the target file is the source file. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6483 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-121. Enhanced the format of build_rule.txt to allow module type and arch ↵jwang36
information. 2. Enhanced Trim to convert ASL style of include to C style of include 3. Enhanced Trim to convert some EDK coding convention to EDK2 ECP convention 4. Added warning message when encountering unrecognized content in DSC/DEC/INF File 5. Enhanced the GenDepex to ignore everything outside DEPENDENCY_STANT and DEPENDENCY_END in dxs file git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5634 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-03Re-built python tools with Python2.5.2jwang36
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4783 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-06Fixed an issue which would cause trimming empty file error.jwang36
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4272 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-17Restoring $WORKSPACE/BaseTools location, as the plan is to deprecatejljusten
$WORKSPACE/Tools instead. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4147 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-16Moved $WORKSPACE/BaseTools to $WORKSPACE/Tools/BaseTools.jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4142 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-16Fixed an issue which cause mismatch of line directive in preprocessed GNU ↵jwang36
assembly code. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4122 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-131) Implemented MACRO in tools_def.txtjwang36
2) Added library without library class support 3) Fixed the issue in Trim tool which zero file will be generated if the trimmed file has not line directive git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3832 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-12a) Added GCC preprocessor supportjwang36
b) Enforced the the correct line number in the trimmed file, according to the line directive (or linemarker). git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3796 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-03Fixed an issue which will remove the first line if there's no "#line" ↵jwang36
directive in the input file. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3767 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-131. Changed the trim algorithm to be more general according to the Line ↵jwang36
Control directive 2. Changed the command line options to be standard and changed its uses in build_rule.template accordingly. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3614 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-07Fixed an issue which all lines will be removed if no "#line" or "#" is foundjwang36
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3559 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-30Set the svn:executable property on all *.exe fileslhauch
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3506 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-27Added 0 before HEX number after converted in case it's started by [abcdef]jwang36
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3467 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-27Fixed an issue which will cause removing necessary structure definitionjwang36
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3466 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-27Changed Trim tool to use standard command line options and changed its usage ↵jwang36
in build_rule.template correspondingly git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3462 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-20Removed more struct typedef for IPFjwang36
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3391 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-20Fixed GCC link issue and vfr build issuejwang36
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3385 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-11Fixed "#line" line embedded in a "struct" definitionjwang36
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3197 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-03Added code to remove "GUID" structure type definition in preprocessed VFR filesjwang36
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2993 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-02Added for VFR file processingjwang36
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2923 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-22Added for new build system. Just for module porting purpose. Don't use it in ↵jwang36
normal build. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2705 6f19259b-4bc3-4df7-8a09-765794883524