This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Adjust set_stack_check_libfunc, remove one include rtl.h in ada's trans.c
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Steven Bosscher <stevenb dot gcc at gmail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 26 May 2010 22:38:03 +0200
- Subject: Re: [patch] Adjust set_stack_check_libfunc, remove one include rtl.h in ada's trans.c
- References: <AANLkTik1TziLR61Mh4m9-SRGocvsz16ZAjv6KKQ_fPIt@mail.gmail.com>
> 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