m68k-coff: Unused memory region included in output file?

Bill Gatliff bgat@billgatliff.com
Tue Oct 26 15:20:00 GMT 2004



Does the program run properly when you munge your linker command file to 
leave this data out?

I think there was a .init section added in 3.x, along with a .ctor and 
.dtor that are needed even for non-C++ programs.

Bits of the dump you posted look like function addresses, which would be 
consistent with .ctor/.dtor tables.

I wouldn't know any of this if I hadn't had the exact same problem when 
I converted over to 3.x, but that was a long time ago and my program 
refused to run without the fixes...


Bill Gatliff
Embedded GNU, Linux, and other board support packages.

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

More information about the crossgcc mailing list