version 1.40, 2013/11/26 13:19:07 |
version 1.41, 2014/04/28 18:49:28 |
|
|
|
|
#define SYMTABMAG "/ " |
#define SYMTABMAG "/ " |
#define STRTABMAG "//" |
#define STRTABMAG "//" |
|
#define SYM64MAG "/SYM64/ " |
|
|
union hdr { |
union hdr { |
Elf32_Ehdr elf32; |
Elf32_Ehdr elf32; |
|
|
if (issize || !armap || !symtablen || !symtaboff) |
if (issize || !armap || !symtablen || !symtaboff) |
goto skip; |
goto skip; |
} |
} |
|
#ifdef __mips64 |
|
else if (memcmp(ar_head.ar_name, SYM64MAG, |
|
sizeof(ar_head.ar_name)) == 0) { |
|
/* IRIX6-compatible archive map */ |
|
goto skip; |
|
} |
|
#endif |
|
|
if (!issize && armap && symtablen && symtaboff) { |
if (!issize && armap && symtablen && symtaboff) { |
if (show_symtab(symtaboff, symtablen, fname, fp)) { |
if (show_symtab(symtaboff, symtablen, fname, fp)) { |