symbol resolve between the two RAP files
hot486two at gmail.com
Tue Sep 10 00:23:28 UTC 2019
I wonder if I can resolve the symbol between the two RAP files for dynamic
a.c. / b.c. / main.c.
a.c. -> a.rap
- define 'a_test_func()'
b.c. -> b.rap
- use 'a_test_func()'
main.c -> BaseImage
Attempting to generate b.c. as b.rap using rtems-ld, an error occurs
$ rtems-ld -b BaseImage -e b_main b.o -o b.rap
=> error: b.o: symbol not found: a_test_func
I already know why this problem occurs, since BaseImage does not have a
symbol for 'a_test_func'
Is there a way to solve this? Or is it impossible at all?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the users