This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Objcopy problem on arm-linux
- From: Long Li <long21st at yahoo dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Thu, 11 Nov 2004 10:50:33 -0800 (PST)
- Subject: Objcopy problem on arm-linux
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=lWCEJzoaS9H99z16DoR/HUDdYQJ7GVdyQVzUv/b429i03t5H3pFzVWLDfZ4QCMnhzXWVl3+gplbnDaMN4OKF4QA6q28P1y8NBkbE/etdwTRNDHJNdfevSr/mrBU4ov7xG0JiPeRH0sYRqwYlCMwvNrWN/XLVI7DDxCaPVmVybvQ= ;
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