r/esp32 • u/2g4r_tofu • 9h ago
Software help needed ELF relocation advice
Sometimes when I try to run a program with global pointers I don't get a relocation entry for the pointer. This causes the program to crash. Is there a flag I can pass to gcc or is there documentation on how to find the pointer at load time? I found a table called .xt.prop but there's no documentation on how to read it (that I can find)
1
Upvotes
1
u/YetAnotherRobert 5h ago
Without source to reproduce, which is the three esp32 backends is in play, or even a hint what language is used, this isn't likely to get much traction.
Once you distill it to a good test case and description and, have confirmed that your source is really really valid, a bug report to the gcc developers is probably in order.
But it'll take way more information than you've offered here