This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Move __mcount_internal from GLIBC_PRIVATE to GLIBC_2.16


On Saturday 19 May 2012 10:17:02 Andreas Schwab wrote:
> Mike Frysinger <vapier@gentoo.org> writes:
> > the _mcount symbol lives in libc.so
> 
> No, it doesn't any more.  That's the whole point of the
> __mcount_internal export.

it does in glibc-2.15 and earlier:
$ readelf -sW /lib64/libc.so.6
   110: 00000000000e9310    91 FUNC    GLOBAL DEFAULT   11 _mcount@@GLIBC_2.2.5
  1960: 00000000000e9310    91 FUNC    WEAK   DEFAULT   11 mcount@@GLIBC_2.2.5

which means  __mcount_internal@GLIBC_PRIVATE makes no sense because nothing
external to glibc is referring to it

whether a random glibc git version exported it doesn't matter as we only care
about compatibility with releases
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


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