This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Toralf:

Hmmm...

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...


b.g.


--
Bill Gatliff
Embedded GNU, Linux, and other board support packages.
bgat@billgatliff.com


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]