On 16/1/19 12:10 pm, Chris Johns wrote: > On 15/1/19 5:54 pm, Sebastian Huber wrote: >> You need an undefined reference to a symbol. References inside a translation >> unit are apparently not undefined references. > > Does DWARF give us any better insight and the information needed? >
My work to load archives via libdl seems to indicate there has to a relocation record because separate text and data requires each function is placed in a separate section and loading the section means the linker allocate the address which the compiler cannot guess. The reloc record must point to the symbol which means we should be able to redirect it. Something to consider. Chris _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel