This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


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

Re: Patch: Remove unused return values


On Thu, 8 Mar 2001, Bo Thorsen wrote:

> This patch removes the return values of the c++ vtable functions. There
> are three reasons for doing this. First of all, no function uses the
> returned value.

Not quite true.  The return value is used in tc-hppa.c

> Second, it removes the ugly cast in the pseudo ops table.

Yeah, I agree it's ugly.

> Third and most important: I'm trying to find the right way to write vtable
> info to special sections, and when this happens, the returned info will no
> longer exist.

This I like.  Since I was the author this particular ugly hack in
tc-hppa.c, I'll see about removing it if it makes your life easier.  Might
be a day or two before I find time...

Alan Modra
-- 
Linuxcare


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