Commit Graph

62 Commits

Author SHA1 Message Date
Eelco Dolstra
ec178fae9f * Mark the 0.3 release as stable. 2007-05-24 15:48:45 +00:00
Eelco Dolstra
99e0a3774c 2007-05-24 15:47:14 +00:00
Eelco Dolstra
48d19886dd * Updated the release history. 2007-05-24 15:39:32 +00:00
Eelco Dolstra
598afdb490 * The Group field is required. 2007-03-21 23:30:48 +00:00
Eelco Dolstra
2ebc5c6c13 * An RPM spec file for PatchELF. 2007-03-21 12:49:59 +00:00
Eelco Dolstra
9369fb5954 * Dummy commit. 2007-03-19 13:39:27 +00:00
Eelco Dolstra
efa2a7ee24 * When sorting the sections, make sure that we maintain the sh_link
and sh_info fields.  Tricky.
2007-02-01 00:25:29 +00:00
Eelco Dolstra
5cc8d9c439 * Keep the section headers sorted by offset. If we don't, we won't
correctly find the sections to be moved and some might be
  overwritten.
2007-02-01 00:03:46 +00:00
Eelco Dolstra
8ed63404b2 * Support big endian binaries (such as on powerpc-linux). 2007-01-31 18:20:48 +00:00
Eelco Dolstra
0fa0755a9f 2007-01-31 15:38:18 +00:00
Eelco Dolstra
94f38d26bc * .rel.plt is called .rela.plt on x86_64-linux. 2007-01-31 15:08:42 +00:00
Eelco Dolstra
56cae84500 * Instantiate the right template depending on whether the file is 32
or 64 bits.  (This is done at runtime, so patchelf can patch 32
  *and* 64-bit executables on both 32 and 64-bit platforms).
2007-01-31 14:48:19 +00:00
Eelco Dolstra
f6a628b812 * Templatise the ElfFile class to take the Elf32_* types as
arguments.  The idea is that we can just pass the Elf64_* types to
  get a 64-bit version of the class.
2007-01-31 14:24:03 +00:00
Eelco Dolstra
a9fb3f9fbd * Put the ELF operations in a class. 2007-01-31 13:50:07 +00:00
Eelco Dolstra
1c0e33852e * Print error messages on stderr. 2007-01-31 12:13:13 +00:00
Eelco Dolstra
b1fe47bbca * --shrink-rpath doesn't take an argument. 2007-01-18 18:53:49 +00:00
Eelco Dolstra
dcc2a1f003 * Bump the version number. 2007-01-15 12:42:21 +00:00
Eelco Dolstra
7ec0e80c1d * DOH! 2007-01-15 12:24:22 +00:00
Eelco Dolstra
6e68740e37 * Mark as stable. 2007-01-15 12:22:03 +00:00
Eelco Dolstra
dfdf305efe * Release notes. 2007-01-15 12:09:27 +00:00
Eelco Dolstra
fc5cb4be7a * Hack: if we can't find .rel.dyn, use .rel.got. No idea if this
makes sense.
2006-03-03 21:57:07 +00:00
Eelco Dolstra
020c2393cf * Bump the revision number to 0.2. 2005-10-11 13:23:40 +00:00
Eelco Dolstra
c246daeeea * --interpreter' -> --set-interpreter'. 2005-10-11 13:05:08 +00:00
Eelco Dolstra
07b8f23706 * Add a README and a license. 2005-10-11 13:03:30 +00:00
Eelco Dolstra
37cd5c8d04 * A `--debug' flag. 2005-10-04 13:11:16 +00:00
Eelco Dolstra
a36b2c6144 * Fix computation of the new start page. 2005-10-03 18:25:15 +00:00
Eelco Dolstra
b60d8d3ef2 * Add a test for programs that crash when .dynstr etc. are moved. 2005-10-03 18:22:32 +00:00
Eelco Dolstra
df7806f982 * Use a bigger maximum size. 2005-10-02 20:57:56 +00:00
Eelco Dolstra
dd77b20708 * Handle the case where no RPATH is present, so the .dynamic table has
to be increased.
2005-10-01 01:05:50 +00:00
Eelco Dolstra
2369d8b2de * Handle `--set-rpath' for the growing case. 2005-09-30 23:59:40 +00:00
Eelco Dolstra
58ec67927f * `patchelf --set-rpath': short case. 2005-09-30 23:04:25 +00:00
Eelco Dolstra
c951319559 * Refactoring continued: `--shrink-rpath' works again. 2005-09-30 21:59:38 +00:00
Eelco Dolstra
ddf3b787d7 * Clear out trailing and padding space. 2005-09-30 21:29:27 +00:00
Eelco Dolstra
d5afac8e03 * Revert. 2005-09-30 21:28:34 +00:00
Eelco Dolstra
460e117720 * Refactoring continued: `--set-interpreter' works again. 2005-09-30 21:22:27 +00:00
Eelco Dolstra
ab3d0a012c * Start of refactoring to support growing the RPATH. 2005-09-30 18:10:19 +00:00
Eelco Dolstra
1587dc98e2 * Doh! 2005-09-30 15:44:47 +00:00
Eelco Dolstra
774bdc0d5e * Also try a interpreter with a long name. 2005-09-30 15:43:10 +00:00
Eelco Dolstra
8d7076e8cf * Set a interpreter with a short name. 2005-09-30 15:38:42 +00:00
Eelco Dolstra
5349440827 * C++-ify. 2005-09-30 11:40:20 +00:00
Eelco Dolstra
955d3334ed * Use a real programming language. 2005-09-30 09:50:51 +00:00
Eelco Dolstra
3dd9c1ffca * Don't use an impure test path. 2005-09-29 16:16:20 +00:00
Eelco Dolstra
3b4fd53eec * Debug. 2005-09-29 16:01:32 +00:00
Eelco Dolstra
64e3c5d087 * Add an operation `--print-rpath' to print the RPATH of the library
or executable and exit.
2005-09-29 15:58:41 +00:00
Eelco Dolstra
a49db8e569 * Put in a highly Nix-specific hack to make the tests work. 2005-09-29 15:46:07 +00:00
Eelco Dolstra
190a60c025 * Add a failing test for `--set-rpath'. Test-driven development! 2005-09-29 15:41:04 +00:00
Eelco Dolstra
4f3658be12 * Added some real tests. 2005-09-29 14:21:40 +00:00
Eelco Dolstra
111c97cf88 * Added a flag `--print-interpreter' that prints the path of the
executable's ELF interpreter on standard output and exits.
2005-09-29 14:20:45 +00:00
Eelco Dolstra
8685534261 * Add dist files. 2005-09-29 12:17:56 +00:00
Eelco Dolstra
0da4ea8b65 * Add tests. 2005-09-29 12:03:56 +00:00