summaryrefslogtreecommitdiff
path: root/configure
AgeCommit message (Collapse)Author
2006-01-302006-01-30 Alexandre Oliva <aoliva@redhat.com>Roland McGrath
Roland McGrath <roland@redhat.com> * configure.in (fno_unit_at_a_time): Set to -fno-toplevel-reorder if the compiler supports it. Otherwise use -fno-unit-at-a-time unconditionally. * configure: Regenerated.
2006-01-06* scripts/check-c++-types.sh: Add more pthread types.Ulrich Drepper
* scripts/data//c++-types-i386-linux-gnu.data: Adjust. * scripts/data//c++-types-ia64-linux-gnu.data: Likewise. * scripts/data//c++-types-powerpc-linux-gnu.data: Likewise. * scripts/data//c++-types-powerpc64-linux-gnu.data: Likewise. * scripts/data//c++-types-s390-linux-gnu.data: Likewise. * scripts/data//c++-types-s390x-linux-gnu.data: Likewise. * scripts/data//c++-types-x86_64-linux-gnu.data: Likewise.
2006-01-04Regenerated: autoconf configure.inUlrich Drepper
2005-12-28* config.make.in (c++-sysincludes): New substituted variable.Roland McGrath
* configure.in (CXX_SYSINCLUDES): New substituted variable. * configure: Regenerated. * Makeconfig (CXXFLAGS): Prepend $(c++-sysincludes) here.
2005-11-08* configure.in: Grok --with-cpu=CPU option. If given, search forRoland McGrath
sysdeps/.../machine/CPU subdirs, and give error if none are found. * configure: Regenerated. * config.make.in (with-cpu): New substituted variable. * Makeconfig (+cflags): Add -mcpu=$(with-cpu) if set.
2005-11-06* malloc/malloc.c (munmap_chunk): Add sanity checks.Ulrich Drepper
* sysdeps/pthread/configure: Fix comment.
2005-11-05* configure.in: Remove test for support for subtracting local labels.Ulrich Drepper
* stdio-common/vfprintf.c: Remove test of HAVE_SUBTRACT_LOCAL_LABELS.
2005-11-05* configure.in: If init_array/fini_array support is not available,Ulrich Drepper
bail out. * config.h.in: Remove trace of optional init_array/fini_array support. * config.make.in: Likewise. * csu/elf-init.c: Likewise. * dlfcn/dlfcn.c: Likewise. * elf/soinit.c: Likewise. * sysdeps/ia64/elf/initfinit.c: Likewise.
2005-11-05[BZ #1089]Roland McGrath
2005-11-04 Roland McGrath <roland@redhat.com> [BZ #1089] * configure.in: Change order of add-on sysdeps directories, so they are interleaved with main sysdeps directories. * configure: Regenerated.
2005-09-06* configure.in: Compile source test file with -fPIC for -shared.Ulrich Drepper
2005-09-05 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/unix/sysv/linux/sh/lowlevellock.S (__lll_mutex_lock_wait): Fix typo in register name.
2005-07-19* stdio-common/Makefile (aux): Add fxprintf.Ulrich Drepper
* stdio-common/fxprintf.c: New file. * include/stdio.h: Add declaration for stdio.h. * argp/argp-fmtstream.c: Use __fxprintf instead of inline stream orientation test and two separate function calls. * argp/argp-help.c: Likewise. * assert/assert-perr.c: Likewise. * assert/assert.c: Likewise. * gmon/gmon.c: Likewise. * inet/rcmd.c: Likewise. * malloc/obstack.c: Likewise. * misc/error.c: Likewise. * misc/getpass.c: Likewise. * posix/getopt.c: Likewise. * resolv/res_hconf.c: Likewise. * stdio-common/perror.c: Likewise. * stdio-common/psignal.c: Likewise. * stdlib/fmtmsg.c: Likewise. * sunrpc/auth_unix.c: Likewise. * sunrpc/clnt_perr.c: Likewise. * sunrpc/clnt_tcp.c: Likewise. * sunrpc/clnt_udp.c: Likewise. * sunrpc/clnt_unix.c: Likewise. * sunrpc/svc_simple.c: Likewise. * sunrpc/svc_tcp.c: Likewise. * sunrpc/svc_udp.c: Likewise. * sunrpc/svc_unix.c: Likewise. * sunrpc/xdr.c: Likewise. * sunrpc/xdr_array.c: Likewise. * sunrpc/xdr_rec.c: Likewise. * sunrpc/xdr_ref.c: Likewise. * sysdeps/generic/wordexp.c: Likewise. * misc/Makefile: Add rules to build and run tst-error1. * misc/tst-error1.c: New file. * misc/error.c: Fix memory leak and possibly endless loop.
2005-06-26* Versions.def (ld): Add GLIBC_2.4.Ulrich Drepper
* configure.in: Add --enable-stackguard-randomization option. (ENABLE_STACKGUARD_RANDOMIZE): New define. * config.h.in (ENABLE_STACKGUARD_RANDOMIZE): Add. * sysdeps/unix/sysv/linux/dl-osinfo.h: Include stdint.h. (_dl_setup_stack_chk_guard): New inline function. * sysdeps/generic/dl-osinfo.h: Include stdint.h. (_dl_setup_stack_chk_guard): New inline function. * elf/rtld.c (__stack_chk_guard): New variable. (dl_main): Remove all traces of TLS_INIT_TP_EXPENSIVE. Set __stack_chk_guard to _dl_setup_stack_chk_guard (), use THREAD_SET_STACK_GUARD if defined. * elf/Versions (ld): Export __stack_chk_guard@@GLIBC_2.4. * sysdeps/generic/libc-start.c (__stack_chk_guard): New variable. (__libc_start_main): Set __stack_chk_guard to _dl_setup_stack_chk_guard (), use THREAD_SET_STACK_GUARD if defined. * sysdeps/generic/libc-tls.c (__libc_setup_tls): Remove all traces of TLS_INIT_TP_EXPENSIVE. * debug/Versions (libc): Export __stack_chk_fail@@GLIBC_2.4. * debug/Makefile (routines): Add stack_chk_fail. (static-only-routines): Add stack_chk_fail_local. * debug/stack_chk_fail_local.c: New file. * debug/stack_chk_fail.c: New file. * elf/Makefile: Add rules to build and run tst-stackguard1{,-static} tests. * elf/tst-stackguard1.c: New file. * elf/tst-stackguard1-static.c: New file. * elf/stackguard-macros.h: New file.
2005-06-15* hesiod/hesiod_p.h (struct hesiod_p): Add classes array.Ulrich Drepper
* hesiod/hesiod.c (hesiod_init): Initialize classes. Fail if no valid classes were given or if both are equal. (hesiod_resolve): Use ctx->classes instead of hardcoded C_IN and C_HS order. (parse_config_file): Handle classes keyword. * hesiod/README.hesiod: Mention addition of the classes keyword.
2005-05-26[BZ #954]Ulrich Drepper
2005-05-26 Andreas Schwab <schwab@suse.de> * locale/Makefile (CFLAGS-loadlocale.c): Don't define. 2005-05-26 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_DIRECT): Fix value. Reported by Colin Gibbs <colin@gibbsonline.net>. [BZ #954] 2005-05-17 Alan Modra <amodra@bigpond.net.au> * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): Corrent _dl_hwcap access in PIC && !SHARED case. * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2005-04-28* sysdeps/i386/sysdep.h: Add cfi instrumentation to asm fragments.Ulrich Drepper
* sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/i386/socket.S: Remove now duplicate cfi_startproc and cfi_endproc.
2005-03-182005-03-18 Daniel Jacobowitz <dan@codesourcery.com>Roland McGrath
* configure.in: Use %function instead of @function. * configure: Regenerated.
2005-03-06* wcsmbs/wctob.c (wctob): Make buf array of unsigned char.Ulrich Drepper
* sysdeps/generic/strchrnul.c: Add cast to avoid warning. * libio/iofwide.c: Add casts to avoid warnings. * stdio-common/printf-prs.c (parse_printf_format): Introduce new variable f to avoid warnings. * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext): Fix a few casts to avoid warnings. * iconv/gconv_simple.c (internal_utf8_loop): Make start unsigned to avoid warning.
2005-03-06* sysdeps/generic/ldsodefs.h (_dl_out_of_memory_internal): Remove decl.Roland McGrath
(_dl_out_of_memory): Use rtld_hidden_proto. * elf/dl-error.c (_dl_out_of_memory): Use rtld_hidden_data_def. (_dl_signal_error): Don't use INTUSE on _dl_out_of_memory. * elf/dl-open.c (_dl_open): Likewise. * elf/dl-deps.c (_dl_map_object_deps): Likewise. * sunrpc/des_impl.c (des_set_key): Make first argument unsigned char *. * elf/dl-addr.c (_dl_addr): Add a cast. * elf/unload3mod4.c: Declare foo. * elf/testobj2.c: Include <stdio.h>. * sysdeps/gnu/errlist.awk: Emit NERR macro for _sys_nerr_internal value constant, and use it in the defn. * sysdeps/gnu/errlist-compat.awk: Use NERR in array decl. Use actual size for compat array decls. * config.make.in (cc-mtune): New substituted variable. * configure.in (libc_cv_cc_mtune): New test for -mtune= switch, done only if libc_mtune_example is defined. * configure: Regenerated. * sysdeps/i386/configure.in (libc_mtune_example): Set it. * sysdeps/i386/configure: Regenerated. * sysdeps/i386/Makefile (CFLAGS-initfini.s): Use $(cc-mtune).
2005-02-06* configure.in (sysnames): Append sysdeps/generic for each add-on.Roland McGrath
* configure: Regenerated.
2005-01-052005-01-05 Roland McGrath <roland@redhat.com>Roland McGrath
* configure.in (libc_cv_cpp_asm_debuginfo): Checked moved ... * sysdeps/i386/configure.in: ... here. New file. * sysdeps/i386/configure: New generated file. * configure: Regenerated.
2004-12-22(CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4.Ulrich Drepper
2007-07-122.5-18.1Jakub Jelinek
2004-12-15Update.Ulrich Drepper
2004-09-08 H.J. Lu <hongjiu.lu@intel.com> * Makeconfig (libunwind): New. (libgcc_eh): Add $(libunwind). (gnulib): Always set to -lgcc $(libgcc_eh). (static-gnulib): Always set to -lgcc -lgcc_eh $(libunwind). (libc.so-gnulib): New. * Makerules (LDLIBS-c.so): Use $(libc.so-gnulib) instead of $(static-gnulib). * configure.in (libc_cv_cc_with_libunwind): Set to yes if gcc uses -lunwind for static binaries.
2004-10-262004-10-25 Roland McGrath <roland@frob.com>Roland McGrath
* configure.in (ASM_LINE_SEP): Move this setting to ... * sysdeps/hppa/configure.in: ... here, new file. * sysdeps/hppa/configure: New generated file. * configure: Regenerated.
2004-09-23Update.Ulrich Drepper
2004-09-23 Thorsten Kukuk <kukuk@suse.de> * sysdeps/unix/sysv/linux/sys/mount.h: Sync MS_RMT_MASK flag and BLK* ioctls with linux kernel headers.
2004-09-20Update.Ulrich Drepper
2004-09-20 Jakub Jelinek <jakub@redhat.com> * configure.in (libc_cv_z_relro): Only set to yes if linker script contains DATA_SEGMENT_RELRO_END.
2004-09-17Update.Ulrich Drepper
2004-09-16 Ulrich Drepper <drepper@redhat.com> * configure.in: Add test for required SELinux features. * config.make.in: Add have-selinux entry. * config.h.in: Add HAVE_SELINUX entry. * nscd/Makefile (nscd-modules): Add selinux. (CFLAGS-selinux.c): Add -fpie. Define selinux-LIBS and use in link line. * nscd/connections.c (handle_request): Check access SELinux permissions before processing request. * nscd/nscd.c (main): Initialize selinux_enabled and stop avc thread. * nscd/nscd_stat.c: Transmit and print AVC statistics. * nscd/selinux.c: New file. * nscd/selinux.h: New file. 2004-09-16 Jakub Jelinek <jakub@redhat.com> * nscd/nscd_helper.c (__nscd_unmap, get_mapping): Use __munmap instead of munmap. * nscd/Makefile (CFLAGS-aicache.c): Set to -fpie. 2004-09-16 Thorsten Kukuk <kukuk@suse.de> * sysdeps/posix/getaddrinfo.c (gaih_inet): Check __nss_not_use_nscd_hosts variable if nscd should be used or not. 2004-09-16 Ulrich Drepper <drepper@redhat.com> * nscd/nscd_proto.h: Define NSS_NSCD_RETRY. Add __nscd_getai prototype. * nss/getXXbyYY_r.c: Remode definition of NSS_NSCD_RETRY. * nscd/nscd-client.h: Remove __nscd_getai prototype. * nscd/nscd_getai.c: Include nscd_proto.h. * elf/ldd.bash.in: Add support for SELinux environments. Patch by Stephen Smalley <sds@epoch.ncsc.mil>.
2004-09-162004-09-16 Roland McGrath <roland@redhat.com>Roland McGrath
* configure.in (--with-headers): Let argument contain a : separated list of directories to use, not just one. * configure: Regenerated.
2004-09-14Update.Ulrich Drepper
2004-09-13 Ulrich Drepper <drepper@redhat.com> * misc/sys/cdefs.h: Restore old definition of __P. * csu/munch.awk: Remove uses of __P and __PMT. * gmon/gmon.c: Likewise. * hesiod/hesiod.h: Likewise. * include/stdio.h: Likewise. * io/fts.c: Likewise. * libio/genops.c: Likewise. * libio/libioP.h: Likewise. * libio/fileops.c: Likewise. * libio/iolibio.h: Likewise. * libio/libio.h: Likewise. * libio/memstream.c: Likewise. * libio/oldfileops.c: Likewise. * libio/oldstdfiles.c: Likewise. * libio/iopopen.c: Likewise. * libio/vsnprintf.c: Likewise. * libio/vswprintf.c: Likewise. * libio/wgenops.c: Likewise. * libio/oldiopopen.c: Likewise. * locale/programs/xmalloc.c: Likewise. * locale/programs/xstrdup.c: Likewise. * malloc/mtrace.c: Likewise. * misc/getttyent.c: Likewise. * misc/getusershell.c: Likewise. * nis/rpcsvc/ypupd.h: Likewise. * posix/fnmatch.h: Likewise. * posix/glob.h: Likewise. * resolv/arpa/nameser.h: Likewise. * resolv/gethnamaddr.c: Likewise. * resolv/resolv.h: Likewise. * resolv/inet_net_ntop.c: Likewise. * resolv/inet_net_pton.c: Likewise. * resolv/res_init.c: Likewise. * resolv/nss_dns/dns-network.c: Likewise. * stdio-common/vfprintf.c: Likewise. * stdio-common/reg-printf.c: Likewise. * sysdeps/generic/chflags.c: Likewise. * sysdeps/generic/fchflags.c: Likewise. * sysdeps/generic/glob.c: Likewise. * sysdeps/generic/printf_fphex.c: Likewise. * sysdeps/generic/memcmp.c: Likewise. * sysdeps/generic/memcopy.h: Likewise. * sysdeps/generic/morecore.c: Likewise. * sysdeps/generic/sstk.c: Likewise. * sysdeps/posix/sigvec.c: Likewise. * sysdeps/posix/ttyname_r.c: Likewise. * sysdeps/standalone/arm/bits/errno.h: Likewise. * sysdeps/standalone/standalone.h: Likewise. * sysdeps/standalone/i386/force_cpu386/brdinit.c: Likewise. * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise. * sysdeps/unix/arm/start.c: Likewise. * sysdeps/unix/bsd/sigaction.c: Likewise. * sysdeps/unix/bsd/sun/m68k/sigtramp.c: Likewise. * sysdeps/unix/bsd/sun/sparc/sigtramp.c: Likewise. * sysdeps/unix/bsd/sun/sunos4/wait4.c: Likewise. * sysdeps/unix/bsd/ultrix4/mips/sigvec.c: Likewise. * sysdeps/unix/bsd/ultrix4/sysconf.c: Likewise. * sysdeps/unix/sparc/start.c: Likewise. * sysdeps/unix/sysv/getdents.c: Likewise. * sysdeps/unix/sysv/irix4/fpathconf.c: Likewise. * sysdeps/unix/sysv/irix4/getgroups.c: Likewise. * sysdeps/unix/sysv/irix4/getpriority.c: Likewise. * sysdeps/unix/sysv/irix4/getrusage.c: Likewise. * sysdeps/unix/sysv/irix4/pathconf.c: Likewise. * sysdeps/unix/sysv/irix4/setgroups.c: Likewise. * sysdeps/unix/sysv/irix4/sigtramp.c: Likewise. * sysdeps/unix/sysv/irix4/start.c: Likewise. * sysdeps/unix/sysv/irix4/sysconf.c: Likewise. * sysdeps/unix/sysv/sco3.2.4/__setpgid.c: Likewise. * sysdeps/unix/sysv/sco3.2.4/getgroups.c: Likewise. * sysdeps/unix/sysv/sysv4/__getpgid.c: Likewise. * sysdeps/unix/sysv/sysv4/__setpgid.c: Likewise. * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise. * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise. * sysdeps/unix/sysv/sysv4/sethostname.c: Likewise. * sysdeps/unix/sysv/sysv4/setsid.c: Likewise. * sysdeps/unix/sysv/sysv4/sysconf.c: Likewise. * sysdeps/unix/sysv/sysv4/waitpid.c: Likewise. * sysdeps/unix/sysv/sysv4/solaris2/getdents.c: Likewise. * time/tzset.c: Likewise. * time/strftime_l.c: Likewise. * time/strptime_l.c: Likewise. * crypt/md5.h: Likewise.
2004-09-14Regenerated: autoconf configure.inUlrich Drepper
2004-09-132004-09-13 Andreas Jaeger <aj@suse.de>Roland McGrath
* configure.in: Support GCC 4.x. * configure: Regenerated.
2004-09-08Update.Ulrich Drepper
2004-09-07 Jakub Jelinek <jakub@redhat.com> * sysdeps/powerpc/powerpc64/configure.in: New file. * config.h.in (USE_PPC64_OVERLAPPING_OPD): Add. * configure.in (HAVE_ASM_GLOBAL_DOT_NAME): Remove. * sysdeps/powerpc/powerpc64/sysdep.h: Formatting. (OPD_ENT, BODY_LABEL, ENTRY_1, ENTRY_2, END_2, DOT_PREFIX, BODY_PREFIX): Define. (ENTRY, DOT_LABEL, END, TRACEBACK, END_GEN_TB, EALIGN): Support HAVE_ASM_GLOBAL_DOT_NAME or no dot symbols, USE_PPC64_OVERLAPPING_OPD or never overlapping .opd entries. * sysdeps/powerpc/powerpc64/dl-machine.h: Include sysdep.h. (TRAMPOLINE_TEMPLATE, RTLD_START): Use the new sysdep.h macros.
2004-08-27* configure.in (usetls): Default to yes.Roland McGrath
* configure: Regenerated.
2004-08-26* configure.in (add_ons_automatic): New variable, set to yes or noRoland McGrath
indicating --enable-add-ons with no explicit list. (running add-on fragments): Allow a fragment to modify $libc_add_on and have that affect its place in the list of add-ons to use. * configure: Regenerated.
2004-08-122004-08-11 Roland McGrath <roland@redhat.com>Roland McGrath
* configure.in (libc_cv_cpp_asm_debuginfo): Add missing braces around commands inside &&. Reported by Andreas Schwab <schwab@suse.de>. * configure: Regenerated.
2004-08-09[BZ #106]Ulrich Drepper
Update. * configure.in: Also recognize i786. [BZ #106] Patch by <pluto@pld-linux.org>.
2004-08-05* Makeconfig ($(common-objpfx)config.status):Roland McGrath
Fix typo: $(add_ons) -> $(add-ons). (Makeconfig-add-on): New variable. When doing $(sysdep-makeconfigs) include, use black magic to get it set to an add-on's name during the include of the add-on's Makeconfig. * configure.in: Use variable name `libc_add_on' when sourcing add-on configure fragments, so they can refer to this. * configure: Regenerated.
2004-07-20* configure.in (add_ons): Substitute this. Move $add_ons handlingRoland McGrath
after AC_CANONICAL_HOST and default setting of $machine et al. Don't set $subdirs from $add_ons. Instead, source add-on/configure fragments early on. (base_machine): If it's already set, don't set it based on $machine. (libc_config_ok): New variable, set to no. If an add-on fragment sets it to yes, skip the tuple sanity check as if --enable-hacker-mode. (sysnames): Try appending add-on names after machine as well. * configure: Regenerated. * config.make.in (add-ons): Set from @add_ons@ instead of @subdirs@. * Makeconfig ($(common-objpfx)config.status): Also depend on configure files in $(add_ons) dirs. * sysdeps/unix/sysv/linux/bits/in.h (struct ip_mreq): Remove definition, now in netinet/in.h proper. long. Rewrite example code so that it takes into account l64a output
2004-07-07* Makefile (dist-separate): New variable.Roland McGrath
(glibc-%.tar rule): Make separate tar files for add-ons listed there. Depend on their configure files. (dist-do-separate-dirs): New canned sequence to do that. (dist-separate-libidn, dist-separate-linuxthreads): New variables. (dist): Depend on add-on tar files based on $(dist-separate). (dist-version): New variable, default to $(version). (tag-for-dist, dist): Use that in place of $(version) in deps.
2004-07-072004-07-07 Roland McGrath <roland@frob.com>Roland McGrath
* Makefile (dist-separate): New variable. (glibc-%.tar rule): Make separate tar files for add-ons listed there. Depend on their configure files. (dist-do-separate-dirs): New canned sequence to do that. (dist-separate-libidn, dist-separate-linuxthreads): New variables. (dist): Depend on add-on tar files based on $(dist-separate). (dist-version): New variable, default to $(version). (tag-for-dist, dist): Use that in place of $(version) in deps.
2004-05-10Update.Ulrich Drepper
2004-05-09 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/sigpause.c: Prevent sigpause prototype. * sysdeps/posix/sigpause.c: Likewise. * signal/signal.h: Don't define sigpause macro unless needed.
2004-04-17Fix.Ulrich Drepper
* sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Remove unneeded frame info. * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
2004-04-03Regenerated.Ulrich Drepper
2004-03-08Update.Ulrich Drepper
* config.h.in: Add entry for HAVE_LIBIDN. * configure.in: If libidn add-on present define HAVE_LIBIDN. * Versions.def: Add entry for libcidn. 2004-03-07 Simon Josefsson <jas@extundo.com> * resolv/netdb.h [__USE_GNU]: Add new AI_IDN ai_flags for addrinfo. [__USE_GNU]: Add new error code EAI_IDN_ENCODE for getaddrinfo. * sysdeps/posix/getaddrinfo.c: Add prototype for __idna_to_ascii_lz and define IDNA_SUCCESS. (gaih_inet): If ai_flags have AI_IDN, invoke __idna_to_ascii_lz. (getaddrinfo): Fix EAI_BADFLAGS test to include AI_IDN. All changes only applicable when glibc is compiled with the libidn add-on. 2004-03-07 Ulrich Drepper <drepper@redhat.com>
2004-03-06Update.Ulrich Drepper
* configure.in: Recognize --enable-bind-now. * elf/dynamic-link.h (elf_get_dynamic_info): Allow bind-now flags in ld.so. * Makerules (LDFLAGS-c.so): Add -z now if so configured. * elf/Makefile ($(objpfx)ld.so): Likewise. * config.make.in (bind-now): New definition.
2004-02-09* configure.in: Remove glibcbug creation. Andreas Jaeger
* configure: Regenerated. * configure.in: Remove glibcbug creation. * configure: Regenerated.
2004-02-09* configure.in: Don't set CCVERSION.Roland McGrath
* configure: Regenerated. * glibcbug.in: File removed. * Makefile (install-bin-script): Remove glibcbug. (glibcbug): Target removed. (distclean-1): Don't rm glibcbug. (distribute): Remove glibcbug.in.
2004-01-15Update.Ulrich Drepper
2004-01-14 Ulrich Drepper <drepper@redhat.com> * configure.in: Define HAVE_Z_RELRO if the linker supports -z relro. * config.h.in: Add entry for HAVE_Z_RELRO. * include/libc-symbols.h: Define attribute_relro. * elf/dl-load.c: Add attribute_relro to env_path_list, capstr, ncapstr, max_capstrlen, and max_dirnamelen definitions. * elf/rtld.c: Add attribute_relro to _dl_argc, _dl_argv, _dl_skip_args, load_time, start_time, library_path, preloadlist, version_info, any_debug. Remove rtld_total_time. Make it a local variable. Pass pointer to it to print_statistics. Change print_statistics accordingly. * sysdeps/generic/dl-sysdep.c: Add attribute_relro to _dl_auxv. Use attribute_relro instead of explicitly assigning variable to the .data.rel.ro section for __libc_enable_secure and __libc_stack_end. * sysdeps/generic/ldsodefs.h: Declare __libc_stack_end, _dl_argc, _dl_argv, _dl_argv_internal with attribute_relro.
2004-01-14Update.Ulrich Drepper
2004-01-09 Bruno Haible <bruno@clisp.org> * intl/gmo.h (MO_REVISION_NUMBER_WITH_SYSDEP_I): New definition. * intl/loadmsgcat.c (get_sysdep_segment_value): Handle "I". (_nl_load_domain): Treat major revision 1 like major revision 0. 2004-01-11 Bruno Haible <bruno@clisp.org> * stdio-common/vfprintf.c (vfprintf): Disallow the 'I' flag after width or precision has been seen. 2004-01-08 Bruno Haible <bruno@clisp.org> * intl/loadmsgcat.c (_nl_load_domain): When a string pair uses a system dependent segment not known to this version of the library, ignore the string pair instead of crashing.
2004-01-13Update.Ulrich Drepper
2004-01-13 Ulrich Drepper <drepper@redhat.com> * Makeconfig: Define relro-LDFLAGS if have-z-relro==yes. Add it to LDFLAGS.so and LDFLAGS-rtld. (+link): Add relro-LDFLAGS. * Makeconfig (shlib.lds): Place __libc_subfreeres, __libc_atexit, and __libc_thread_subfreeres sections after .jcr section. * config.make.in: Add have-z-relro. * configure.in: Add check for -z relro option. * include/link.h (struct link_map): Add relro_addr and relro_size members. * elf/dl-load.c (_dl_map_object_from_fd): Recognize PT_GNU_RELRO. * elf/dl-reloc.c (_dl_relocate_object): At the end, make relro part of loaded segments read-only. * elf/elf.h: Define PT_GNU_RELRO. * elf/rtld.c (_dl_start): Recognize PT_GNU_RELRO of ld.so. (dl_main): Recognize PT_GNU_RELRO of the application. Call _dl_debug_initialize and initialize l_info[DT_DEBUG] before relocations.