Eelco Dolstra
f5194e51dc
Merge branch 'cdugz-master'
2014-04-24 16:27:54 +02:00
Chingis Dugarzhapov
dcc678e7c5
Clear help message for --print-soname and --set-soname options
...
Also fixed bad SONAME positioning in help output
2014-04-19 10:52:16 +00:00
Chingis Dugarzhapov
02c185ff69
Added tests for --print-soname and --set-soname
2014-04-19 10:05:56 +00:00
Chingis Dugarzhapov
211ee2c00a
Added assertion in TODO, removed some useless debug msgs...
2014-04-10 18:52:50 +02:00
Chingis Dugarzhapov
b02d21f9b3
raise error if no DT_SONAME found
2014-04-10 18:37:50 +02:00
Chingis Dugarzhapov
6f94890feb
--set-soname, fixed help message
2014-04-10 14:33:09 +02:00
Chingis Dugarzhapov
218d7b48ae
--set-soname with .dynstr section resize, proper debug messages
2014-04-10 14:31:44 +02:00
Chingis Dugarzhapov
0034320810
--set-soname, first working prototype
2014-04-09 12:41:38 +02:00
Chingis Dugarzhapov
119d6c4d34
Added --print-soname option, to print DT_SONAME entry of .dynamic section
2014-04-08 15:35:04 +02:00
Eelco Dolstra
21a85cc1c6
Update version
0.8
2014-01-14 13:33:39 +01:00
Eelco Dolstra
df6243f555
In symbol tables, rewrite st_value for STT_SECTION entries
2014-01-14 13:23:07 +01:00
Eelco Dolstra
bf03aff2ea
Handle invalid symbol table entries that refer to non-existent sections
...
For instance, libcairo-swt.so from Eclipse SDK 4.2.2 has entries like:
30: 0000000000000000 0 SECTION LOCAL DEFAULT 30
even though there is no section 30. So ignore these.
2014-01-14 12:05:44 +01:00
Eelco Dolstra
e6b9f431e4
Prepare 0.7 release
0.7
2014-01-07 15:54:25 +01:00
Eelco Dolstra
02c4ffa555
Add an aggregate job
2013-10-24 20:11:04 +02:00
Eelco Dolstra
845860d053
Add Fedora 19 and Ubuntu 13.10 builds
2013-10-23 11:53:17 +02:00
Eelco Dolstra
eea5b990b1
Build Fedora 18 RPMs
2013-05-08 13:59:46 +02:00
Eelco Dolstra
6fb4cdb57f
Build Debian 7.0 debs
2013-05-07 11:21:04 +02:00
Eelco Dolstra
a81a12121e
Build Ubuntu 13.04 debs
2013-05-03 14:06:28 +02:00
Eelco Dolstra
7c8c47bf7a
Don't run the tests on Darwin
...
It's not an ELF platform.
http://hydra.nixos.org/build/4285486
2013-03-06 17:22:52 +01:00
Eelco Dolstra
c330f99196
Don't use the "version suffix" stuff in releaseTools.sourceTarball
...
It's confusing.
2013-03-06 16:58:24 +01:00
Eelco Dolstra
c9e3ba482a
release.nix: Use separate jobs for each platform
...
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
2013-03-06 16:23:42 +01:00
Eelco Dolstra
21828ee8cc
Remove debug statement
2013-01-16 23:50:13 +01:00
Eelco Dolstra
118897f030
Add ‘--remove-needed’ option
...
This allows removing the specified DT_NEEDED entries from the dynamic
section.
Closes #4 .
2013-01-16 23:42:21 +01:00
Eelco Dolstra
8dba0ae9d7
Build on Ubuntu 12.10
2012-12-04 20:16:38 +01:00
Eelco Dolstra
1c057cd107
Update README
2012-08-21 15:35:41 -04:00
Eelco Dolstra
7c784881c8
Comment out overly verbose debug line
2012-08-21 15:30:22 -04:00
Eelco Dolstra
472deb3708
Rewrite the st_shndx field in symbol tables
...
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).
2012-08-21 15:21:39 -04:00
Eelco Dolstra
9b794ce691
Remove trailing whitespace
2012-08-21 13:40:43 -04:00
Eelco Dolstra
a1ddbd47d3
Fix configure.ac
...
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
2012-07-17 10:45:37 -04:00
Vincent Danjean
00b2fa4f77
Rewrite tests in automake
...
- 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
2012-07-10 18:16:24 -04:00
Vincent Danjean
90e33b9a72
Add a .gitignore for all file generated by ./bootstrap.sh
...
No need to exclude files created when compiling and testing
as this can be done out of tree
2012-07-10 18:16:24 -04:00
Vincent Danjean
c364c397be
Cleanup configure.ac
...
- 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
2012-07-10 18:16:24 -04:00
Vincent Danjean
3226dea361
Allow parallel execution of tests
...
Each test use its own subdirectory in scratch/
2012-07-10 18:16:24 -04:00
Vincent Danjean
d0dac944ae
Use autoreconf to bootstrap the project
...
This avoid to manually list all autotool programs required
2012-07-10 18:16:24 -04:00
Vincent Danjean
4f66601450
fix build *and check* out of tree
...
- 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
2012-07-10 18:16:24 -04:00
Vincent Danjean
f12f3c9691
Use automake support to install docs
...
It is shorter, cleaner and "make uninstall" support comes for free
2012-07-10 18:16:24 -04:00
Eelco Dolstra
e841d5f8ec
Build Ubuntu 12.04 packages
2012-05-10 22:06:48 -04:00
Eelco Dolstra
67c5d696b2
Disable tests on Solaris
...
The Solaris linker doesn't have the --enable/disable-dtags flag in the
linker required by the tests.
http://hydra.nixos.org/build/2230397
2012-03-12 10:29:37 +01:00
Eelco Dolstra
b0e6fb12e2
Support building out of tree
...
Contributed by Yann E. MORIN.
2012-02-21 00:07:44 +01:00
Eelco Dolstra
106e21cbe7
Build PatchELF for Ubuntu 11.10 and Fedora 16
2012-02-07 14:18:25 +01:00
Eelco Dolstra
326f168c02
Use underscores in versions to keep RPM happy
...
RPM doesn't allow dashes in version numbers, so use an underscore
instead. Also, let Autoconf generate the RPM spec file.
2011-12-14 16:35:50 +01:00
Eelco Dolstra
b575e2a34d
Use Hydra's shortRev attribute
2011-12-06 23:15:57 +01:00
Eelco Dolstra
267480b66c
Gitify the pre-release version number
2011-12-06 22:44:00 +01:00
Eelco Dolstra
61d327c714
Bump the version number
2011-12-06 22:35:54 +01:00
Eelco Dolstra
d8e97794f6
* Use <...> syntax.
2011-12-05 11:28:55 +00:00
Eelco Dolstra
ea21044d47
* Update the README for PatchELF 0.6.
0.6
2011-11-07 19:48:34 +00:00
Eelco Dolstra
a9aa808a5c
* Support executables created by the Gold linker (NixOS/140). These
...
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.
2011-09-11 20:10:14 +00:00
Eelco Dolstra
92d4c4f531
* Build on Debian 6.0 and Ubuntu 10.10.
2011-02-14 16:52:45 +00:00
Eelco Dolstra
87f4d86122
* Fix patching a little-endian binary on a big-endian machine. This
...
fixes the no-rpath test on powerpc-linux.
2010-08-26 12:42:30 +00:00
Eelco Dolstra
2b52ef1cdc
* Test whether the patched no-rpath executable works on i686-linux.
2010-08-26 11:36:31 +00:00