<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi,</p>
<p>My application needs to compile linkcmds and create a symbols
file. Here are how I did.<br>
</p>
<p>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</p>
<p>
<title></title>
<meta name="generator" content="LibreOffice 4.3.7.2 (Linux)">
<style type="text/css">
@page { margin: 0.79in }
p { margin-bottom: 0.1in; line-height: 120% }
a:link { so-language: zxx }
</style>
<p style="margin-bottom: 0in; line-height: 100%; text-decoration:
none">
$ 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`</p>
<p style="margin-bottom: 0in; line-height: 100%; text-decoration:
none">
$ arm-rtems4.11-nm -g -fposix o-optimize/startfiles.obj >
o-optimize/startfiles.nm</p>
<p style="margin-bottom: 0in; line-height: 100%; text-decoration:
none">After created the startfiles.nm file, I found there some
symbols with unknown type of '?'</p>
<p style="margin-bottom: 0in; line-height: 100%; text-decoration:
none">
<meta http-equiv="content-type" content="text/html;
charset=utf-8">
</p>
</p>
<p style="margin-bottom: 0in; line-height: 100%; text-decoration:
none">
<title></title>
<meta name="generator" content="LibreOffice 4.3.7.2 (Linux)">
<style type="text/css">
@page { margin: 0.79in }
p { margin-bottom: 0.1in; line-height: 120% }
a:link { so-language: zxx }
</style>
<p style="margin-bottom: 0in; line-height: 100%; text-decoration:
none">
bsp_section_rodata_begin ? 00300204</p>
<p style="margin-bottom: 0in; line-height: 100%; text-decoration:
none">
bsp_section_rodata_end D 00300214</p>
<p style="margin-bottom: 0in; line-height: 100%; text-decoration:
none">
bsp_section_rodata_load_begin A 00300204</p>
<p style="margin-bottom: 0in; line-height: 100%; text-decoration:
none">
bsp_section_rodata_load_end A 00300214</p>
<p style="margin-bottom: 0in; line-height: 100%; text-decoration:
none">
bsp_section_rodata_size A 00000010</p>
<p style="margin-bottom: 0in; line-height: 100%; text-decoration:
none">
bsp_section_rwbarrier_align A 00100000</p>
<p style="margin-bottom: 0in; line-height: 100%; text-decoration:
none">
bsp_section_stack_begin ? 40000000</p>
<p style="margin-bottom: 0in; line-height: 100%; text-decoration:
none">
bsp_section_stack_end ? 40000000</p>
<p style="margin-bottom: 0in; line-height: 100%; text-decoration:
none">
......<br>
</p>
<p style="margin-bottom: 0in; line-height: 100%; text-decoration:
none">
__deregister_frame_info w</p>
<p style="margin-bottom: 0in; line-height: 100%; text-decoration:
none">
__dso_handle D 00401400</p>
<p style="margin-bottom: 0in; line-height: 100%; text-decoration:
none">
__exidx_end ? 00300204</p>
<p style="margin-bottom: 0in; line-height: 100%; text-decoration:
none">
__exidx_start ? 00300204</p>
</p>
<p>
<p style="margin-bottom: 0in; line-height: 100%; text-decoration:
none">
.....</p>
<p style="margin-bottom: 0in; line-height: 100%; text-decoration:
none">Dose anyone know what causes the problem? and how to solve
it? <br>
</p>
<p style="margin-bottom: 0in; line-height: 100%; text-decoration:
none">Thanks,</p>
<p style="margin-bottom: 0in; line-height: 100%; text-decoration:
none">Jay<br>
</p>
</p>
</body>
</html>