version 1.2, 2004/01/13 17:32:32 |
version 1.3, 2004/03/30 15:12:38 |
|
|
#error "Unsupported ELF class" |
#error "Unsupported ELF class" |
#endif |
#endif |
|
|
|
#define ELF_SBSS ".sbss" |
|
|
int |
int |
elf_fix_header(Elf_Ehdr *eh) |
elf_fix_header(Elf_Ehdr *eh) |
{ |
{ |
|
|
} else if (!strcmp(sn, ELF_DATA)) |
} else if (!strcmp(sn, ELF_DATA)) |
np->n_type = N_DATA; |
np->n_type = N_DATA; |
else if (!strcmp(sn, ELF_BSS)) |
else if (!strcmp(sn, ELF_BSS)) |
|
np->n_type = N_BSS | N_EXT; |
|
else if (!strcmp(sn, ELF_SBSS)) |
np->n_type = N_BSS; |
np->n_type = N_BSS; |
else |
else |
np->n_other = '?'; |
np->n_other = '?'; |