]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/C/GenFw/ElfConvert.c
BaseTools: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / BaseTools / Source / C / GenFw / ElfConvert.c
index 86f844d2a9264ca3b82537c3734500cc60883d7a..7db8721167de0fe2050cb50cc5b39997ee70b7eb 100644 (file)
@@ -3,13 +3,7 @@ Elf convert solution
 \r
 Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR>\r
 \r
-This program and the accompanying materials are licensed and made available \r
-under the terms and conditions of the BSD License which accompanies this \r
-distribution.  The full text of the license may be found at \r
-http://opensource.org/licenses/bsd-license.php\r
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -92,7 +86,7 @@ CoffAddFixup(
       // Add a null entry (is it required ?)\r
       //\r
       CoffAddFixupEntry (0);\r
-      \r
+\r
       //\r
       // Pad for alignment.\r
       //\r
@@ -163,7 +157,7 @@ IsElfHeader (
   UINT8  *FileBuffer\r
 )\r
 {\r
-  return (FileBuffer[EI_MAG0] == ELFMAG0 && \r
+  return (FileBuffer[EI_MAG0] == ELFMAG0 &&\r
           FileBuffer[EI_MAG1] == ELFMAG1 &&\r
           FileBuffer[EI_MAG2] == ELFMAG2 &&\r
           FileBuffer[EI_MAG3] == ELFMAG3);\r
@@ -199,7 +193,7 @@ ConvertElf (
 \r
   //\r
   // Compute sections new address.\r
-  //  \r
+  //\r
   VerboseMsg ("Compute sections new address.");\r
   ElfFunctions.ScanSections ();\r
 \r
@@ -246,6 +240,6 @@ ConvertElf (
   // Free resources used by ELF functions.\r
   //\r
   ElfFunctions.CleanUp ();\r
-  \r
+\r
   return TRUE;\r
 }\r