From 02c0b8a4e4fab73d5887b3cd95c9a8390cd19842 Mon Sep 17 00:00:00 2001 From: Adam Dunkels Date: Sun, 28 Jul 2013 19:26:17 +0200 Subject: [PATCH] Parse rodata too --- core/loader/elfloader.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/loader/elfloader.c b/core/loader/elfloader.c index 8a04c095b..85e327f8e 100644 --- a/core/loader/elfloader.c +++ b/core/loader/elfloader.c @@ -192,6 +192,8 @@ find_local_symbol(int fd, const char *symbol, sect = &bss; } else if(s.st_shndx == data.number) { sect = &data; + } else if(s.st_shndx == rodata.number) { + sect = &rodata; } else if(s.st_shndx == text.number) { sect = &text; } else {