This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Objcopy problem on arm-linux


Hi, Guys,

I have a problem when using the objcopy crosscompile
for Arm on Linux. After I compiled the code using gcc,
I used ld to generate a .axf file, and used objcopy to
get .bin file from that .axf file. The whole process
succeeded. However, the size of .bin file is weird,
since it is 50 times of the .axf file. I viewed the
.bin file, and found objcopy added a lot of data
not-belonging-to the code to the .bin file. Could you
help on this? Why objcopy attached those data and is
there a way to get rid of it?

The gcc I am using is 3.2.14, and the objcopy is 2.15.


Thank you very much.


Best,


Long


		
__________________________________ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]