sh64-elf (SH5) port

Alexandre Oliva aoliva@redhat.com
Tue Feb 5 13:08:00 GMT 2002


On Feb  5, 2002, Neil Booth <neil@daikokuya.demon.co.uk> wrote:

> Alexandre Oliva wrote:-
>> It's not a target hook.  It's a generic hook.  Think of these hooks as
>> (lambda (&rest args) t) or (lambda (&rest args) nil) fit into the
>> limitations of C, such that we don't have to go into the insanity of
>> adding declarations, definitions and whatnot  every time we introduce
>> a new hook, be it a target hook or a language hook.  The point is to
>> have some do-nothing functions that can be reused whenever we don't
>> really have to do anything.

> Ah, I see.  Thanks for the explanation.  You might want to have a look
> at target.c and langhooks.c; there are probably redundant copies of
> do nothing functions there.

I'll get to that.  But I wanted to check whether the idea would fly
before spending more time on that.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer



More information about the Gcc-patches mailing list