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: [DRAGONEGG] Expose 4 functions in i386.c


Aren't at least one of these a target hook? Why can't you use the target hooks?

Sent from my iPhone

On Apr 13, 2010, at 8:31 AM, Duncan Sands <baldrick@free.fr> wrote:

My plugin currently needs to be able to call the functions type_natural_mode,
classify_argument, examine_argument and contains_aligned_value_p, which are
defined in config/i386/i386.c. This patch makes them non-static (and adds
declarations - otherwise bootstrap breaks). I've been resisting sending this
patch because (1) in the long run I believe I can rework the plugin to not
need access to these functions; and (2) it is of no intrinsic interest to gcc:
it only benefits my plugin. However it would clearly make life much easier for
my users, since they would then not need to build their own patched version of
gcc. OK to apply to the 4.5 branch and mainline?


Ciao,

Duncan.
<i386_static.diff>


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