aboutsummaryrefslogtreecommitdiff
path: root/elf/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2013-10-25BZ #15754: Fix test case for ARM.Carlos O'Donell1-0/+3
Statically built binaries use __pointer_chk_guard_local, while dynamically built binaries use __pointer_chk_guard. Provide the right definition depending on the test case we are building.
2013-10-25BZ #15754: CVE-2013-4788Carlos O'Donell1-2/+7
The pointer guard used for pointer mangling was not initialized for static applications resulting in the security feature being disabled. The pointer guard is now correctly initialized to a random value for static applications. Existing static applications need to be recompiled to take advantage of the fix. The test tst-ptrguard1-static and tst-ptrguard1 add regression coverage to ensure the pointer guards are sufficiently random and initialized to a default value. Conflicts: NEWS ports/ChangeLog.ia64 ports/ChangeLog.tile
2013-06-13Don't let ld.so that failed its sanity check land in place.Roland McGrath1-2/+5
2013-05-29Avoid crashing in LD_DEBUG when program name is unavailableSiddhesh Poyarekar1-2/+4
Resolves: #15465 The program name may be unavailable if the user application tampers with argc and argv[]. Some parts of the dynamic linker caters for this while others don't, so this patch consolidates the check and fallback into a single macro and updates all users.
2013-04-25Move x86_64-specific audit tests to sysdeps/x86_64/.Joseph Myers1-47/+0
2013-03-19Add support for rtld directory different from slib directoryAndreas Schwab1-5/+6
2013-01-22Build elf/tst-array2 and elf/tst-array5 with --no-as-neededAdam Conrad1-0/+3
* elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed). (LDFLAGS-tst-array5): Likewise.
2013-01-11Add --enable-hardcoded-path-in-tests configure optionH.J. Lu1-20/+12
2013-01-02Update copyright notices with scripts/update-copyrights.Joseph Myers1-1/+1
2012-11-23use $(READELF) rather than readelfMike Frysinger1-1/+1
We setup $(READELF) and use it everywhere, so fix the two places that were using readelf directly. Reported-by: Denis M. <god@politeia.in> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-11-14Skip audit if l_reloc_result is NULLH.J. Lu1-1/+5
2012-11-09Support --with-pkgversion and --with-bugurl.Joseph Myers1-2/+7
2012-10-30Support cross-testing for elf/tst-array*.Joseph Myers1-24/+16
2012-10-30[BZ#14767] Remove tests for have-initfini-array in elf/MakefileAndreas Jaeger1-12/+5
* elf/Makefile (tests): Remove conditional for have-initfini-array since this is now always required and the variable does not exist anymore. (tests-static): Likewise. (modules-names): Likewise.
2012-10-24Support cross-testing.Joseph Myers1-2/+7
2012-10-24Define and use $(run-built-tests).Joseph Myers1-3/+3
2012-10-23Add and use $(host-built-program-cmd).Jim Blandy1-1/+1
2012-10-20Check the main application only if SHARED is definedH.J. Lu1-2/+9
2012-10-05Move _dl_important_hwcaps to dl-hwcaps.cH.J. Lu1-1/+1
2012-10-03Clean up conditionalize of ld.so.cache support.Roland McGrath1-3/+6
2012-09-25Set "fail on error" mode directly in testsuite shell scriptsDmitry V. Levin1-1/+1
2012-09-19rtld: limit self loading check to normal mode onlyDmitry V. Levin1-1/+4
Commit glibc-2.14~10 disallowed rtld self loading to avoid a segfault that used to happen when rtld was loading itself in normal mode. Unfortunately, that commit disallowed all modes of self loading, including those that used to work before. This change limits the check for self loading to normal mode only, so that instruments like ldd could handle rtld properly.
2012-07-20Move localplt baselines to sysdeps directories.Joseph Myers1-12/+5
2012-07-03Avoid use of libgcc_s and libgcc_eh when building glibc.Joseph Myers1-1/+5
2012-05-25Add --enable-systemtap configuration to define static probe points.Roland McGrath1-1/+2
2012-05-10Hurd: Build pldd also if use-ldconfig != yes || build-shared != yesThomas Schwinge1-3/+2
2012-05-03Fix make clean for recent elf/Makefile changes.Roland McGrath1-3/+3
2012-05-02Fix test-suite failues with -Wl,--as-neededAllan McRae1-1/+20
Signed-off-by: Allan McRae <allan@archlinux.org>
2012-05-01Redirect check-localplt output to check-localplt.out.Roland McGrath1-1/+2
2012-05-01Do check-localplt test using readelf rather than a build-time C program.Roland McGrath1-14/+21
2012-05-01Do check-execstack test using readelf rather than a build-time C program.Roland McGrath1-15/+26
2012-05-01Do check-textrel test using readelf rather than a build-time C program.Roland McGrath1-11/+16
2012-04-28Don't run tests when cross-compilingAndreas Schwab1-0/+4
2012-04-24Add flexibility to localplt-*.data files, using an awk script rather than ↵Roland McGrath1-2/+1
diff to check the results.
2012-04-11New ld.so argument --inhibit-ldcache to disable ld.so.cache lookupSiddhesh Poyarekar1-1/+2
It may sometimes be desirable to make the dynamic linker only pick up libraries from the library path and rpath and not look at the ld.so.cache that ldconfig generates. An example of such a use case is the glibc testsuite where the dynamic linker must not be influenced by any external paths or caches. This change adds a new option --inhibit-ldcache that when used, tells the dynamic linker to not use ld.so.cache even if it is available.
2012-03-07Remove distribute variable from MakefilesUlrich Drepper1-85/+0
2012-02-29Always set l_used for vDSO.Marek Polacek1-0/+11
2012-02-09Replace FSF snail mail address with URLs.Paul Eggert1-3/+2
2012-01-27Sort objects before relocationsUlrich Drepper1-3/+12
2012-01-08Static linking is always neededUlrich Drepper1-3/+1
2012-01-07Remove non-ELF supportUlrich Drepper1-2/+2
2011-09-13Fix pattern on $(ldd-rewrite-script) substitutionAndreas Schwab1-1/+1
2011-09-11Prepend $(..) to $(ldd-rewrite-script) if non-absoluteAndreas Schwab1-1/+2
2011-08-24Fix scope handling during dl_closeAndreas Schwab1-1/+9
2011-08-22Correct cycle detection during dependency sortingAndreas Schwab1-5/+24
2011-07-14Fix remaining explicit uses of shlib.lds to use $(shlib-lds).Roland McGrath1-1/+3
2011-07-02Use -defsym=_begin=0 instead of linker script munging.Roland McGrath1-10/+2
2011-06-26We don't use linkobj/libc.so at runtmie, no need to check for text relsUlrich Drepper1-2/+3
This also works around a toolchain issu.
2011-06-10Better detect total failure of linker script generation.Roland McGrath1-0/+1
2011-06-10Revert -r -> -Wl,-r change.Roland McGrath1-3/+2