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: Evolution of ELF symbol management


On Tue, 22 Nov 2016, Florian Weimer wrote:

> I have no idea at all why __bzero was introduced.  It doesn't look like a

It used to be used in a bits/string2.h definition of memset which 
involved:

  __builtin_constant_p (c) && (c) == '\0'
  ? ({ void *__s = (s); __bzero (__s, n); __s; })
  : memset (s, c, n)

-- 
Joseph S. Myers
joseph@codesourcery.com


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