Gcc builtin functions used by glibc not available on mips

Ulrich Drepper drepper@redhat.com
Thu Feb 7 21:18:00 GMT 2002


Roger Sayle <roger@eyesopen.com> writes:

> 2002-02-07  Roger Sayle  <roger@eyesopen.com>
> 	* elf/rtld.c (_dl_start): __builtin_memset can implicitly call
> 	the library memset, so initialize arrays explicitly.

No.  Just because for some architectures the handling of the builtin
is different this does not mean it is acceptable to make other
platforms suffer.  The code in glibc does not have to be generic.  You
cannot compile glibc without optimization and if further restrictions
are necessary they will be enforced.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------



More information about the Libc-alpha mailing list