diff options
| author | 2025-10-18 18:12:19 +0200 | |
|---|---|---|
| committer | 2025-10-18 18:12:19 +0200 | |
| commit | 99adb48d94c59cb2e5701ca39d7c40d4f63459b3 (patch) | |
| tree | be3c432db54dd7f4e1ceab70848543bba1a4ead8 /elf.c | |
| parent | ffca6b54a9654005a121c3557bb8b245ae65ce55 (diff) | |
#pragma once
Diffstat (limited to 'elf.c')
| -rw-r--r-- | elf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -362,7 +362,7 @@ elffini(struct wbuf *out) memcpy(shstrs + shnam_reldata + 4, ".data\0", 6); } - symtab.p[1].name = str2idx(getfilename(0)); + symtab.p[1].name = str2idx(objout.infile); qsort(symtab.p+2, symtab.n-2, sizeof *symtab.p, symcmp); /* fixup relocs */ for (int i = 0; i < relocs.n; ++i) { |