Patch: Remove unused return values
Alan Modra
alan@linuxcare.com.au
Thu Mar 8 03:18:00 GMT 2001
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
More information about the Binutils
mailing list