linkcmds symbol file with unknown symbol type '?'

Jianxun Yan yanjx at jlab.org
Tue Sep 5 19:42:19 UTC 2017


Hi,

My application needs to compile linkcmds and create a symbols file. Here 
are how I did.

$ arm-rtems4.11-g++ 
-B/home/yanjx/workspace/rtems411/arm-rtems4.11/altcycv_devkit/lib/ 
-specs bsp_specs -qrtems -Wall -O2 -g -march=armv7-a -mthumb -mfpu=vfp 
-mfloat-abi=softfp -mtune=cortex-a9 -I. -Invram -nodefaultlibs -o 
o-optimize/startfiles.obj -Wl,--unresolved-symbols=ignore-all 
-T`arm-rtems4.11-gcc --pipe 
-B/home/yanjx/workspace/rtems411/arm-rtems4.11/altcycv_devkit/lib/ 
-specs bsp_specs -qrtems -print-file-name=linkcmds`

$ arm-rtems4.11-nm -g -fposix o-optimize/startfiles.obj > 
o-optimize/startfiles.nm

After created the startfiles.nm file, I found there some symbols with 
unknown type of '?'

bsp_section_rodata_begin ? 00300204

bsp_section_rodata_end D 00300214

bsp_section_rodata_load_begin A 00300204

bsp_section_rodata_load_end A 00300214

bsp_section_rodata_size A 00000010

bsp_section_rwbarrier_align A 00100000

bsp_section_stack_begin ? 40000000

bsp_section_stack_end ? 40000000

......

__deregister_frame_info w

__dso_handle D 00401400

__exidx_end ? 00300204

__exidx_start ? 00300204

.....

Dose anyone know what causes the problem? and how to solve it?

Thanks,

Jay

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20170905/2de95680/attachment.html>


More information about the users mailing list