diff options
author | Ben Gamari <ben@smart-cactus.org> | 2022-07-13 14:30:13 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-07-16 23:50:36 -0400 |
commit | d9bff44ca5a4a05434d32f76f665c332a0d26f43 (patch) | |
tree | c1edbcdc7456c3104fd6c60fb6c3ab293bef4658 | |
parent | 6f3816af374f5c5b70f37e14a23ca8f209c365c2 (diff) | |
download | haskell-d9bff44ca5a4a05434d32f76f665c332a0d26f43.tar.gz |
rts/linker/MachO: Drop dead code
-rw-r--r-- | rts/linker/MachO.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/rts/linker/MachO.c b/rts/linker/MachO.c index 8290ab8d2c..8d48966f4b 100644 --- a/rts/linker/MachO.c +++ b/rts/linker/MachO.c @@ -1394,7 +1394,6 @@ ocGetNames_MachO(ObjectCode* oc) { IF_DEBUG(linker_verbose, debugBelch("ocGetNames_MachO: inserting %s\n", nm)); SymbolAddr* addr = oc->info->macho_symbols[i].addr; - MachOSection *sect = &oc->info->macho_sections[oc->info->macho_symbols[i].nlist->n_sect-1]; // TODO: Make figure out how to determine this from the object file SymType sym_type = SYM_TYPE_CODE; ghciInsertSymbolTable( oc->fileName |