共4条
1/1 1 跳转至页
makeSysTbl的问题,大家都来看看。
F:\pppoe_np\host\x86-win32\bin\makeSymTbl arm tmp.o > symTbl.c
ccarm -c -fdollars-in-identifiers -mcpu=arm8 -mapcs-32 -mlittle-endian -ansi -no
stdinc -O2 -mno-sched-prolog -fno-builtin -fvolatile -Wall -I/h -I. -IF:\pppoe_
np\target/h/tms -IF:\pppoe_np\target/h/tms/stp -IF:\pppoe_np\target/h/tms/swdrv
-IF:\pppoe_np\target/h/tms/swdrv/ixp1200eb_le -IF:\pppoe_np\target/h/tms/idb -IF
:\pppoe_np\target/h/tms/libt -IF:\pppoe_np\target/h/tms/common -IF:\pppoe_np\tar
get/config/comps/src/tms -IF:\pppoe_np\target/config/comps/src/tms -I. -IF:\pp
poe_np\target\config\all -IF:\pppoe_np\target/h -IF:\pppoe_np\target/src/config
-IF:\pppoe_np\target/src/drv -DCPU=ARMARCH4 -DARMEL -Wcomment -DINCLUDE_EARLY_SE
RIAL_DEBUG -DARMMMU=ARMMMU_SA1100 -DARMCACHE=ARMCACHE_SA1100 -DTOR201 -DMVR -DUS
E_LEDS_FOR_DEBUG -DTMS -DVXWORKS -DINCLUDE_L2 -g -O0 -Wno-implicit symTbl.c
[color=#DC143C]symTbl.c:16309: warning: excess elements in array initializer after `standTbl'
symTbl.c:16310: warning: excess elements in array initializer after `standTbl'[/color]
ldarm -X -EL -N -e _sysInit -Ttext 00001000 -o vxWorks.st tmp.2 symTbl.o ctdt.o
F:\pppoe_np\host\x86-win32\bin\vxsize arm -v 00900000 00001000 vxWor
ks.st
vxWorks.st: 3641676(t) + 981644(d) + 643148(b) = 5266468 (4166620 unused)
F:\pppoe_np\target\config\ixp1200eb_le>rem --output-target=binary
F:\pppoe_np\target\config\ixp1200eb_le>objcopyarm -S -R .stab -R .stabstr -R .co
mment vxWorks.st vxWorksst.bin
F:\pppoe_np\target\config\ixp1200eb_le>deflate 0vxWorksst.Z
Deflation: 66.11%
makeSymTbl为何算符号的个数不正确?
我打开symTbl.c文件查看standTbl[]
symTbl.c文件
Line: 8162 SYMBOL standTbl [8145] =
Line: 8163 {
Line: 8164 {{NULL},"_ASCTIME", (char*) ASCTIME, 0, N_EXT | N_TEXT},
Line: 8165 {{NULL},"_ATOI", (char*) ATOI, 0, N_EXT | N_TEXT},
......
Line: 16307 {{NULL},"_zcalloc", (char*) zcalloc, 0, N_EXT | N_TEXT},
Line: 16308 {{NULL},"_zcfree", (char*) zcfree, 0, N_EXT | N_TEXT},
Line: 16309 {{NULL},"_zeroin_addr", (char*) &zeroin_addr, 0, N_EXT | N_BSS},
Line: 16310 {{NULL},"_zlibVersion", (char*) zlibVersion, 0, N_EXT | N_TEXT},
Line: 16311 };
Line: 16312
Line: 16313 ULONG standTblSize = 8145;
16310 - 8163 = 8147。 请问为何数组空间少了两个?每次都是如此。
关键词: makeSysTbl 问题 大家 都来 看看 pp
共4条
1/1 1 跳转至页
回复
有奖活动 | |
---|---|
【有奖活动】分享技术经验,兑换京东卡 | |
话不多说,快进群! | |
请大声喊出:我要开发板! | |
【有奖活动】EEPW网站征稿正在进行时,欢迎踊跃投稿啦 | |
奖!发布技术笔记,技术评测贴换取您心仪的礼品 | |
打赏了!打赏了!打赏了! |