Parse rodata too
This commit is contained in:
parent
bcdebf0e9d
commit
02c0b8a4e4
|
@ -192,6 +192,8 @@ find_local_symbol(int fd, const char *symbol,
|
||||||
sect = &bss;
|
sect = &bss;
|
||||||
} else if(s.st_shndx == data.number) {
|
} else if(s.st_shndx == data.number) {
|
||||||
sect = &data;
|
sect = &data;
|
||||||
|
} else if(s.st_shndx == rodata.number) {
|
||||||
|
sect = &rodata;
|
||||||
} else if(s.st_shndx == text.number) {
|
} else if(s.st_shndx == text.number) {
|
||||||
sect = &text;
|
sect = &text;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue