ELF header e_entry address is extracted from adress 0xfffe. For instance STM8 reset vector is at 0x8000. It might be a good idea to use a label reference instead.
The changes in revision [r10063] are a newer version of some STM8-specific bits of this patch. Could you update the patch to reflect the remaining changes vs. current SDCC?
Philipp
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
New patch uploaded. Based on r10063. The previous patch file was containing all the patches I've made unforunately. I hope I didn't confuse things too much. It's just one file affected by this patch, lkelf.c
The changes in revision [r10063] are a newer version of some STM8-specific bits of this patch. Could you update the patch to reflect the remaining changes vs. current SDCC?
Philipp
New patch uploaded. Based on r10063. The previous patch file was containing all the patches I've made unforunately. I hope I didn't confuse things too much. It's just one file affected by this patch, lkelf.c
/Ake
Thanks. Applied in [r10067].
Philipp