diff options
author | norly <ny-git@enpas.org> | 2013-06-21 00:43:55 +0100 |
---|---|---|
committer | norly <ny-git@enpas.org> | 2013-06-21 00:45:45 +0100 |
commit | ff8351f948193207a835ccb9b826bebd06897bdd (patch) | |
tree | 2f9957b37dbc31799201e021677c2c894af27251 /src | |
parent | 272d88460cae164fe310ba905c58e1834eb4eecd (diff) |
Minor cleanup in reladd, 2nd pass
Diffstat (limited to 'src')
-rw-r--r-- | src/libelfu/modelops/reladd.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/libelfu/modelops/reladd.c b/src/libelfu/modelops/reladd.c index 6ab54e0..82b562b 100644 --- a/src/libelfu/modelops/reladd.c +++ b/src/libelfu/modelops/reladd.c @@ -201,23 +201,17 @@ static void* subScnAdd2(ElfuElf *mrel, ElfuScn *ms, void *aux1, void *aux2) switch(ms->shdr.sh_type) { case SHT_NULL: /* 0 */ case SHT_PROGBITS: /* 1 */ + case SHT_SYMTAB: /* 2 */ case SHT_STRTAB: /* 3 */ case SHT_NOBITS: /* 8 */ break; - + case SHT_RELA: /* 4 */ case SHT_REL: /* 9 */ /* Relocate. */ elfu_mRelocate(me, elfu_mScnByOldscn(me, ms->infoptr), ms); break; - case SHT_RELA: /* 4 */ - // TODO: Needs a parser - //elfu_mRelocate(elfu_mScnByOldscn(me, ms->infoptr), ms); - - case SHT_SYMTAB: /* 2 */ - /* Merge with the existing table. Take care of string tables also. */ - /* The next section types either do not occur in .o files, or are * not strictly necessary to process here. */ case SHT_NOTE: /* 7 */ |