diff options
| author | Mark Wielaard <[email protected]> | 2014-12-26 16:20:39 +0100 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2015-01-12 22:06:27 +0100 |
| commit | 8fb260f7137a231caf250dbe4ba64fcebd33b68d (patch) | |
| tree | 9b61edb657d41c9457fea1e67470f01561814b63 /src/nm.c | |
| parent | 0b799ad9822f4866aaf1eb34564681e83bdaf9f1 (diff) | |
nm: Handle/Skip /SYM64/ index entries.
Add a testcase to show eu-nm now handles archives with 64-bit symbol table.
Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'src/nm.c')
| -rw-r--r-- | src/nm.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -493,7 +493,8 @@ handle_ar (int fd, Elf *elf, const char *prefix, const char *fname, /* Skip over the index entries. */ if (strcmp (arhdr->ar_name, "/") != 0 - && strcmp (arhdr->ar_name, "//") != 0) + && strcmp (arhdr->ar_name, "//") != 0 + && strcmp (arhdr->ar_name, "/SYM64/") != 0) { if (elf_kind (subelf) == ELF_K_ELF) result |= handle_elf (subelf, new_prefix, arhdr->ar_name, |
