BaseTools: Clean up source files
1. Do not use tab characters 2. No trailing white space in one line 3. All files must end with CRLF Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao <liming.gao@intel.com> Cc: Yonghong Zhu <yonghong.zhu@intel.com> Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
This commit is contained in:
@@ -3,9 +3,9 @@ Elf convert solution
|
||||
|
||||
Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
|
||||
This program and the accompanying materials are licensed and made available
|
||||
under the terms and conditions of the BSD License which accompanies this
|
||||
distribution. The full text of the license may be found at
|
||||
This program and the accompanying materials are licensed and made available
|
||||
under the terms and conditions of the BSD License which accompanies this
|
||||
distribution. The full text of the license may be found at
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
@@ -92,7 +92,7 @@ CoffAddFixup(
|
||||
// Add a null entry (is it required ?)
|
||||
//
|
||||
CoffAddFixupEntry (0);
|
||||
|
||||
|
||||
//
|
||||
// Pad for alignment.
|
||||
//
|
||||
@@ -163,7 +163,7 @@ IsElfHeader (
|
||||
UINT8 *FileBuffer
|
||||
)
|
||||
{
|
||||
return (FileBuffer[EI_MAG0] == ELFMAG0 &&
|
||||
return (FileBuffer[EI_MAG0] == ELFMAG0 &&
|
||||
FileBuffer[EI_MAG1] == ELFMAG1 &&
|
||||
FileBuffer[EI_MAG2] == ELFMAG2 &&
|
||||
FileBuffer[EI_MAG3] == ELFMAG3);
|
||||
@@ -199,7 +199,7 @@ ConvertElf (
|
||||
|
||||
//
|
||||
// Compute sections new address.
|
||||
//
|
||||
//
|
||||
VerboseMsg ("Compute sections new address.");
|
||||
ElfFunctions.ScanSections ();
|
||||
|
||||
@@ -246,6 +246,6 @@ ConvertElf (
|
||||
// Free resources used by ELF functions.
|
||||
//
|
||||
ElfFunctions.CleanUp ();
|
||||
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user