WEAK_REFERENCE?

Konstantin Belousov kostikbel at gmail.com
Thu Nov 14 06:00:33 UTC 2013


On Wed, Nov 13, 2013 at 10:18:27PM +0100, Andreas Tobler wrote:
> On 11.11.13 08:47, Konstantin Belousov wrote:
> > On Sat, Nov 09, 2013 at 11:16:08PM +0100, Andreas Tobler wrote:
> >> Hi all,
> >>
> >> anyone interested in this patch to remove the WEAK_ALIAS and introduce
> >> the WEAK_REFERENCE?
> >>
> >> http://people.freebsd.org/~andreast/weak_ref.amd64.diff
> >>
> >> I have this running since months on amd64 and I have no issues with.
> >>
> >> I remember having had a communication with bde@ that he is in favour in
> >> doing that but I lacked the time to complete.
> >> A similar thing is pending for i386 and sparc64. The ppc stuff is
> >> already committed since a longer time.
> >>
> >> If no one is interested, I'm happy to clean up my tree and skip this.
> > 
> > I am not sure why do you include the changes to END() in the same patch.
> > Did you looked over the all END() usages on amd64, is it always paired
> > with ENTRY() ?  The CNAME() for ELF is the pedantism anyway.
> > 
> > Other than the somewhat questionable inclusion of the END() change, which
> > should be committed separately, if ever, I think the change is fine.
> 
> Am I correct, without this line in sys/amd64/include/asm.h?
> 
> #define END(name)       .size CNAME(name), . - CNAME(name)
Yes.  If committing it, please make separate commit.

> 
> If so, I just need a usable dot.emacs file to match the formatting
> expectations from bde. Sounds easy, but I didn't succeed so far.
Nah, cannot be.  Emacs source code has too many inconsistencies, the
code does not follow its own style.  I doubt Bruce would use it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20131114/dfa54323/attachment.sig>


More information about the freebsd-current mailing list