Revision: 19076
          http://sourceforge.net/p/edk2/code/19076
Author:   vanjeff
Date:     2015-12-01 02:31:39 +0000 (Tue, 01 Dec 2015)
Log Message:
-----------
BaseTools/GenFw ARM: allow R_ARM_REL32 relocations

R_ARM_REL32 are relative relocations, so we don't need to do anything
special when performing the ELF to PE/COFF conversion, since our memory
layout is identical between the two binary formats. So just allow them.

(Sync patch r18931 from main trunk.)

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <[email protected]>
Reviewed-by: Liming Gao <[email protected]>

Revision Links:
--------------
    http://sourceforge.net/p/edk2/code/18931

Modified Paths:
--------------
    branches/UDK2015/BaseTools/Source/C/GenFw/Elf32Convert.c

Modified: branches/UDK2015/BaseTools/Source/C/GenFw/Elf32Convert.c
===================================================================
--- branches/UDK2015/BaseTools/Source/C/GenFw/Elf32Convert.c    2015-12-01 
02:31:16 UTC (rev 19075)
+++ branches/UDK2015/BaseTools/Source/C/GenFw/Elf32Convert.c    2015-12-01 
02:31:39 UTC (rev 19076)
@@ -716,6 +716,7 @@
             // break skipped
 
           case R_ARM_PC24:
+          case R_ARM_REL32:
           case R_ARM_XPC25:
           case R_ARM_THM_PC22:
           case R_ARM_THM_JUMP19:
@@ -844,6 +845,7 @@
               // break skipped
 
             case R_ARM_PC24:
+            case R_ARM_REL32:
             case R_ARM_XPC25:
             case R_ARM_THM_PC22:
             case R_ARM_THM_JUMP19:


------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to