aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/ds/arm9/source
diff options
context:
space:
mode:
authorTony Puccinelli2010-07-14 03:55:11 +0000
committerTony Puccinelli2010-07-14 03:55:11 +0000
commit264cb839dabb40081d6713dbc0b4c9606dd98234 (patch)
tree8308f67fcfb330d2c088bb0e0889248d7007bf4c /backends/platform/ds/arm9/source
parent6e5b0def209e6d98975ceabd429ea0117854e27e (diff)
downloadscummvm-rg350-264cb839dabb40081d6713dbc0b4c9606dd98234.tar.gz
scummvm-rg350-264cb839dabb40081d6713dbc0b4c9606dd98234.tar.bz2
scummvm-rg350-264cb839dabb40081d6713dbc0b4c9606dd98234.zip
changed Elf32_Rela to Elf32_Rel
svn-id: r50868
Diffstat (limited to 'backends/platform/ds/arm9/source')
-rw-r--r--backends/platform/ds/arm9/source/elf32.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/backends/platform/ds/arm9/source/elf32.h b/backends/platform/ds/arm9/source/elf32.h
index 2b695c917d..c7971891fe 100644
--- a/backends/platform/ds/arm9/source/elf32.h
+++ b/backends/platform/ds/arm9/source/elf32.h
@@ -113,7 +113,7 @@ typedef struct {
// 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 @@ typedef struct {
#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 */