This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


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: [semi PATCH] ARM/Thumb branches out of range for MI thunks


> Ok, so it seems clear that we ought to emit these thunks in ARM mode.
> It also seems clear that including C++ front end headers in arm.c is
> not the right way to do it.
> 
> Richard, what do you think the right way would be?  What information
> needs to get exposed in a language-independent manner, so that the
> ARM back end can do the right thing?

I discussed this briefly in private mail with Mark, and his suggestion was 
to implement thunks for the vcall offset case as well.  Once that is done 
we can eliminate the dependence on THUNK_VCALL_OFFSET in arm.c and the 
whole interface becomes much cleaner, since we can just depend on the 
current_function_is_thunk.

I currently don't have time to look into this myself, and I know very 
little about the front ends in any case.

R.



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