[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: [kde-freebsd] Re: objprelink patch for freebsd
From: Andy Fawcett <andy () athame ! co ! uk>
Date: 2001-12-05 7:25:28
[Download RAW message or body]
At 08:02 5.12.2001 +0100, Bradley T Hughes wrote:
>On Wednesday 05 December 2001 07:43, Andy Fawcett wrote:
> > The original objprelink was doing pretty much nothing on FreeBSD, for
> > precisely the reasons Bradley updated it.
[snip]
> > But since objprelink most likely wouldn't have found any references with
> > the linux-style prefix, I think it was pretty safe.
>
>Actually, it's not a linux-specific prefix.
Bad choice of words on my part. I meant "the style used by linux, and used
in the original objprelink" :)
>It has to do with how the vtables are generated. gcc uses vtable-thunks
>on linux by default (the __vt_ prefix), yet on freebsd we use the
>"normal", which is the _vt prefix.
But because of the different prefix used, on 'standard' (ahem) FreeBSD
systems (without modified compilers etc), the original program should have
had little or no effect, either way?
>If and when freebsd moves over to using vtable-thunks (a much nicer way of
>doing vtables too, since you aren't restricted in vtable size as with the
>normal method), then the patch needs to be reverted...
I guess that it should be possible to build some compile-time checks in
there to see which 'flavour' of prefix to use.
Andy
--
Andy Fawcett | "In an open world without walls and fences,
andy@athame.co.uk | we wouldn't need Windows and Gates." --anon
http://athame.ath.cx/ |
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic