summaryrefslogtreecommitdiff
path: root/elf
AgeCommit message (Collapse)Author
2009-07-27Merge commit 'origin/master' into fedora/masterAndreas Schwab
2009-07-26Define NT_GNU_GOLD_VERSION.Ulrich Drepper
2009-07-23Merge commit 'origin/master' into fedora/masterAndreas Schwab
Conflicts: ChangeLog
2009-07-23Minor optimization of unloading prevention patch.Ulrich Drepper
References to unique symbols from copy relocations can only come from executables which cannot be unloaded anyway. Optimize the code to set the unload flag a bit.
2009-07-23Fix comment.Ulrich Drepper
2009-07-23Some more fixes for the unique symbol handling.Ulrich Drepper
The hash value can be zero, so we need a different test for empty slots. And unify the way we prevent a DSO from being unloaded.
2009-07-23Handle unloading of DSO with a unique symbol definition.Ulrich Drepper
2009-07-20Merge commit 'origin/master' into fedora/masterAndreas Schwab
2009-07-16Remove warning and little optimization.Ulrich Drepper
The prototype for _dl_higher_prime_number was missing. While at it, the function is now marked with internal_function.
2009-07-15Fix build issue with modules for audit test on machines != x86-64.Ulrich Drepper
2009-07-10Add AVX support to ld.so auditing for x86-64.H.J. Lu
2009-07-10Remove do-lookup.h.Ulrich Drepper
It is not necessary/useful anymore to have the content separate from dl-lookup.c.
2009-07-09Implement STB_GNU_UNIQUE handling.Ulrich Drepper
Some symbols have to be identified process-wide by their name. This is particularly important for some C++ features (e.g., class local static data and static variables in inline functions). This cannot completely be implemented with ELF functionality so far. The STB_GNU_UNIQUE binding helps by ensuring the dynamic linker will always use the same definition for all symbols with the same name and this binding.
2009-07-07Define STB_GNU_UNIQUE.Ulrich Drepper
2009-07-07Clean up code for hash table handling in ld.so.Ulrich Drepper
2009-07-06Optimize test for valid ELF symbol types in lookup function.Ulrich Drepper
2009-07-02Fix whitespace in last patch.Ulrich Drepper
2009-07-02Fix handling of xmm6 in ld.so audit hooks on x86-64.H.J. Lu
2009-06-26Merge commit 'origin/master' into fedora/masterAndreas Schwab
2009-06-22More whitespace cleanups.Ulrich Drepper
2009-06-22Clean up whitespaces in last patch.Ulrich Drepper
2009-06-22Add more IFUNC tests.H.J. Lu
Mostly tests around not-exported IFUNC functions, IFUNC in statically linked binaries and PIEs, etc.
2009-06-17Use +link-pie Makefile rule to link PIE ifunc tests.H.J. Lu
2009-06-16Don't treat bug reporting message as a format string.Andreas Schwab
2009-06-16Consolidate PIE linking Makefile rules.H.J. Lu
2009-06-16Merge branch 'master' of sourceware.org:/git/glibc into fedora/masterAndreas Schwab
2009-06-15libc part of prelink IFUNC support.Jakub Jelinek
The dl-lookup.c changes are needed for prelink (support in prelink checked into SVN, tested for both i?86 and x86-64), dl-irel.h just something I discovered by code inspection.
2009-06-10Merge commit 'origin/master' into fedora/masterAndreas Schwab
Conflicts: ChangeLog sysdeps/unix/sysv/linux/i386/sysconf.c sysdeps/x86_64/cacheinfo.c version.h
2009-06-03Test for ELF IFUNC functionality.H.J. Lu
2009-06-03Terminate correct buffer.Ulrich Drepper
Little typo could cause additional characters to be printed.
2009-05-31Finish IFUNC support for x86 and x86-64.Ulrich Drepper
Add support for the IRELAIVE relocation and IFUNC in static executables.
2009-05-16Remove redundant .gitignore files.Andreas Schwab
2009-05-15rename each .cvsignore file to .gitignoreJim Meyering
2009-05-15Test DSOs for executable stack.Ulrich Drepper
Add a text program, built to run on the host, to check all newly built DSOs for executable stacks and fail if the stack information is missing or indicates executable stacks.
2009-04-27Updated to fedora-glibc-20090427T1419cvs/fedora-glibc-2_9_90-22Jakub Jelinek
2009-04-27[BZ #10087]Ulrich Drepper
* elf/dl-runtime.c (_dl_fixup): Use DL_FIXUP_VALUE_ADDR to access result of lookup to make call to implement STT_GNU_IFUNC. (_dl_profile_fixup): Likewise. Patch by H.J. Lu <hjl.tools@gmail.com>.
2009-04-26* nscd/connections.c (send_ro_fd): Define temporary variable to avoidUlrich Drepper
warning. * elf/sprof.c: Likewise.
2009-04-26* sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Remove inlineUlrich Drepper
from definition. * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Don't define label if it is not used. * elf/dl-profile.c (_dl_start_profile): Define real-type variant of gmon_hist_hdr and gmon_hdr structures and use them. * elf/dl-load.c (open_verify): Add temporary variable to avoid warning. * nscd/nscd_helper.c (get_mapping): Avoid casts to avoid warnings. * sunrpc/clnt_raw.c (clntraw_private_s): Use union in definition to avoid cast. * inet/rexec.c (rexec_af): Make sa2 a union to avoid warnings. * inet/rcmd.c (rcmd_af): Make from a union of the various needed types to avoid warnings. (iruserok_af): Use ss_family instead of casts. * gmon/gmon.c (write_hist): Define real-type variant of gmon_hist_hdr structure and use it. (write_gmon): Likewise for gmon_hdr. * sysdeps/unix/sysv/linux/readv.c: Avoid declaration of replacement function if we are not going to define it. * sysdeps/unix/sysv/linux/writev.c: Likewise. * inet/inet6_option.c (optin_alloc): Add temporary variable to avoid warning. * libio/strfile.h (struct _IO_streambuf): Use correct type and name of VTable element. * libio/iovsprintf.c: Avoid casts to avoid warnings. * libio/iovsscanf.c: Likewise. * libio/vasprintf.c: Likewise. * libio/vsnprintf.c: Likewise. * stdio-common/isoc99_vsscanf.c: Likewise. * stdlib/strfmon_l.c: Likewise. * debug/vasprintf_chk.c: Likewise. * debug/vsnprintf_chk.c: Likewise. * debug/vsprintf_chk.c: Likewise.
2009-04-24Updated to fedora-glibc-20090424T0747cvs/fedora-glibc-2_9_90-20Jakub Jelinek
2009-04-19[BZ #10069]Ulrich Drepper
2009-04-19 Ulrich Drepper <drepper@redhat.com> [BZ #10069] * elf/dl-open.c (dl_open_worker): We cannot guarantee that we can load an object that uses static TLS if the TLS modid is higher than the reserve we always allocate. At least for multi-threaded code.
2009-04-172009-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>Roland McGrath
* elf/rtld.c (dl_main): Really call _dl_sysdep_start_cleanup after all calls to _dl_relocate_object.
2009-04-16Updated to fedora-glibc-20090416T1610cvs/fedora-glibc-2_9_90-19Jakub Jelinek
2009-04-16* elf/dl-open.c (_dl_open): Bump GL(dl_nns) to 1 if no libraries cvs/fedora-glibc-20090416T1610Jakub Jelinek
are dlopened in statically linked program even for __LM_ID_CALLER. 2009-04-16 Jakub Jelinek <jakub@redhat.com> * elf/dl-open.c (_dl_open): Bump GL(dl_nns) to 1 if no libraries are dlopened in statically linked program even for __LM_ID_CALLER.
2009-04-15Updated to fedora-glibc-20090415T1619cvs/fedora-glibc-2_9_90-17Jakub Jelinek
2009-04-152009-04-14 Roland McGrath <roland@redhat.com>Roland McGrath
* elf/elf.h: Add various missing ARM constants, to match binutils.
2009-04-07Updated to fedora-glibc-20090407T0545Jakub Jelinek
2009-04-02Missed copyright year updateRoland McGrath
2009-04-022009-04-01 Roland McGrath <roland@redhat.com>Roland McGrath
* elf/elf.h (R_SPARC_GLOB_JMP): New macro. (R_SPARC_GOTDATA_HIX22, R_SPARC_GOTDATA_LOX10): New macros. (R_SPARC_GOTDATA_OP_HIX22, R_SPARC_GOTDATA_OP_LOX10): Likewise. (R_SPARC_GOTDATA_OP, R_SPARC_H34): Likewise. (R_SPARC_SIZE32, R_SPARC_SIZE64): Likewise. (R_SPARC_GNU_VTINHERIT, R_SPARC_GNU_VTENTRY, R_SPARC_REV32): Likewise. (R_SPARC_NUM): Update. From Dave Miller <davem@davemloft.net>.
2009-04-01Updated to fedora-glibc-20090401T0935cvs/fedora-glibc-2_9_90-12Jakub Jelinek
2009-04-01* elf/dl-open.c: Keep track of used name spaces and only iterate overcvs/fedora-glibc-20090401T0935Ulrich Drepper
those which are used. * elf/dl-addr.c: Likewise. * elf/dl-caller.c: Likewise. * elf/dl-fini.c: Likewise. * elf/dl-iteratephdr.c: Likewise. * elf/dl-libc.c: Likewise. * elf/dl-load.c: Likewise. * elf/dl-support.c: Likewise. * elf/dl-sym.c: Likewise. * elf/rtld.c: Likewise. * sysdeps/generic/ldsodefs.h: Likewise.