Fix ARM EABI profiling
Paul Brook
paul@codesourcery.com
Wed Oct 29 22:13:00 GMT 2008
> R12 is only clobbered with ARM->Thumb linker glue, so if our mcount is
> built in ARM mode (unless building for non-interworking Thumb, in which
> case no glue is generated) then I don't believe there is a problem.
Having the Application and _mount implementation both in the same mode is a
fairly big assumption. It violates the EABI requirement that code be
interworking safe.
Paul
More information about the Gcc-patches
mailing list