Re: [patch] libc: Do not export .cerror

2012-09-01 Thread Konstantin Belousov
On Sat, Sep 01, 2012 at 12:48:50AM +0200, Jilles Tjoelker wrote: > On Tue, Aug 28, 2012 at 02:03:22PM +0300, Konstantin Belousov wrote: > > On Sat, Aug 25, 2012 at 12:16:55AM +0200, Jilles Tjoelker wrote: > > > Not exporting .cerror causes it to be jumped to directly instead of via > > > the PLT. >

Re: [patch] libc: Do not export .cerror

2012-08-31 Thread Jilles Tjoelker
On Tue, Aug 28, 2012 at 02:03:22PM +0300, Konstantin Belousov wrote: > On Sat, Aug 25, 2012 at 12:16:55AM +0200, Jilles Tjoelker wrote: > > Not exporting .cerror causes it to be jumped to directly instead of via > > the PLT. > > The below patch is for i386 only and also takes advantage of .cerror'

Re: [patch] libc: Do not export .cerror

2012-08-28 Thread Konstantin Belousov
On Sat, Aug 25, 2012 at 12:16:55AM +0200, Jilles Tjoelker wrote: > For some reason, libc exports the symbol .cerror (HIDENAME(cerror)), > albeit in the FBSDprivate_1.0 version. It looks like there is no reason > for this since it is not used from other libraries. Given that it cannot > be accessed

[patch] libc: Do not export .cerror

2012-08-24 Thread Jilles Tjoelker
For some reason, libc exports the symbol .cerror (HIDENAME(cerror)), albeit in the FBSDprivate_1.0 version. It looks like there is no reason for this since it is not used from other libraries. Given that it cannot be accessed from C and its strange calling convention, it is rather unlikely that oth