WinARM vs Yagarto

OP #1174475
Rate this post
• ▲ useful
▼ not useful
I'm comparing WinARM (20060606) and Yagarto (20080928) with identical
build options on the same project.  I find that the ELF produced is
similar in file size, but when it comes to creating a binary,
arm-elf-objcopy from yagarto produces a binary that is 2.5 times larger
than WinARM.  Why is this?
Moderator #1174476
Rate this post
• ▲ useful
▼ not useful
Joe Dupre wrote:
> I'm comparing WinARM (20060606) and Yagarto (20080928) with identical
> build options on the same project.  I find that the ELF produced is
> similar in file size, but when it comes to creating a binary,
> arm-elf-objcopy from yagarto produces a binary that is 2.5 times larger
> than WinARM.  Why is this?

Maybe there are "holes" since the are values in the load-image which
should not be there (i.e. for locations in RAM). Open the binary with a
hex-editor an see if there are very long sequences of the same value and
create a hex-file and look for larger steps in the addresses. WinARM
2006006 uses a rather old version of the binutils the ones in the
current Yagarto are much newer. Check the linker-scrip for a correct
entry-setting and "noload" for sections which should not go into the
load-image (i.e. sections for "heap" and "stack").

If nothing helps create two minimal but complete examples which show the
difference and attach them to a message here include the output of
objdump, the symbol-file and the map-file created during the two builds
if possible.

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.