Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC
Commits:
-
c71faa76
by Luite Stegeman at 2025-12-01T03:16:05-05:00
1 changed file:
Changes:
| ... | ... | @@ -205,7 +205,7 @@ ocInit_ELF(ObjectCode * oc) |
| 205 | 205 | oc->info->sectionHeader = (Elf_Shdr *) ((uint8_t*)oc->image
|
| 206 | 206 | + oc->info->elfHeader->e_shoff);
|
| 207 | 207 | oc->info->sectionHeaderStrtab = (char*)((uint8_t*)oc->image +
|
| 208 | - oc->info->sectionHeader[oc->info->elfHeader->e_shstrndx].sh_offset);
|
|
| 208 | + oc->info->sectionHeader[elf_shstrndx(oc->info->elfHeader)].sh_offset);
|
|
| 209 | 209 | |
| 210 | 210 | oc->n_sections = elf_shnum(oc->info->elfHeader);
|
| 211 | 211 |