diff options
author | norly <ny-git@enpas.org> | 2013-06-03 02:43:18 +0100 |
---|---|---|
committer | norly <ny-git@enpas.org> | 2013-06-03 02:43:18 +0100 |
commit | f661dd3e9708687574ad193b24a5d3d37b825bd7 (patch) | |
tree | 08ba24722f4efa6f17e7d8a2b82539a58b934073 /src/model/reladd.c | |
parent | 3ab3fa41bb34e51f17190e0cb0cf1b38e72d8b69 (diff) |
Do not insert STRTAB sections explicitly
Diffstat (limited to 'src/model/reladd.c')
-rw-r--r-- | src/model/reladd.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/model/reladd.c b/src/model/reladd.c index 482804c..2fdfb48 100644 --- a/src/model/reladd.c +++ b/src/model/reladd.c @@ -173,6 +173,7 @@ 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_STRTAB: /* 3 */ case SHT_NOBITS: /* 8 */ break; @@ -189,10 +190,6 @@ static void* subScnAdd2(ElfuElf *mrel, ElfuScn *ms, void *aux1, void *aux2) case SHT_SYMTAB: /* 2 */ /* Merge with the existing table. Take care of string tables also. */ - case SHT_STRTAB: /* 3 */ - /* May have to be merged with the existing string table for - * the symbol table. */ - /* The next section types either do not occur in .o files, or are * not strictly necessary to process here. */ case SHT_NOTE: /* 7 */ |