projects
/
centaur.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3ab3fa4
)
Do not insert STRTAB sections explicitly
author
norly
<ny-git@enpas.org>
Mon, 3 Jun 2013 01:43:18 +0000
(
02:43
+0100)
committer
norly
<ny-git@enpas.org>
Mon, 3 Jun 2013 01:43:18 +0000
(
02:43
+0100)
src/model/reladd.c
patch
|
blob
|
history
diff --git
a/src/model/reladd.c
b/src/model/reladd.c
index 482804c08da5783849cf6799e2392e2635a83c0f..2fdfb48bf25fc56c4a59a791046fba42118668be 100644
(file)
--- 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 */
switch(ms->shdr.sh_type) {
case SHT_NULL: /* 0 */
case SHT_PROGBITS: /* 1 */
+ case SHT_STRTAB: /* 3 */
case SHT_NOBITS: /* 8 */
break;
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_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 */
/* The next section types either do not occur in .o files, or are
* not strictly necessary to process here. */
case SHT_NOTE: /* 7 */