summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* release.nix: Use separate jobs for each platformEelco Dolstra2013-03-061-11/+10
| | | | | | | | E.g. "build.x86_64-linux" instead of "build". Also, by not using a Hydra input "system" anymore, the set of platforms to build on becomes declarative. See https://github.com/NixOS/hydra/issues/60
* Remove debug statementEelco Dolstra2013-01-161-2/+0
|
* Add ‘--remove-needed’ optionEelco Dolstra2013-01-162-3/+52
| | | | | | | This allows removing the specified DT_NEEDED entries from the dynamic section. Closes #4.
* Build on Ubuntu 12.10Eelco Dolstra2012-12-041-5/+7
|
* Update READMEEelco Dolstra2012-08-211-0/+5
|
* Comment out overly verbose debug lineEelco Dolstra2012-08-211-1/+1
|
* Rewrite the st_shndx field in symbol tablesEelco Dolstra2012-08-211-4/+29
| | | | | | | The st_shndx field in symbol tables specifies the index of the section that contains the symbol. Since we reorder sections, we need to update this field as well. Otherwise programs like gdb won't be able to resolve addresses to symbol names (and will print "?? ()" instead).
* Remove trailing whitespaceEelco Dolstra2012-08-211-52/+52
|
* Fix configure.acEelco Dolstra2012-07-171-1/+1
| | | | | | tests/Makefile.am:20: warning: compiling 'simple.c' with per-target flags requires 'AM_PROG_CC_C_O' in 'configure.ac' http://hydra.nixos.org/build/2796463
* Rewrite tests in automakeVincent Danjean2012-07-102-38/+46
| | | | | | | | | - add options in AM_INIT_AUTOMAKE to be more strict and to enable more advanced features (color-tests and parallel-tests) - rewrite tests/Makefile.am to use automake rules for building program and libraries => we can now do: ./bootstrap.sh && mkdir build && cd build && ../configure && make -j distcheck
* Add a .gitignore for all file generated by ./bootstrap.shVincent Danjean2012-07-101-0/+7
| | | | | No need to exclude files created when compiling and testing as this can be done out of tree
* Cleanup configure.acVincent Danjean2012-07-101-2/+3
| | | | | | - quote argument (mostly cosmetic) - use a file present only once in the sources for AC_CONFIG_SRCDIR - use AC_CONFIG_AUX_DIR to put all auxilary scripts in a subdirectory
* Allow parallel execution of testsVincent Danjean2012-07-107-65/+72
| | | | Each test use its own subdirectory in scratch/
* Use autoreconf to bootstrap the projectVincent Danjean2012-07-101-4/+1
| | | | This avoid to manually list all autotool programs required
* fix build *and check* out of treeVincent Danjean2012-07-102-5/+5
| | | | | | | - use Makefile variables $< (and $@) so that sources are found correctly - use ${srcdir} in test scripts to find the sources This allows "make distcheck" to successfully pass
* Use automake support to install docsVincent Danjean2012-07-101-3/+1
| | | | It is shorter, cleaner and "make uninstall" support comes for free
* Build Ubuntu 12.04 packagesEelco Dolstra2012-05-111-0/+2
|
* Disable tests on SolarisEelco Dolstra2012-03-121-1/+1
| | | | | | | The Solaris linker doesn't have the --enable/disable-dtags flag in the linker required by the tests. http://hydra.nixos.org/build/2230397
* Support building out of treeEelco Dolstra2012-02-201-1/+1
| | | | Contributed by Yann E. MORIN.
* Build PatchELF for Ubuntu 11.10 and Fedora 16Eelco Dolstra2012-02-071-0/+6
|
* Use underscores in versions to keep RPM happyEelco Dolstra2011-12-144-9/+6
| | | | | RPM doesn't allow dashes in version numbers, so use an underscore instead. Also, let Autoconf generate the RPM spec file.
* Use Hydra's shortRev attributeEelco Dolstra2011-12-061-2/+2
|
* Gitify the pre-release version numberEelco Dolstra2011-12-061-1/+2
|
* 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
|