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: [patch] Adjust set_stack_check_libfunc, remove one include rtl.h in ada's trans.c


> I've moved the declaration of set_stack_check_libfunc to libfuncs.h
> and I've adjusted the function so that it accepts the libfunc name as
> a string instead of a SYMBOL_REF. It's still a bit of an uncomfortable
> interface, but it's better in the sense that there's one less Ada
> dependency on rtl headers (the last one remaining is the debug stuff I
> just sent out an RFH for).

That's OK, it's kludgy stuff, it should go away at some point.

> Boostrapped on x86_64-unknown-linux-gnu. Testing in progress but I am
> not sure if testing covers this stack checking code or not.

No, this code is only used for MMU-less platforms, but that's OK anyway.

-- 
Eric Botcazou


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