(linenum→info "unix/slp.c:2238")

glibc/2.7/ChangeLog.14

    1: 2004-04-19  Roland McGrath  <roland@redhat.com>
    2: 
    3:         * rt/tst-mqueue9.c (do_test): Initialize RESULT.
    4: 
    5: 2004-04-19  Jakub Jelinek  <jakub@redhat.com>
    6: 
    7:         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Change EPERM into
    8:         EACCES.
    9:         * rt/Makefile (tests): Add tst-mqueue9.
   10:         * rt/tst-mqueue9.c: New test.
   11:         * rt/tst-mqueue4.c (do_test): Add test for mq_unlink of a too long
   12:         name component.
   13: 
   14: 2004-04-19  Ulrich Drepper  <drepper@redhat.com>
   15: 
   16:         * rt/tst-mqueue7.c (do_test): Make newargv const.
   17: 
   18: 2004-04-18  Randolph Chung  <tausq@debian.org>
   19: 
   20:         * sysdeps/hppa/elf/entry.h: New file.
   21:         * sysdeps/hppa/machine-gmon.h: New file.
   22:         * sysdeps/unix/sysv/linux/hppa/profil-counter.h: Don't use x86 version.
   23: 
   24: 2004-04-18  Ulrich Drepper  <drepper@redhat.com>
   25: 
   26:         * sysdeps/unix/sysv/linux/powerpc/rt-sysdep.c: New file.
   27:         * sysdeps/unix/sysv/linux/powerpc/Makefile (librt-routines): Add
   28:         rt-sysdep.
   29: 
   30:         * rt/tst-mqueue5.c (mqsend): Don't inline.
   31:         (mqrecv): Likewise.
   32: 
   33:         * rt/tst-timer4.c: Include <string.h>.
   34: 
   35: 2004-04-17  Jakub Jelinek  <jakub@redhat.com>
   36: 
   37:         * rt/Makefile (tests): Add tst-mqueue8.
   38:         * rt/tst-mqueue8.c: New test.
   39: 
   40:         * sysdeps/unix/sysv/linux/s390/Makefile (librt-routines): Add
   41:         rt-sysdep.
   42:         * sysdeps/unix/sysv/linux/s390/rt-sysdep.S: New file.
   43: 
   44: 2004-03-26  H.J. Lu  <hongjiu.lu@intel.com>
   45: 
   46:         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c (__fxstat): Don't
   47:         use "struct kernel_stat".
   48: 
   49: 2004-04-02  H.J. Lu  <hongjiu.lu@intel.com>
   50: 
   51:         * sysdeps/ia64/memcmp.S: Fix symbol.
   52: 
   53: 2004-04-04  Carlos O'Donell  <carlos@baldric.uwo.ca>
   54: 
   55:         * sysdeps/hppa/Dist: Add bits/link.h elf/entry.h.
   56: 
   57:         * sysdeps/hppa/bits/link.h: New file.
   58: 
   59:         * sysdeps/hppa/dl-machine.h (__hppa_init_bootstrap_fdesc_table):
   60:         Initialze the fdesc table for the generic code.
   61:         (elf_machine_dynamic): Use asm version.
   62:         (elf_machine_load_addresss): Simplify asm by calling
   63:         elf_machine_dynamic.
   64:         (elf_machine_fixup_plt): Correct comment.
   65:         (elf_machine_profile_fixup_plt): New.
   66:         (elf_machine_runtime_setup): Check PLT exists, if lazy=1  process
   67:         normally, else relocate all the absolute entries.
   68:         (RTLD_START): Fix comments.
   69:         (TRAMPOLINE_TEMPLATE): Reformat assembly, add return pointer for
   70:         calls to profile_fixup.
   71:         (ELF_MACHINE_SIZEOF_JMP_SLOT, DL_STATIC_FUNCTION_ADDRESS,
   72:         DL_PLATFORM_INIT): Define.
   73:         (DL_FUNCTION_ADDRESS): Remove.
   74:         (dl_platform_init): New.
   75:         (elf_machine_rela): Use generic fdesc code, and process all COPY
   76:         relocations. Use __attribute__((always_inline)).
   77:         (elf_machine_rela_relative): Add sanity checks, remove IPLT
   78:         processing, print error message in default case. Use
   79:         __attribute__((always_inline)).
   80:         (elf_machine_lazy_rel): Use __attribute__((always_inline)).
   81: 
   82: 2004-04-05  Carlos O'Donell  <carlos@baldric.uwo.ca>
   83: 
   84:         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Use only sw[0]
   85:         and call feraiseexcept.
   86: 
   87: 2003-11-15  Randolph Chung  <tausq@debian.org>
   88: 
   89:         * gmon/gmon.c (__monstartup): Round kcountsize to multiples of
   90:         the froms[] array so the array is properly aligned.
   91: 
   92: 2004-04-05  H.J. Lu  <hongjiu.lu@intel.com>
   93: 
   94:         * Makeconfig (libgcc_eh): Add -Wl,.
   95: 
   96:         * configure.in: Add -lgcc_s for --as-needed check.
   97: 
   98: 2004-04-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
   99: 
  100:         * sysdeps/sh/elf/configure.in: New file.
  101: 
  102: 2004-04-17  Ulrich Drepper  <drepper@redhat.com>
  103: 
  104:         * iconvdata/gconv-modules: Add PT154 and RK1048 entries.
  105:         * iconvdata/tst-tables.sh: Add PT154 and RK1048.
  106:         * iconvdata/Makefile (modules): Add PT154 anhd RK1048.
  107:         (distribute): Add pt154.c and rk1048.c.
  108:         (gen-8bit-gap-modules): Add pt154 and rk1048.
  109:         * icondata/pt154.c: New file.
  110:         * iconvdata/rk1048.c: New file.
  111: 
  112:         * rt/tst-timer4.c: Disable some tests, mark errors better.
  113: 
  114: 2004-04-16  Ulrich Drepper  <drepper@redhat.com>
  115: 
  116:         * rt/tst-mqueue6.c (mqsend): Don't inline.
  117:         (mqrecv): Likewise.
  118: 
  119:         * rt/tst-mqueue3.c (do_test): Cope with kernel without mq support.
  120: 
  121:         * sysdeps/ieee754/bits/nan.h (__nan_union): Add __attribute_used__
  122:         attribute to keep gcc quiet.
  123: 
  124: 2004-04-16  Jakub Jelinek  <jakub@redhat.com>
  125: 
  126:         * misc/syslog.c (vsyslog): Avoid freeing failbuf.
  127: 
  128: 2004-04-15  Jakub Jelinek  <jakub@redhat.com>
  129: 
  130:         * rt/Makefile (tests): Add tst-timer4.
  131:         * rt/tst-timer4.c: New test.
  132: 
  133: 2004-04-15  Jakub Jelinek  <jakub@redhat.com>
  134: 
  135:         * rt/tst-mqueue5.c (rtmin_code): New variable.
  136:         (rtmin_handler): Set it.
  137:         (thr, do_child, do_test): Also check rtmin_code.
  138: 
  139: 2004-04-14  Jakub Jelinek  <jakub@redhat.com>
  140: 
  141:         * rt/Makefile (tests): Add tst-mqueue7.
  142:         (tst-mqueue7-ARGS): Set.
  143:         * rt/tst-mqueue7.c: New test.
  144: 
  145: 2004-04-13  Jakub Jelinek  <jakub@redhat.com>
  146: 
  147:         * rt/Makefile (tests): Add tst-mqueue5 and tst-mqueue6.
  148:         * rt/tst-mqueue1.c (do_one_test): Bitwise or check_attrs () into
  149:         result instead of replacing it.  Use TEMP_FAILURE_RETRY around
  150:         waitpid, kill child if waitpid failed.
  151:         (do_test): Bitwise or check_attrs () into result instead of replacing
  152:         it.  Change temp mq name.
  153:         * rt/tst-mqueue5.c: New test.
  154:         * rt/tst-mqueue6.c: New test.
  155:         * rt/tst-mqueue.h: Include stdio.h, unistd.h, sys/uio.h.
  156:         (temp_mq_list, delete_temp_mqs): Remove.
  157:         (temp_mq_fd): New variable.
  158:         (do_cleanup, do_prepare): New functions.
  159:         (add_temp_mq): Rewritten to use a temp file.
  160:         (PREPARE): Define.
  161:         (CLEANUP_HANDLER): Change to do_cleanup ().
  162: 
  163:         * rt/tst-timer3.c: Don't fail if _POSIX_THREADS is not available.
  164: 
  165: 2004-04-13  Thorsten Kukuk  <kukuk@suse.de>
  166: 
  167:         * sysdeps/s390/ffs.c: Include limits.h
  168: 
  169: 2004-04-13  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
  170: 
  171:         * sysdeps/unix/sysv/linux/sh/sysdep.h (SUBSTITUTE_ARGS_1,
  172:         SUBSTITUTE_ARGS_2, SUBSTITUTE_ARGS_3, SUBSTITUTE_ARGS_4,
  173:         SUBSTITUTE_ARGS_5, SUBSTITUTE_ARGS_6, SUBSTITUTE_ARGS_7): Load
  174:         argument values into temporary variables.
  175: 
  176: 2004-04-15  Atsushi Nemoto <anemo@mba.ocn.ne.jp>
  177: 
  178:         * sysdeps/mips/dl-machine.h (RTLD_START): Do not use nested .end.
  179: 
  180: 2004-04-12  Ulrich Drepper  <drepper@redhat.com>
  181: 
  182:         * rt/Makefile (tests): Add tst-timer3.
  183:         * rt/tst-timer3.c: New file.  By Roland McGrath.
  184: 
  185: 2004-04-08  Ulrich Drepper  <drepper@redhat.com>
  186: 
  187:         * rt/tst-mqueue3.c: New file.
  188:         * rt/Makefile (tests): Add tst-mqueue3.
  189: 
  190: 2004-04-08  Jakub Jelinek  <jakub@redhat.com>
  191: 
  192:         * rt/tst-mqueue1.c: New file.
  193:         * rt/tst-mqueue2.c: New file.
  194:         * rt/tst-mqueue4.c: New file.
  195:         * rt/Makefile (tests): Add tst-mqueue1, tst-mqueue2, tst-mqueue4.
  196: 
  197:         * rt/Versions (librt): Add mq_*@@GLIBC_2.3.4.
  198:         * rt/Makefile (headers): Add mqueue.h and bits/mqueue.h.
  199:         (mq-routines): Set.
  200:         (librt-routines): Use it.
  201:         * rt/mqueue.h: New file.
  202:         * include/mqueue.h: New file.
  203:         * sysdeps/generic/bits/mqueue.h: New file.
  204:         * sysdeps/generic/mq_setattr.c: New file.
  205:         * sysdeps/generic/mq_getattr.c: New file.
  206:         * sysdeps/generic/mq_notify.c: New file.
  207:         * sysdeps/generic/mq_close.c: New file.
  208:         * sysdeps/generic/mq_send.c: New file.
  209:         * sysdeps/generic/mq_unlink.c: New file.
  210:         * sysdeps/generic/mq_receive.c: New file.
  211:         * sysdeps/generic/mq_timedreceive.c: New file.
  212:         * sysdeps/generic/mq_timedsend.c: New file.
  213:         * sysdeps/generic/mq_open.c: New file.
  214:         * sysdeps/unix/sysv/linux/bits/local_lim.h (MQ_PRIO_MAX): Define.
  215:         * sysdeps/unix/sysv/linux/bits/mqueue.h: New file.
  216:         * sysdeps/unix/sysv/linux/syscalls.list: Add mq_timedsend,
  217:         mq_timedreceive and mq_setattr.
  218:         * sysdeps/unix/sysv/linux/mq_getattr.c: New file.
  219:         * sysdeps/unix/sysv/linux/mq_notify.c: New file.
  220:         * sysdeps/unix/sysv/linux/mq_close.c: New file.
  221:         * sysdeps/unix/sysv/linux/mq_send.c: New file.
  222:         * sysdeps/unix/sysv/linux/mq_unlink.c: New file.
  223:         * sysdeps/unix/sysv/linux/mq_receive.c: New file.
  224:         * sysdeps/unix/sysv/linux/mq_open.c: New file.
  225: 
  226: 2004-04-09  Andreas Schwab  <schwab@suse.de>
  227: 
  228:         * sysdeps/unix/sysv/linux/ia64/sysdep.h (DO_INLINE_SYSCALL): Move
  229:         LOAD_ARGS_##nr up front and add LOAD_REGS_##nr.
  230:         (LOAD_ARGS_0, LOAD_ARGS_1, LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4)
  231:         (LOAD_ARGS_5, LOAD_ARGS_6): Load argument values into temporary
  232:         variables.
  233:         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4)
  234:         (LOAD_REGS_5, LOAD_REGS_6): New macros to actually load the
  235:         syscall argument registers.
  236: 
  237:         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INTERNAL_SYSCALL): Add
  238:         LOAD_REGS_##nr.
  239:         (LOAD_ARGS_0, LOAD_ARGS_1, LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4)
  240:         (LOAD_ARGS_5, LOAD_ARGS_6): Load argument values into temporary
  241:         variables.
  242:         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4)
  243:         (LOAD_REGS_5, LOAD_REGS_6): New macros to actually load the
  244:         syscall argument registers.
  245: 
  246: 2004-04-09  Andreas Schwab  <schwab@suse.de>
  247: 
  248:         * sysdeps/unix/sysv/linux/m68k/sysdep.h (INTERNAL_SYSCALL): Add
  249:         LOAD_REGS_##nr.
  250:         (LOAD_ARGS_0, LOAD_ARGS_1, LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4)
  251:         (LOAD_ARGS_5, LOAD_ARGS_6): Load argument values into temporary
  252:         variables.
  253:         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4)
  254:         (LOAD_REGS_5, LOAD_REGS_6): New macros to actually load the
  255:         syscall argument registers.
  256: 
  257: 2004-04-09  Thorsten Kukuk  <kukuk@suse.de>
  258: 
  259:         * sysdeps/s390/ffs.c: Don't add ffsl weak alias on s390x.
  260: 
  261: 2004-04-09  Steven Munroe  <sjmunroe@us.ibm.com>
  262: 
  263:         * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: New file.
  264: 
  265: 2004-04-08  Ulrich Drepper  <drepper@redhat.com>
  266: 
  267:         * po/nl.po: Update from translation team.
  268: 
  269: 2004-04-04  Ulrich Drepper  <drepper@redhat.com>
  270: 
  271:         * math/test-tgmath.c: Declare compile_testl inly if we will define it.
  272: 
  273: 2004-04-03  Ulrich Drepper  <drepper@redhat.com>
  274: 
  275:         * sysdeps/powerpc/powerpc64/ffsll.c: New file.
  276: 
  277:         * string/test-ffs.c: Also test ffsl and ffsll.
  278: 
  279:         * sysdeps/powerpc/ffs.c: Don't define ffsl for ppc64.
  280: 
  281:         * sysdeps/powerpc/powerpc64/bits/atomic.h: Never use matching
  282:         constraints for asm mem parameters.
  283:         * sysdeps/powerpc/bits/atomic.h: Likewise.
  284: 
  285:         * sysdeps/powerpc/elf/libc-start.c: No need for a separate
  286:         function for __aux_init_cache.
  287: 
  288:         * inet/test-ifaddrs.c: Fight warnings.
  289: 
  290:         * argp/argp-help.c: Fight warnings.
  291: 
  292:         * include/time.h: Declare __difftime.
  293: 
  294:         * sysdeps/unix/sysv/linux/internal_statvfs.c: Restructure to avoid
  295:         duplication in 64-bit version.
  296:         * sysdeps/unix/sysv/linux/wordsize-64/internal_statvfs64.c: New file.
  297: 
  298: 2004-04-03  Andreas Jaeger  <aj@suse.de>
  299: 
  300:         * nis/nss-nis.c: Include <string.h> for strncmp.
  301: 
  302: 2004-03-30  H.J. Lu  <hongjiu.lu@intel.com>
  303: 
  304:         * Makeconfig (link-libc-static): Use $(static-gnulib) instead
  305:         of $(gnulib).
  306:         (libgcc_eh): New variable.
  307:         (gnulib): Use it variable.
  308:         (static-gnulib): New variable.
  309:         * Makerules (LDLIBS-c.so): Use $(static-gnulib) instead of $(gnulib).
  310:         * config.make.in (have-as-needed): New variable.
  311:         * configure.in: Check if linker supports --as-needed.
  312: 
  313: 2004-04-02  Ulrich Drepper  <drepper@redhat.com>
  314: 
  315:         * sysdeps/unix/sysv/linux/internal_statvfs64.c: New file.
  316:         * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
  317:         Add internal_statvfs64.
  318:         * sysdeps/unix/sysv/linux/internal_statvfs.c: Allow to be used to
  319:         compile 64bit version.
  320:         * sysdeps/unix/sysv/linux/statvfs64.c: Use __fstatfs64 and skip
  321:         compatibility code if __ASSUME_STATFS64 is defined.
  322:         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
  323: 
  324:         * sysdeps/unix/sysv/linux/statfs64.c: Don't add __no_statfs64 if
  325:         __ASSUME_STATFS64 != 0.
  326: 
  327: 2004-04-02  Thorsten Kukuk  <kukuk@firun.suse.de>
  328: 
  329:         * nis/nss_nis/nis-ethers.c (saveit): Fix return codes in error case.
  330:         * nis/nss_nis/nis-initgroups.c (saveit): Likewise.
  331:         * nis/nss_nis/nis-proto.c (saveit): Likewise.
  332:         * nis/nss_nis/nis-rpc.c (saveit): Likewise.
  333:         * nis/nss_nis/nis-service.c (saveit): Likewise.
  334: 
  335: 2004-04-02  Jakub Jelinek  <jakub@redhat.com>
  336: 
  337:         * nis/nss: Add SERVICES_AUTHORITATIVE.
  338:         * nis/nss-nis.h (NSS_FLAG_SET, NSS_FLAG_NETID_AUTHORITATIVE,
  339:         NSS_FLAG_SERVICES_AUTHORITATIVE): Define.
  340:         (_nis_default_nss_flags, _nis_check_default_nss): New decls.
  341:         (_nis_default_nss): New inline.
  342:         * nis/nss-nis.c: Include ctype.h, stdio.h and stdio_ext.h.
  343:         (_nis_default_nss_flags, default_nss): New variables.
  344:         (_nis_check_default_nss): New function.
  345:         * nis/nss_nis/nis-initgroups.c: Don't include stdio.h and
  346:         stdio_ext.h.
  347:         (check_default_nss, default_nss): Move to nss-nis.c.
  348:         (init): Removed.
  349:         (_nss_nis_initgroups_dyn): Use _nis_default_nss ().
  350:         * nis/nss_nis/nis-services.c (_nss_nis_getservbyname_r): If
  351:         NSS_FLAG_SERVICES_AUTHORITATIVE and services.byservicename lookup
  352:         fails, return immediately.
  353: 
  354: 2004-04-01  Roland McGrath  <roland@redhat.com>
  355: 
  356:         * elf/tst-execstack.c (do_test): Make F static.
  357: 
  358: 2004-04-01  Ulrich Drepper  <drepper@redhat.com>
  359: 
  360:         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Use
  361:         __sigprocmask not sigprocmask.
  362:         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
  363:         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
  364: 
  365:         * include/string.h: Add libc_hidden_builtin_proto for memcmp.
  366:         * sysdeps/generic/memcmp.c: Add libc_hidden_builtin_def.
  367:         * sysdeps/i386/memcmp.S: Likewise.
  368:         * sysdeps/i386/i686/memcmp.S: Likewise.
  369:         * sysdeps/ia64/memcmp.S: Likewise.
  370:         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
  371: 
  372:         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <string.h>.
  373:         * time/mktime.c: Likewise.
  374:         * misc/getpass.c: Likewise.
  375: 
  376:         * time/difftime.c (__difftime): New renamed.  Make old name alias.
  377:         Use __difftime in recursive call.
  378: 
  379:         * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Use
  380:         __tcgetattr() instead of tcgetattr().
  381: 
  382:         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S [SHARED]:
  383:         Use __GI_exit.
  384: 
  385:         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S [SHARED]: Use
  386:         __GI__exit.
  387: 
  388:         * sysdeps/powerpc/fpu/bits/mathinline.h: Add __signbitf and
  389:         __signbit inlines.
  390: 
  391:         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Use
  392:         __sigprocmask not sigprocmask.
  393:         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
  394:         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
  395: 
  396:         * elf/elf.h: Define more ppc64 specific dynamic tags.
  397: 
  398: 2004-04-01  Jakub Jelinek  <jakub@redhat.com>
  399: 
  400:         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): If protocol
  401:         is NULL, instead of trying yp_match (name/tcp), yp_match (name/udp),
  402:         yp_all, try yp_match (name), yp_all.
  403: 
  404: 2004-04-01  Ulrich Drepper  <drepper@redhat.com>
  405: 
  406:         * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Add handling for
  407:         ignored entries.  Ignore AT_IGNOREPPC.
  408: 
  409: 2004-03-31  Andreas Jaeger  <aj@suse.de>
  410: 
  411:         * libio/fileops.c (new_do_write): Return _IO_size_t to make 64-bit
  412:         clean.
  413: 
  414: 2004-03-31  Ulrich Drepper  <drepper@redhat.com>
  415: 
  416:         * locale/programs/localedef.c (construct_output_path): Remove
  417:         remnants of CEN locale names.
  418: 
  419: 2004-03-30  Thorsten Kukuk  <kukuk@suse.de>
  420: 
  421:         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Add IUTF8.
  422:         * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
  423:         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
  424:         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
  425:         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
  426: 
  427: 2004-03-30  Richard Henderson  <rth@redhat.com>
  428: 
  429:         * sysdeps/alpha/remqu.S: Detect power-of-two special case.
  430: 
  431: 2004-03-30  Ulrich Drepper  <drepper@redhat.com>
  432: 
  433:         * sysdeps/generic/libc-start.c (LIBC_START_MAIN)
  434:         [HAVE_CLEANUP_JMP_BUF]: Call __nptl_deallocate_tsd.
  435: 
  436: 2004-03-30  Jakub Jelinek  <jakub@redhat.com>
  437: 
  438:         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): If protocol
  439:         == NULL, try name/tcp and name/udp first before falling back into
  440:         the sequential scanning.  Use services.byname database for
  441:         sequential scanning.
  442:         (_nss_nis_getservbyport_r): Likewise.  Just allocate sizeof (int) * 3
  443:         chars for integer.
  444: 
  445:         * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Convert
  446:         proto to host by order for snprintf.
  447: 
  448: 2004-03-30  Ulrich Drepper  <drepper@redhat.com>
  449: 
  450:         * nss/getent.c (services_keys): Don't implement lookups with
  451:         missing protocol using getservent loop, just pass NULL.
  452: 
  453:         * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Avoid
  454:         comparison with limit if we can rely on the syscall being available.
  455: 
  456:         * nis/nss_nis/nis-initgroups.c: Implement getting the information
  457:         from the netid.byname map if the system administrator allows this.
  458:         * nis/Makefile (distribute): Add nss.
  459:         * nis/nss: New file.
  460: 
  461:         * grp/initgroups.c (initgroups): Limit the initial allocation to 64
  462:         entries to not allocate too much on systems with really high limits.
  463: 
  464: 2004-03-30  Jakub Jelinek  <jakub@redhat.com>
  465: 
  466:         * nis/nss_nis/nis-service.c (struct search_t): New type.
  467:         (dosearch): New function.
  468:         (_nss_nis_getservbyname_r): Use it.  Call yp_get_default_domain
  469:         unconditionally.
  470:         (_nss_nis_getservbyport_r): Likewise.
  471: 
  472: 2004-03-29  Alexandre Oliva  <aoliva@redhat.com>
  473: 
  474:         * sysdeps/unix/sysv/linux/sched_getaffinity.c: Prepend GLIBC_ to
  475:         version names is SHLIB_COMPAT check.
  476:         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
  477: 
  478: 2004-03-29  Ulrich Drepper  <drepper@redhat.com>
  479: 
  480:         * nis/nss_nis/nis-rpc.c (saveit): Improve memory handling.  No need to
  481:         allocate multiple blocks.
  482:         (internal_nis_endrpcent): Adjust accordingly.
  483:         * nis/nss_nis/nis-proto.c (saveit): Improve memory handling.  No need
  484:         to allocate multiple blocks.
  485:         (internal_nis_endprotoent): Adjust accordingly.
  486:         * nis/nss_nis/nis-initgroups.c (saveit): Improve memory handling.  No
  487:         need to allocate multiple blocks.
  488:         (_nss_nis_initgroups_dyn): Adjust accordingly.
  489:         * nis/nss_nis/nis-ethers.c (saveit): Improve memory handling.  No need
  490:         to allocate multiple blocks.
  491:         (internal_nis_endetherent): Adjust accordingly.
  492:         * nis/nss_nis/nis-service.c (saveit): Improve memory handling.  No need
  493:         to allocate multiple blocks.
  494:         (internal_nis_endservent): Adjust accordingly.
  495: 
  496:         * nss/getXXbyYY_r.c: Return 0 for NSS_STATUS_NOTFOUND.
  497: 
  498: 2004-03-26  Thorsten Kukuk  <kukuk@suse.de>
  499: 
  500:         * nis/nss_nis/nis-grp.c (_nss_nis_getgrnam_r): Don't
  501:         set errno if group does not exist.
  502: 
  503: 2004-03-28  Ulrich Drepper  <drepper@redhat.com>
  504: 
  505:         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Handle
  506:         _SC_SIGQUEUE_MAX.
  507: 
  508: 2004-03-26  Ulrich Drepper  <drepper@redhat.com>
  509: 
  510:         * elf/dl-caller.c: New file.
  511:         * include/caller.h: New file.
  512:         * Makefile (distribute): Add include/caller.h.
  513:         * elf/Makefile (dl-routines): Add dl-caller.
  514:         * elf/dl-load.c (_dl_map_object_from_fd): Record l_text_end.
  515:         * elf/dl-open.c (check_libc_caller): Removed.
  516:         (dl_open_worker): Use __check_caller instead.
  517:         * elf/rtld.c (_rtld_global_ro): Initialize _dl_check_caller.
  518:         (_dl_start_final): Record l_text_end for ld.so map.
  519:         (dl_main): Record l_text_end for main object and vdso.
  520:         * include/link.h (struct link_map): Add l_text_end field.
  521:         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add
  522:         _dl_check_caller field.
  523:         Define enum allowmask.  Add declaration of _dl_check_caller.
  524:         * sysdeps/unix/sysv/linux/dl-execstack.c: Also use __check_caller test.
  525: 
  526: 2004-03-26  Richard Henderson  <rth@redhat.com>
  527: 
  528:         * sysdeps/alpha/Makefile <gnulib> (sysdep_routines): Merge divrem
  529:         variable, add unsigned variants.
  530:         * sysdeps/alpha/divrem.h: Remove file.
  531:         * sysdeps/alpha/div_libc.h: New file.
  532:         * sysdeps/alpha/divl.S: Rewrite from scratch.
  533:         * sysdeps/alpha/reml.S: Likewise.
  534:         * sysdeps/alpha/divq.S: Likewise.
  535:         * sysdeps/alpha/remq.S: Likewise.
  536:         * sysdeps/alpha/divlu.S: New file.
  537:         * sysdeps/alpha/remlu.S: New file.
  538:         * sysdeps/alpha/divqu.S: New file.
  539:         * sysdeps/alpha/remqu.S: New file.
  540: 
  541: 2004-03-26  Ulrich Drepper  <drepper@redhat.com>
  542: 
  543:         * elf/dl-open.c (check_libc_caller): Fix typo.
  544: 
  545: 2004-03-26  Jakub Jelinek  <jakub@redhat.com>
  546: 
  547:         * elf/tst-dlmodcount.c: Include stddef.h and stdlib.h.
  548: 
  549: 2003-03-25  Richard Henderson  <rth@redhat.com>
  550: 
  551:         * sysdeps/alpha/backtrace.c: New file.
  552: 
  553: 2004-03-25  Ulrich Drepper  <drepper@redhat.com>
  554: 
  555:         * iconvdata/utf-7.c: Remove inline from isdirect, isxdirect, and
  556:         isxbase64.
  557: 
  558: 2004-03-25  Richard Henderson  <rth@redhat.com>
  559: 
  560:         * sysdeps/generic/strtol_l.c (__strtol_ul_max_tab,
  561:         __strtol_ull_max_tab, __strtol_ull_rem_tab, __strtol_ul_rem_tab,
  562:         cutoff_tab, cutlim_tab, jmax_tab): New.
  563:         (__strtol_l): Use them to avoid runtime division.
  564: 
  565: 2004-03-24  Roland McGrath  <roland@redhat.com>
  566: 
  567:         * Makerules ($(common-objpfx)shlib.lds): Don't use \n in rhs of sed
  568:         substitutions; the semicolon terminators are enough for ld anyway.
  569: 
  570:         * elf/dl-deps.c (_dl_map_object_deps): Use alloca instead of
  571:         dynamically sized auto array in function already using alloca.
  572:         * locale/programs/ld-ctype.c (ctype_output): Likewise.
  573:         * locale/programs/ld-time.c (time_output): Likewise.
  574:         * elf/dl-misc.c (_dl_debug_vdprintf): Use macro instead of const for
  575:         IOV array size.
  576:         * locale/programs/charmap.c (charmap_read): Avoid alloca (or strdupa)
  577:         when also using dynamically-sized auto array.
  578:         * locale/programs/locfile.c (locfile_read): Likewise.
  579:         * locale/programs/repertoire.c (repertoire_read): Likewise.
  580:         * nis/nis_print_group_entry.c (nis_print_group_entry): Likewise.
  581:         * locale/programs/locarchive.c (enlarge_archive): Likewise.
  582:         * posix/annexc.c (check_header): Likewise.
  583: 
  584:         * iconv/gconv_int.h (norm_add_slashes): Don't handle null SUFFIX.
  585:         strlen ("") gets optimized away just as well.
  586:         * intl/loadmsgcat.c (_nl_init_domain_conv): Update caller.
  587:         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
  588: 
  589:         * Makefile ($(objpfx)c++-types-check.out): Reduce duplication in
  590:         defining this target.  Also elide -Wstrict-prototypes from CFLAGS.
  591: 
  592: 2004-03-24  Ulrich Drepper  <drepper@redhat.com>
  593: 
  594:         * stdio-common/vfscanf.c [!COMPILE_WSCANF] (TOLOWER): Cast first
  595:         parameter to unsigned char.
  596:         * sysdeps/generic/strcasestr.c [_LIBC] (TOLOWER): Likewise.
  597: 
  598: 2004-03-24  Jakub Jelinek  <jakub@redhat.com>
  599: 
  600:         * stdlib/strtod_l.c (INTERNAL (__STRTOF)): Clear the rest of retval,
  601:         not just one limb if RETURN_LIMB_SIZE > 2.  Fix shifting up if
  602:         RETURN_LIMB_SIZE > 2.
  603: 
  604:         * stdio-common/printf_fp.c (__printf_fp): For IEEE quad long double
  605:         on 32-bit architectures reserve 8 limbs instead of 4.
  606: 
  607: 2004-03-23  Jakub Jelinek  <jakub@redhat.com>
  608: 
  609:         * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_pread, __NR_pwrite):
  610:         Define to __NR_p{read,write}64 if not defined.
  611:         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (__NR_pread,
  612:         __NR_pwrite): Define to __NR_p{read,write}64 if not defined instead
  613:         of defining it the other way around.
  614:         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Move common syscalls
  615:         for 64bit arches to sysdeps/unix/sysv/linux/wordsize-64/syscalls.list.
  616:         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
  617:         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
  618:         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
  619:         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
  620:         * sysdeps/unix/sysv/linux/alpha/pread64.c: Removed.
  621:         * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Removed.
  622:         * sysdeps/unix/sysv/linux/alpha/glob64.c: Removed.
  623:         * sysdeps/unix/sysv/linux/alpha/truncate64.c: Removed.
  624:         * sysdeps/unix/sysv/linux/alpha/xstat64.c: Removed.
  625:         * sysdeps/unix/sysv/linux/alpha/pwrite64.c: Removed.
  626:         * sysdeps/unix/sysv/linux/alpha/posix_fadvise.c: Removed.
  627:         * sysdeps/unix/sysv/linux/alpha/mmap64.c: Removed.
  628:         * sysdeps/unix/sysv/linux/alpha/fxstat64.c: Removed.
  629:         * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Removed.
  630:         * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: Removed.
  631:         * sysdeps/unix/sysv/linux/alpha/sendfile64.c: Removed.
  632:         * sysdeps/unix/sysv/linux/alpha/lxstat64.c: Removed.
  633:         * sysdeps/unix/sysv/linux/alpha/posix_fadvise64.c: Removed.
  634:         * sysdeps/unix/sysv/linux/alpha/statfs64.c: Removed.
  635:         * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: Removed.
  636:         * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: Removed.
  637:         * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: Removed.
  638:         * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: Removed.
  639:         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: Removed.
  640:         * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: Removed.
  641:         * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: Removed.
  642:         * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: Removed.
  643:         * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: Removed.
  644:         * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c: Removed.
  645:         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: Removed.
  646:         * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: Removed.
  647:         * sysdeps/unix/sysv/linux/s390/s390-64/posix_fadvise.c: Removed.
  648:         * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: Removed.
  649:         * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: Removed.
  650:         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: Removed.
  651:         * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: Removed.
  652:         * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: Removed.
  653:         * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: Removed.
  654:         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: Removed.
  655:         * sysdeps/unix/sysv/linux/s390/s390-64/posix_fadvise64.c: Removed.
  656:         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: Removed.
  657:         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: Removed.
  658:         * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: Removed.
  659:         * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: Removed.
  660:         * sysdeps/unix/sysv/linux/powerpc/powerpc64/glob64.c: Removed.
  661:         * sysdeps/unix/sysv/linux/powerpc/powerpc64/truncate64.c: Removed.
  662:         * sysdeps/unix/sysv/linux/powerpc/powerpc64/xstat64.c: Removed.
  663:         * sysdeps/unix/sysv/linux/powerpc/powerpc64/posix_fadvise.c: Removed.
  664:         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fxstat64.c: Removed.
  665:         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ftruncate64.c: Removed.
  666:         * sysdeps/unix/sysv/linux/powerpc/powerpc64/lxstat64.c: Removed.
  667:         * sysdeps/unix/sysv/linux/powerpc/powerpc64/posix_fadvise64.c: Removed.
  668:         * sysdeps/unix/sysv/linux/sparc/sparc64/pread64.c: Removed.
  669:         * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: Removed.
  670:         * sysdeps/unix/sysv/linux/sparc/sparc64/glob64.c: Removed.
  671:         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: Removed.
  672:         * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: Removed.
  673:         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat64.c: Removed.
  674:         * sysdeps/unix/sysv/linux/sparc/sparc64/pwrite64.c: Removed.
  675:         * sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: Removed.
  676:         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Removed.
  677:         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Removed.
  678:         * sysdeps/unix/sysv/linux/sparc/sparc64/posix_fadvise.c: Removed.
  679:         * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: Removed.
  680:         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat64.c: Removed.
  681:         * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: Removed.
  682:         * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: Removed.
  683:         * sysdeps/unix/sysv/linux/sparc/sparc64/sendfile64.c: Removed.
  684:         * sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: Removed.
  685:         * sysdeps/unix/sysv/linux/sparc/sparc64/lxstat64.c: Removed.
  686:         * sysdeps/unix/sysv/linux/sparc/sparc64/posix_fadvise64.c: Removed.
  687:         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: Removed.
  688:         * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: Removed.
  689:         * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: Removed.
  690:         * sysdeps/unix/sysv/linux/ia64/pread64.c: Removed.
  691:         * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: Removed.
  692:         * sysdeps/unix/sysv/linux/ia64/glob64.c: Removed.
  693:         * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: Removed.
  694:         * sysdeps/unix/sysv/linux/ia64/truncate64.c: Removed.
  695:         * sysdeps/unix/sysv/linux/ia64/xstat64.c: Removed.
  696:         * sysdeps/unix/sysv/linux/ia64/pwrite64.c: Removed.
  697:         * sysdeps/unix/sysv/linux/ia64/getdents64.c: Removed.
  698:         * sysdeps/unix/sysv/linux/ia64/readdir_r.c: Removed.
  699:         * sysdeps/unix/sysv/linux/ia64/lxstat.c: Removed.
  700:         * sysdeps/unix/sysv/linux/ia64/readdir.c: Removed.
  701:         * sysdeps/unix/sysv/linux/ia64/posix_fadvise.c: Removed.
  702:         * sysdeps/unix/sysv/linux/ia64/mmap64.c: Removed.
  703:         * sysdeps/unix/sysv/linux/ia64/xstat.c: Removed.
  704:         * sysdeps/unix/sysv/linux/ia64/fxstat64.c: Removed.
  705:         * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: Removed.
  706:         * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: Removed.
  707:         * sysdeps/unix/sysv/linux/ia64/sendfile64.c: Removed.
  708:         * sysdeps/unix/sysv/linux/ia64/getdents.c: Removed.
  709:         * sysdeps/unix/sysv/linux/ia64/lxstat64.c: Removed.
  710:         * sysdeps/unix/sysv/linux/ia64/posix_fadvise64.c: Removed.
  711:         * sysdeps/unix/sysv/linux/ia64/readdir64.c: Removed.
  712:         * sysdeps/unix/sysv/linux/ia64/fxstat.c: Removed.
  713:         * sysdeps/unix/sysv/linux/ia64/statfs64.c: Removed.
  714:         * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: Removed.
  715:         * sysdeps/unix/sysv/linux/x86_64/pread64.c: Removed.
  716:         * sysdeps/unix/sysv/linux/x86_64/getrlimit64.c: Removed.
  717:         * sysdeps/unix/sysv/linux/x86_64/glob64.c: Removed.
  718:         * sysdeps/unix/sysv/linux/x86_64/readdir64_r.c: Removed.
  719:         * sysdeps/unix/sysv/linux/x86_64/truncate64.c: Removed.
  720:         * sysdeps/unix/sysv/linux/x86_64/xstat64.c: Removed.
  721:         * sysdeps/unix/sysv/linux/x86_64/pwrite64.c: Removed.
  722:         * sysdeps/unix/sysv/linux/x86_64/getdents64.c: Removed.
  723:         * sysdeps/unix/sysv/linux/x86_64/readdir_r.c: Removed.
  724:         * sysdeps/unix/sysv/linux/x86_64/lxstat.c: Removed.
  725:         * sysdeps/unix/sysv/linux/x86_64/readdir.c: Removed.
  726:         * sysdeps/unix/sysv/linux/x86_64/posix_fadvise.c: Removed.
  727:         * sysdeps/unix/sysv/linux/x86_64/mmap64.c: Removed.
  728:         * sysdeps/unix/sysv/linux/x86_64/xstat.c: Removed.
  729:         * sysdeps/unix/sysv/linux/x86_64/fxstat64.c: Removed.
  730:         * sysdeps/unix/sysv/linux/x86_64/setrlimit64.c: Removed.
  731:         * sysdeps/unix/sysv/linux/x86_64/ftruncate64.c: Removed.
  732:         * sysdeps/unix/sysv/linux/x86_64/sendfile64.c: Removed.
  733:         * sysdeps/unix/sysv/linux/x86_64/getdents.c: Removed.
  734:         * sysdeps/unix/sysv/linux/x86_64/lxstat64.c: Removed.
  735:         * sysdeps/unix/sysv/linux/x86_64/posix_fadvise64.c: Removed.
  736:         * sysdeps/unix/sysv/linux/x86_64/readdir64.c: Removed.
  737:         * sysdeps/unix/sysv/linux/x86_64/fxstat.c: Removed.
  738:         * sysdeps/unix/sysv/linux/x86_64/statfs64.c: Removed.
  739:         * sysdeps/unix/sysv/linux/x86_64/fstatfs64.c: Removed.
  740:         * sysdeps/unix/sysv/linux/alpha/Implies: New file.
  741:         * sysdeps/unix/sysv/linux/alpha/getdents64.c: New file.
  742:         * sysdeps/unix/sysv/linux/s390/s390-64/Implies: New file.
  743:         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Implies: New file.
  744:         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: New file.
  745:         * sysdeps/unix/sysv/linux/sparc/sparc64/Implies: New file.
  746:         * sysdeps/unix/sysv/linux/sparc/sparc64/lxstat.c: New file.
  747:         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: New file.
  748:         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: New file.
  749:         * sysdeps/unix/sysv/linux/wordsize-64/statvfs64.c: New file.
  750:         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs64.c: New file.
  751:         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: New file.
  752:         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c: New file.
  753:         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: New file.
  754:         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
  755:         * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r