[Scummvm-cvs-logs] SF.net SVN: scummvm:[50868] scummvm/branches/gsoc2010-plugins/backends/ platform/ds/arm9/source/elf32.h

toneman1138 at users.sourceforge.net toneman1138 at users.sourceforge.net
Wed Jul 14 05:55:11 CEST 2010


Revision: 50868
          http://scummvm.svn.sourceforge.net/scummvm/?rev=50868&view=rev
Author:   toneman1138
Date:     2010-07-14 03:55:11 +0000 (Wed, 14 Jul 2010)

Log Message:
-----------
changed Elf32_Rela to Elf32_Rel

Modified Paths:
--------------
    scummvm/branches/gsoc2010-plugins/backends/platform/ds/arm9/source/elf32.h

Modified: scummvm/branches/gsoc2010-plugins/backends/platform/ds/arm9/source/elf32.h
===================================================================
--- scummvm/branches/gsoc2010-plugins/backends/platform/ds/arm9/source/elf32.h	2010-07-14 02:36:49 UTC (rev 50867)
+++ scummvm/branches/gsoc2010-plugins/backends/platform/ds/arm9/source/elf32.h	2010-07-14 03:55:11 UTC (rev 50868)
@@ -113,7 +113,7 @@
 
 // sh_type values
 #define SHT_NULL			0	/* Inactive section */
-#define SHT_PROGBITS                    1	/* Proprietary */
+#define SHT_PROGBITS        1	/* Proprietary */
 #define SHT_SYMTAB			2	/* Symbol table */
 #define SHT_STRTAB			3	/* String table */
 #define SHT_RELA			4	/* Relocation entries with addend */
@@ -165,14 +165,13 @@
 #define SHN_ABS	   		0xFFF1	/* Absolute value: don't relocate */
 #define SHN_COMMON 		0xFFF2	/* Common block. Not allocated yet */
 #define SHN_HIPROC 		0xFF1F
-#define SHN_HIRESERVE 	        0xFFFF
+#define SHN_HIRESERVE 	0xFFFF
 
 // Relocation entry (info about how to relocate)
 typedef struct {
 	Elf32_Addr    r_offset;               /* Address */
 	Elf32_Word    r_info;                 /* Relocation type and symbol index */
-	Elf32_Sword   r_addend;               /* Addend */
-} Elf32_Rela;
+} Elf32_Rel;
 
 // Access macros for the relocation info
 #define REL_TYPE(x)	((unsigned char) (x))	/* Extract relocation type */


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list