summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Bump the version numberEelco Dolstra2011-12-061-1/+1
|
* * Use <...> syntax.Eelco Dolstra2011-12-051-6/+5
|
* * Update the README for PatchELF 0.6.0.6Eelco Dolstra2011-11-071-1/+3
|
* * Support executables created by the Gold linker (NixOS/140). TheseEelco Dolstra2011-09-111-5/+40
| | | | | | | | | | | | are marked as ET_DYN (not ET_EXEC) and have a starting virtual address of 0 so they cannot grow downwards. In order not to run into a Linux kernel bug, the virtual address and the offset of the new PT_LOAD segment have to be equal; otherwise ld-linux segfaults. To ensure this, it may be necessary to add some padding to the executable (potentially a lot of padding, if the executable has a large uninitialised data segment). * Use size_t rather than off_t in some places.
* * Build on Debian 6.0 and Ubuntu 10.10.Eelco Dolstra2011-02-141-0/+4
|
* * Fix patching a little-endian binary on a big-endian machine. ThisEelco Dolstra2010-08-261-5/+5
| | | | | fixes the no-rpath test on powerpc-linux.
* * Test whether the patched no-rpath executable works on i686-linux.Eelco Dolstra2010-08-261-5/+3
|
* * Update DT_RELA. Eelco Dolstra2010-08-261-1/+2
|
* I forgot in the last commit (enabling patchelf on the fuloong2f) to change someLluís Batlle i Rossell2010-07-291-2/+2
| | | | | | 4096 to the pageSize decided at the top of the module.
* Making patchelf work on a MIPS machine with 16KB page size (it's set in its ↵Lluís Batlle i Rossell2010-07-291-0/+5
| | | | | | | | kernel defconfig), the Lemote Fuloong 2F.
* * Build PatchELF on Fedora 13 and Ubuntu 10.04.Eelco Dolstra2010-06-151-18/+22
|
* * Added a manual page contributed by Jeremy SandersEelco Dolstra2010-06-103-1/+74
| | | | | <jeremy@jeremysanders.net>.
* * Segments can have a zero alignment, causing a divide-by-zero error.Eelco Dolstra2010-04-061-1/+2
| | | | | Ignore those. (Contributed by Zack Weinberg.)
* * Doh.Eelco Dolstra2010-03-051-2/+2
|
* * Simplify the PatchELF release expression: the `build', RPM andEelco Dolstra2010-03-051-17/+7
| | | | | | | Debian jobs now depend directly on the `tarball' job (i.e. as a Nix dependency, rather than indirectly through a Hydra jobset input). This ensures consistency.
* * Build PatchELF on Fedora 12.Eelco Dolstra2009-12-091-7/+9
|
* (no commit message)Eelco Dolstra2009-11-051-0/+2
|
* * Bump the version number.Eelco Dolstra2009-11-041-1/+1
|
* * Don't bother doing a "make check" on Darwin or Cygwin since it won'tEelco Dolstra2009-11-041-2/+3
| | | | | work (they're not ELF platforms).
* * 0.5 notes.Eelco Dolstra2009-11-041-0/+6
|
* * On FreeBSD, running a program by calling the ELF interpreterEelco Dolstra2009-11-041-4/+8
| | | | | | | directly (e.g. “/libexec/ld-elf.so.1 /bin/ls”) hangs, and on OpenBSD the interpreter is not executable. Let’s assume that it only works on Linux.
* * Release only one README.Eelco Dolstra2009-10-261-3/+4
|
* * Typo.Eelco Dolstra2009-10-211-1/+1
|
* * Updated the license to GPLv3.Eelco Dolstra2009-10-142-291/+640
|
* * Remove macros defined in elf.h.Eelco Dolstra2009-10-141-27/+0
|
* * Include a copy of Glibc's elf.h so that we're not dependant on theEelco Dolstra2009-10-143-2/+2676
| | | | | (lack of) elf.h on various platforms.
* (no commit message)Eelco Dolstra2009-09-241-12/+14
|
* (no commit message)Eelco Dolstra2009-09-231-2/+0
|
* (no commit message)Eelco Dolstra2009-09-231-0/+2
|
* * Use the e_type field instead of trying to guess whether we’reEelco Dolstra2009-06-161-6/+6
| | | | | dealing with an executable or dynamic library. Fixes NIXPKGS-98.
* * Regression test for NIXPKGS-98: patchelf barfs on dynamic librariesEelco Dolstra2009-06-161-0/+4
| | | | | that contain an .interp section.
* * When using --force-rpath and the executable already has aEelco Dolstra2009-05-071-0/+7
| | | | | | | DT_RUNPATH, get rid of it. Sometimes you really want a DT_RPATH rather than a DT_RUNPATH, since the former is global (affects the search path of dependencies as well) while the latter is local.
* (no commit message)Eelco Dolstra2009-04-151-0/+2
|
* * Build on Ubuntu 9.04.Eelco Dolstra2009-04-141-0/+2
|
* * The workaround is no longer needed.Eelco Dolstra2009-04-141-6/+0
|
* (no commit message)Eelco Dolstra2009-03-091-15/+10
|
* (no commit message)Eelco Dolstra2009-03-061-1/+1
|
* * Put the current version in a separate file so that it can be used inEelco Dolstra2009-03-024-7/+11
| | | | | the release expression.
* * Improve the coverage percentage a bit :-)Eelco Dolstra2009-02-241-0/+1
|
* * Work around a checkinstall bug that for some reason only triggers onEelco Dolstra2009-02-241-0/+6
| | | | | Ubuntu 8.10 (e.g. http://hydra.nixos.org/nixlog/2045/8).
* * Implement --version, --help.Eelco Dolstra2009-02-241-3/+18
|
* * Build Ubuntu 8.10, Debian 5.0 packages.Eelco Dolstra2009-02-241-4/+8
|
* * Handle PT_LOAD program headers that become unaligned after addingEelco Dolstra2009-01-301-1/+7
| | | | | | an extra page to the start of the file. The dynamic loader doesn't like this (but the kernel doesn't mind).
* * Regression test: Doing "/lib/ld-linux-x86-64.so.2 <program>" shouldEelco Dolstra2009-01-301-0/+6
| | | | | work on a patched executable (it doesn't right now on x86_64).
* (no commit message)Eelco Dolstra2008-12-101-9/+20
|
* (no commit message)Eelco Dolstra2008-11-271-0/+1
|
* * Different priorities for jobs.Eelco Dolstra2008-11-261-46/+64
|
* (no commit message)Eelco Dolstra2008-11-251-1/+3
|
* * Let the release expression supply a version suffix.Eelco Dolstra2008-11-252-15/+2
|
* (no commit message)Eelco Dolstra2008-11-251-0/+14
|