<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="MSHTML 6.00.2800.1586" name=GENERATOR></HEAD>
<BODY style="FONT: 10pt Courier New" leftMargin=5 topMargin=5>
<DIV>
<DIV>I am bit confused with the following mapfile entry. </DIV>
<DIV> </DIV>
<DIV>
<DIV> </DIV>
<DIV> .rodata.str1.1<BR>
0x0318b891 0x66f
o-optimize/netcom.o<BR>
0x6e4 (size before
relaxing)<BR> .rodata.str1.1<BR>
0x00000000 0x2
o-optimize/misc.o<BR> .rodata.str1.1<BR>
0x0318bf00 0x9e
o-optimize/desk.o<BR> .rodata.str1.1<BR>
0x0318bf9e 0x3d3
o-optimize/aspfunc.o<BR>
0x3f8 (size before relaxing)<BR></DIV></DIV>
<DIV> </DIV>
<DIV>Having built an application with rtems-4.7 I cannot</DIV>
<DIV>opjcopy the created .exe into a binary that is nearly</DIV>
<DIV>as small as I expected. (50MB -> 700kB)</DIV>
<DIV> </DIV>
<DIV>The code will be running at 0x03100000. But there</DIV>
<DIV>seems to be some object beeing used at 0x0 so that</DIV>
<DIV>objcopy fills the gap with 50MB of zeros. </DIV>
<DIV> </DIV>
<DIV>I was wondering about the rodata.str1.1 section having</DIV>
<DIV>adress 0x0 as the link-address (might be merged constants). </DIV>
<DIV> </DIV>
<DIV>Can someone give me a hint on how to get rid of the unneeded</DIV>
<DIV>symbols so objcopy can generate an appropriate binary ? </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>$(CC) ... -fno-merge-constants does not help because any </DIV>
<DIV> contributed
library had to be recompiled)</DIV>
<DIV> </DIV>
<DIV>OUTPUT_FORMAT (binary) in fact produces a running binary </DIV>
<DIV> - but I
like to keep always a disassemble which </DIV>
<DIV>
itself needs the symbols for objdump. </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Happy new year, </DIV>
<DIV>kind regards: </DIV>
<DIV> </DIV>
<DIV>Frank</DIV>
<DIV> </DIV></DIV></BODY></HTML>