arm-elf-gcc - disappearing module header

Richard Earnshaw rearnsha@arm.com
Thu Jun 1 02:33:00 GMT 2000


cook@maya.com said:
> I'm fairly certain that it isn't actually there - in order to make a
> rommable image for this board, one builds the image, computes a
> checksum based on that image, changes a value in the module header,
> then rebuilds the image.  The two images shouldn't be identical - but
> they are.  Also, a string inserted in the module header is not
> retrievable by arm-elf-strings, though strings in other parts of the
> code are. 

Nicole,

You didn't post the contents of your module.c file, so it's hard to tell 
exactly what is failing.

Exactly how did you declare your structure in module.c?

If you run arm-elf-nm on module.o, what symbols do you see?

If your symbol is there, try running arm-elf-nm on the final image.  Is 
the symbol still there?

Richard.


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com



More information about the crossgcc mailing list