Issue in objcopy for EABI version of YAGARTO

Guest #2225643
Rate this post
• ▲ useful
▼ not useful
I was attempting to upgrade from an older version of YAGARTO that uses 
elf to solve a problem with objcopy for my ARM9 project. After 
installing the latest eabi version I did a -i on objcopy and it reports 
it only targets elf32... formats, not eabi. I am not very experienced 
with this but I expect this is an issue.

With the elf version of YAGARTO I am using objcopy to convert binary 
data files to .o files to link into my code to access images and large 
data tables using the following make call as an example:

ESI_Logo.o : ESI_Logo.GIF
  $(OBJCOPY) -v -I binary -B elf32-littlearm ESI_Logo.GIF ESI_Logo.o

I was able to link and access this GIF, for a while, if I told ld to 
ignore the arch. Then it just stopped working and ld reports an unknown 
file format. Don't know what I changed other then my source code 
accessing the GIF data.

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.