We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f2c2f9 commit 66990c0Copy full SHA for 66990c0
scripts/sorttable.h
@@ -299,14 +299,14 @@ static int do_sort(Elf_Ehdr *ehdr,
299
#if defined(SORTTABLE_64) && defined(UNWINDER_ORC_ENABLED)
300
/* locate the ORC unwind tables */
301
if (!strcmp(secstrings + idx, ".orc_unwind_ip")) {
302
- orc_ip_size = s->sh_size;
+ orc_ip_size = _r(&s->sh_size);
303
g_orc_ip_table = (int *)((void *)ehdr +
304
- s->sh_offset);
+ _r(&s->sh_offset));
305
}
306
if (!strcmp(secstrings + idx, ".orc_unwind")) {
307
- orc_size = s->sh_size;
+ orc_size = _r(&s->sh_size);
308
g_orc_table = (struct orc_entry *)((void *)ehdr +
309
310
311
#endif
312
} /* for loop */
0 commit comments