This is the mail archive of the gcc@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: mudflap versus cgraph


On Tue, 22 Jun 2004 10:31:31 -0700
Richard Henderson <rth@redhat.com> wrote:

> On Mon, Jun 21, 2004 at 09:14:04PM -0700, Zack Weinberg wrote:
...
> > provided that we could figure out how to construct a function in a
> > completely language-independent manner (which we need anyway).
> 
> We have gimple/generic.  We *can* create completely languages
> independent functions now.

What should it look like?  All existing examples of synthetic function
creation involve calling a few language-dependent hooks (if nothing
else, the start_function and finish_function equivalents).

> >         .section .rodata.mf.statics, "a"
> >         .long x
> >         .long 4
> 
> This is pic-safe if you put it in a writeable section.

Good to know, but this change is more invasive than I want to get into
right now.

zw


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