| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
has to be interrupted.
|
|
|
|
|
| |
(getutent_r_file, internal_getut_r): Updated all callers.
(getutline_r_file, pututline_file, updwtmp_file): Likewise.
|
|
|
|
|
|
| |
* sysdeps/generic/utmp_file.c (LOCK_FILE): Check for error from fcntl.
(getutent_r_file, internal_getut_r): Updated all callers.
(getutline_r_file, pututline_file, updwtmp_file): Likewise.
|
|
|
|
|
|
|
|
|
|
| |
2002-08-25 Ulrich Drepper <drepper@redhat.com>
* elf/tst-tlsmod1.c (in_dso): Make sure the TLS variable access is
not moved ahead of the fputs call.
* elf/tst-tlsmod2.c (in_dso): Likewise.
* elf/tst-tlsmod3.c (in_dso2): Likewise.
* elf/tst-tlsmod4.c (in_dso): Likewise.
|
|
|
|
|
|
|
|
| |
2002-08-25 Andreas Schwab <schwab@suse.de>
* elf/dl-reloc.c (_dl_reloc_bad_type): Nul-terminate message.
* misc/Makefile (CFLAGS-init-misc.c): Variable removed. It served to
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
resetting handler, to avoid the possibility of a spurious SIGALRM
delivered to the user's handler.
Reported by Amit D. Chaudhary <amitc@brocade.com>,
* misc/Makefile (CFLAGS-init-misc.c): Varaible removed. It served to
set -fkeep-inline-functions, which is not needed for the current file.
* sysdeps/generic/ldsodefs.h: Add attribute_hidden to *_internal decls.
(_dl_setup_hash): Add attribute_hidden.
(_dl_sysdep_start, _dl_sysdep_start_cleanup): Likewise.
(_dl_sysdep_read_whole_file, _dl_dprintf): Likewise.
(_dl_new_object, _dl_map_object_deps): Likewise.
(_dl_map_object_deps_internal): Remove decl.
* elf/rtld.c (__mempcpy, _exit): Redeclare locally as hidden.
* sysdeps/i386/dl-machine.h [PI_STATIC_AND_HIDDEN
&& HAVE_VISIBILITY_ATTRIBUTE && HAVE_HIDDEN
&& !HAVE_BROKEN_VISIBILITY_ATTRIBUTE]
(elf_machine_dynamic, elf_machine_load_address): Rewritten without asm,
instead relying on the compiler to produce only GOTOFF variable refs.
|
|
|
|
|
| |
* misc/Makefile (CFLAGS-init-misc.c): Varaible removed. It served to
set -fkeep-inline-functions, which is not needed for the current file.
|
|
|
|
| |
* elf/dl-load.c: Fix typo in comment. Add a few more __builtin_expect.
|
|
|
|
|
| |
* sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Define as static
inline to avoid defining it in every file which includes this header.
|
|
|
|
|
| |
* elf/rtld.c: Also test for HAVE_VISIBILITY_ATTRIBUTE before
defining DONT_USE_BOOTSTRAP_MAP.
|
|
|
|
|
|
|
|
|
|
|
| |
* libio/tst-freopen.c (main): Use correct formats for __LINE__.
* libio/tst-mmap-setvbuf.c (main): Likewise.
* libio/tst-widetext.c (main): Likewise.
* libio/tst-mmap-eofsync.c (do_test): Use correct format in error
message.
* libio/tst-mmap-fflushsync.c (do_test): Likewise.
* libio/tst-mmap2-eofsync.c (do_test): Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-08-25 Ulrich Drepper <drepper@redhat.com>
* sysdeps/i386/elf/configure.in: Unconditionally define
PI_STATIC_AND_HIDDEN.
* elf/rtld.c (DONT_USE_BOOTSTRAP_MAP): Define only if
PI_STATIC_AND_HIDDEN is defined as well.
* config.h.in: Add PI_STATIC_AND_HIDDEN entry.
* elf/rtld.c (dl_main): Likewise.
|
|
|
|
| |
* sysdeps/ia64/bzero.S: Define __bzero as well.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-08-24 Ulrich Drepper <drepper@redhat.com>
* locale/programs/charmap.c (charmap_new_char): Don't use
ULONG_MAX as maximum UCS4 value.
* sysdeps/unix/sysv/linux/ia64/sys/user.h: New file.
* sysdeps/generic/strtol.c: We don't need the isascii test in glibc.
* malloc/hooks.c (public_sET_STATe): use size_t as type for i.
* malloc/malloc.c (mALLINFo): Likewise.
* libio/wstrops.c (_IO_wstr_pbackfail): Use WEOF in comparison.
* libio/wfileops.c (_IO_wfile_overflow): Use EOF not WEOF when
examining result of _IO_do_flush call.
* stdio-common/vfprintf.c (vfprintf): Use correct type in va_arg.
Use prec not spec when sizing buffers.
* catgets/open_catalog.c (__open_catalog): Add casts to avoid warnings.
* locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
* locale/loadlocale.c (_nl_intern_locale_data): Likewise.
* stdio-common/vfscanf.c (inchar): Likewise.
* misc/efgcvt_r.c (fcvt_r): Likewise.
* elf/dl-misc.c (_dl_debug_vdprintf): Likewise.
* elf/readlib.c (process_file): Likewise.
* elf/sprof.c (load_profdata): Likewise.
* sysdeps/ia64/hp-timing.h (HP_TIMING_PRINT): Likewise.
* locale/programs/linereader.c (get_toplvl_escape): Likewise.
* locale/programs/charmap.c (charmap_read): Likewise.
* libio/fileops.c: Likewise.
* libio/fmemopen.c: Likewise.
* stdlib/strtod.c: Likewise.
* elf/dl-load.c: Likewise.
* iconv/iconvconfig.c: Likewise.
* iconv/iconv_prog.c (process_block): Likewise.
* sysdeps/unix/sysv/linux/ia64/Makefile: Define _ASM_IA64_CURRENT_H
macro to calm down the compiler.
* iconv/gconv_cache.c (__gconv_load_cache): Add cast to avoid warning.
* sysdeps/ia64/elf/initfini.c: Don't use newlines embedded in string.
* sysdeps/unix/sysv/linux/i386/sysdep.S: Update comment regarding
placement of errno definition.
* sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/mips/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
* resolv/nss_dns/dns-host.c (MAXPACKET): Increase minimum value
from 1024 to 65536, to avoid buffer overrun.
2002-08-16 Paul Eggert <eggert@twinsun.com>
* resolv/gethnamaddr.c (MAXPACKET): Increase minimum value
from 1024 to 65536, to avoid buffer overrun.
* resolv/res_query.c (MAXPACKET): Likewise.
architectures.
|
| |
|
|
|
|
|
|
| |
2002-08-24 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/i386/Versions: Remove *xattr syscalls.
|
| |
|
|
|
|
|
|
| |
2002-08-23 Ulrich Drepper <drepper@redhat.com>
* pthread.c (__linuxthreads_version): New global constant.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* sysdeps/ieee754/dbl-64/e_pow.c (log1): Define and initialize
two52 locally.
(log2): Likewise.
* sysdeps/ieee754/dbl-64/upow.h: Remove definition of two52.
Patch by Simon Gee <simong@agile.tv>.
* sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs_conf):
Prefer reading /proc/stat since it is more uniform across
architectures.1
* manual/texinfo.tex: Update to latest official version.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* sysvipc/sys/shm.h: Remove SHMLBA definition.
* sysdeps/generic/bits/shm.h: Define SHMLBA here.
* sysdeps/gnu/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/shm.h: Define SHMLBA to 2^20
since this is what the kernel says.
|
|
|
|
|
|
|
| |
2002-08-23 Ulrich Drepper <drepper@redhat.com>
* misc/sys/xattr.h: Include <sys/types.h> instead of <stddef.h>
since ssize_t is needed as well. Replace const with __const.
|
|
|
|
| |
Replace const with __const.
|
|
|
|
|
|
|
|
|
|
|
|
| |
as thread specific register.
(testandset): Fix inline asm.
(THREAD_GETMEM): Fix inline asm.
2002-08-23 Andreas Jaeger <aj@suse.de>
* sysdeps/x86_64/pt-machine.h: Use %fs instead of %gs
as thread specific register.
(testandset): Fix inline asm.
(THREAD_GETMEM): Fix inline asm.
|
|
|
|
|
|
| |
__malloc_hook, __realloc_hook, __memalign_hook,
__after_morecore_hook): Variable definitions moved to ...
* malloc/malloc.c: ... here, so as to be before all references.
|
|
|
|
|
| |
global variable reference in an unused asm parameter, to ensure the
compiler has set up the GOT register before we use it.
|
|
|
|
|
|
|
|
| |
* libio/fileops.c: Move versioned_symbol defns ahead of _IO_jump_t
initializers that make reference to variables they define.
* misc/sys/xattr.h: New file, contributed by Christoph Hellwig
<hch@lst.de>.
|
|
|
|
|
|
| |
* malloc/hooks.c: Move variable definitions ahead of uses.
* libio/fileops.c: Move versioned_symbol defns ahead of _IO_jump_t
initializers that make reference to variables they define.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-08-23 Andreas Jaeger <aj@suse.de>
* locale/loadarchive.c: Include <stdlib.h> for prototypes of
alloca, free, qsort.
* dlfcn/bug-dlsym1-lib1.c (foo): Add prototype to avoid warning.
* sysdeps/ieee754/flt-32/e_jnf.c: Remove unused variable.
* sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
* sysdeps/generic/fgetxattr.c: New file.
* sysdeps/generic/flistxattr.c: New file.
* sysdeps/generic/fremovexattr.c: New file.
* sysdeps/generic/fsetxattr.c: New file.
* sysdeps/generic/getxattr.c: New file.
* sysdeps/generic/listxattr.c: New file.
* sysdeps/generic/lgetxattr.c: New file.
* sysdeps/generic/llistxattr.c: New file.
* sysdeps/generic/lremovexattr.c: New file.
* sysdeps/generic/lsetxattr.c: New file.
* sysdeps/generic/removexattr.c: New file.
* sysdeps/generic/setxattr.c: New file.
* misc/sys/xattr.h: New file, contributed by Christoph Hellwig
<hch@lst.de>.
* misc/Makefile (headers): Add sys/xattr.h.
(routines): Add *xattr calls.
* misc/Versions: Add *xattr calls with version 2.3.
* sysdeps/unix/sysv/linux/m68k/Versions: Remove *xattr syscalls.
* sysdeps/unix/sysv/linux/s390/s390-32/Versions: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
* sysdeps/unix/sysv/linux/x86_64/Versions: Likewise.
* sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
* sysdeps/unix/sysv/linux/alpha/Versions: Likewise.
* sysdeps/unix/sysv/linux/arm/Versions: Likewise.
* sysdeps/powerpc/elf/libc-start.c
* sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
|
| |
|
|
|
|
|
|
|
|
|
|
| |
conditional.
(INIT_THREAD_SELF): Pass second arg to DO_SET_THREAD_AREA.
(DO_SET_THREAD_AREA): Take second arg, pass to DO_SET_THREAD_AREA_REUSE
macro. That chooses whether to reuse %gs value or let kernel set it.
[USE_TLS] (DO_SET_THREAD_AREA_REUSE): New macro, always 1.
[!USE_TLS] (DO_SET_THREAD_AREA_REUSE): New macro, true if arg is
not constant 0.
|
|
|
|
|
|
|
|
|
|
|
| |
* sysdeps/i386/useldt.h (INIT_THREAD_SELF): Remove [HAVE_TLS_SUPPORT]
conditional.
(INIT_THREAD_SELF): Pass second arg to DO_SET_THREAD_AREA.
(DO_SET_THREAD_AREA): Take second arg, pass to DO_SET_THREAD_AREA_REUSE
macro. That chooses whether to reuse %gs value or let kernel set it.
[USE_TLS] (DO_SET_THREAD_AREA_REUSE): New macro, always 1.
[!USE_TLS] (DO_SET_THREAD_AREA_REUSE): New macro, true if arg is
not constant 0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* sysdeps/powerpc/elf/libc-start.c
(__cache_line_size): Declare.
(__aux_init_cache): New.
(__libc_start_main): Change type of `auxvec' parameter to
`ElfW(auxv_t) *'. Correct walking of aux vector. Call
__aux_init_cache.
* sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
(__cache_line_size): Declare.
(__aux_init_cache): New.
(DL_PLATFORM_INIT): Define.
* sysdeps/powerpc/memset.S: Define __cache_line_size and use its
value to select the correct stride for dcbz.
2002-08-22 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/powerpc/elf/libc-start.c
(__cache_line_size): Declare.
(__aux_init_cache): New.
(__libc_start_main): Change type of `auxvec' parameter to
`ElfW(auxv_t) *'. Correct walking of aux vector. Call
__aux_init_cache.
* sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
(__cache_line_size): Declare.
(__aux_init_cache): New.
(DL_PLATFORM_INIT): Define.
* sysdeps/powerpc/memset.S: Define __cache_line_size and use its
value to select the correct stride for dcbz.
|
|
|
|
|
|
|
| |
2002-08-22 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Fix arguments of
shmat.
|
| |
|
|
|
|
|
|
|
|
|
| |
position indicated by locrectab against file bounds before rounding to
page size. In mapping loop, always set TO before breaking out of
contiguous range coalescing loop.
* locale/loadarchive.c (_nl_load_locale_from_archive): Use MAP_PRIVATE
(or MAP_COPY if available) instead of MAP_SHARED.
|
|
|
|
|
| |
the specified earliest version, be sure to emit the specified earliest
version first if any renaming of an older version to that has been.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure: Regenerated.
* manual/install.texi (Tools for Compilation): Say 3.2 is required.
(Configuring and compiling): Don't mention older GCC versions any more.
* INSTALL: Regenerated.
* manual/install.texi (Configuring and compiling, Installation,
Running make install, Linux): Linux -> GNU/Linux where appropriate.
* elf/rtld.c (_dl_start_final): Move defn before _dl_start so it can
be inlined. Declare it with always_inline if [DONT_USE_BOOTSTRAP_MAP]
and with noinline otherwise. Remove hack alloca use to prevent
inlining, we can ask for it explicitly nowadays.
|
|
|
|
|
|
|
| |
* elf/rtld.c (_dl_start_final): Move defn before _dl_start so it can
be inlined. Declare it with always_inline if [DONT_USE_BOOTSTRAP_MAP]
and with noinline otherwise. Remove hack alloca use to prevent
inlining, we can ask for it explicitly nowadays.
|
|
|
|
|
|
| |
(_dl_start_final): Don't copy bootstrap_map if DONT_USE_BOOTSTRAP_MAP.
* sysdeps/x86_64/machine-gmon.h: New file.
* sysdeps/x86_64/_mcount.S: New file.
|
|
|
|
|
|
|
|
|
| |
* dlfcn/bug-dlsym1-lib1.c, dlfcn/bug-dlsym1-lib2.c: New files.
* dlfcn/Makefile (distribute): Add them.
(tests): Add bug-dlsym1 here.
(modules-names): Add bug-dlsym1-lib1 and bug-dlsym1-lib2 here.
($(objpfx)bug-dlsym1, $(objpfx)bug-dlsym1.out): New targets.
($(objpfx)bug-dlsym1-lib1.so, $(objpfx)bug-dlsym1-lib2.so): Likewise.
|
|
|
|
|
|
|
|
|
|
| |
* dlfcn/bug-dlsym1.c: New file.
* dlfcn/bug-dlsym1-lib1.c, dlfcn/bug-dlsym1-lib2.c: New files.
* dlfcn/Makefile (distribute): Add them.
(tests): Add bug-dlsym1 here.
(modules-names): Add bug-dlsym1-lib1 and bug-dlsym1-lib2 here.
($(objpfx)bug-dlsym1, $(objpfx)bug-dlsym1.out): New targets.
($(objpfx)bug-dlsym1-lib1.so, $(objpfx)bug-dlsym1-lib2.so): Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* elf/rtld.c (start_time): New global variable. Moved from _dl_start.
(DONT_USE_BOOTSTRAP_MAP): Define if we can use non-exported symbols
before relocation.
(_dl_start): Don't use local bootstrap_map variable if
DONT_USE_BOOTSTRAP_MAP is defined. Use GL(dl_rtld_map). Don't
pass bootstrap_map to _dl_start_final in this case either. Don't
pass start_time to _dl_start_final ever.
(_dl_start_final): Don't copy bootstrap_map of DONT_USE_BOOTSTRAP_MAP.
* elf/dl-deps.c (_dl_map_object_deps): Revert patch from 2002-05-28.
This cripples the scope lists necessary to search for symbols in
dependencies which are not in the global scope.
|
|
|
|
|
|
| |
* elf/dl-deps.c (_dl_map_object_deps): Revert patch from
2002-05-28. This cripples the scope lists necessary to search for
symbols in dependencies which are not in the global scope.
|
|
|
|
| |
scope lists necessary to search for symbols in dependencies which are not in the global scope.
|
|
|
|
| |
* sysdeps/x86_64/_mcount.S: Fix assembler.
|
| |
|
|
|
|
|
|
|
| |
2002-08-21 Ulrich Drepper <drepper@redhat.com>
* sysdeps/i386/tls.h (TLS_SETUP_GS_SEGMENT): Add new parameter
also to the third definition of this macro.
|
|
|
|
|
|
| |
2002-08-21 Ulrich Drepper <drepper@redhat.com>
* include/setjmp.h (__libc_longjmp): Add declaration.
|
|
|
|
|
|
|
| |
* sysdeps/unix/sysv/linux/x86_64/Makefile: Generate bits/syscall.h
with biarch support.
2002-08-21 Andreas Jaeger <aj@suse.de>
|