trouble with Dynamic load application

jameszxj jameszxj at gmail.com
Thu Aug 3 01:48:26 UTC 2017


Hi
  I run RTEMS on my xilinx z7k board and dynamic load application from shell. when the app just has 1 source file,
dynamic is ok. when the app have more than 1 files, for example a.c b.c, function a() in file a.c function b() in b.c
and function a() call b(), dynamic failed.

compiler command line
1 file: a.c
   arm-rtems4.12-gcc -c -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -mtune=cortex-a9 -mlong-calls a.c

more than 1 file: a.c b.c
   arm-rtems4.12-gcc -r -nostdlib -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -mtune=cortex-a9 -mlong-calls a.c b.c -o app.elf

did I do something wrong?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20170803/15b6e222/attachment.html>


More information about the users mailing list