Commit Graph

30 Commits

Author SHA1 Message Date
Ulrich Drepper 898ed26144 avoid scary command output
The commands to check for invalid text relocations in the generated DSOs
shouldn't be displayed.  They contain an echo which prints the text.
This patch suppresses the commands from being printed.
2014-12-18 23:47:22 +01:00
Mark Wielaard 805ec833c1 Add configure --disable-textrelcheck option to enable CC=afl-fuzz on 32bit.
Using american fuzzy lop has found a lot of issues. It would be nice to
make using it a bit easier. Our build files make sure that no shared
library uses text relocations, but afl-gcc will insert some on i686.
http://www.akkadia.org/drepper/textrelocs.html

Now CC=afl-gcc ./configure --disable-textrelcheck will allow them so
that afl can instrument the libraries.

Don't try to use or install them except with afl-fuzz. When selinux is
enabled it might prevent loading the libraries with DT_TEXTREL set.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
2014-12-04 14:38:18 +01:00
Mark Wielaard 3232479483 Remove mudflap build option.
The --enable-mudflap configure build has been broken for 2 years without
anybody apparently noticing. GCC 4.9 removed mudflap support. Before
release we now run make distcheck with valgrind support. Removal of the
mudflap configure option simplifies the build a little.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
2014-04-18 11:46:51 +02:00
Michael Forney a45c804335 Check for prefixed ar, readelf, and nm
Sometimes with cross-compile toolchains, the tools are prefixed with the
target arch. Using AC_CHECK_TOOL looks for tools named like this.

Signed-off-by: Michael Forney <mforney@mforney.org>
Signed-off-by: Mark Wielaard <mjw@redhat.com>
2013-11-05 17:07:10 +01:00
Mark Wielaard cdaaf2153a Updates for Automake 1.13.
autoreconf will install config/test-driver, ignore it.
Update gettext m4 and po files to version 0.18.2.
Use AM_CPPFLAGS instead of INCLUDES.
All changes are backward compatible with Automake 1.11.
2013-04-26 10:06:08 +02:00
Mark Wielaard de2ed97f33 Update name, license and contributor policy.
* Change name from "Red Hat elfutils" to "elfutils".
* Update license of standalone tools and test from GPLv2 to GPLv3+.
* Change license of libraries from GPLv2+exception to GPLv2/LGPLv3+.
* Add Developer Certificate of Origin based contributor policy.

top-level:

- COPYING: Upgraded from GPLv2 to GPLv3.
- CONTRIBUTING, COPYING-GPLv2, COPYING-LGPLv3: New files.
- NEWS: Added note about new contribution and license policy.
- Makefile.am: Updated to GPLv3, added new files to EXTRA_DIST.
- configure.ac: Update to GPLv3, changed AC_INIT name to 'elfutils'.

backends, lib, libasm, libcpu, libdw, libdwfl, libebl, libelf:

- All files updated to GPLv2/LGPLv3+. Except some very small files
  (<5 lines) which didn't have any headers at all before, the linker
  .maps files and the libcpu/defs files which only contain data and
  libelf/elf.h which comes from glibc and is under LGPLv2+.

config:

- elfutils.spec.in: Add new License: headers and new %doc files.
- Update all license headers to GPLv2/LGPLv3+ for files used by libs.

src, tests:

- All files updated to GPLv3+. Except for the test bz2 data files, the
  linker maps and script files and some very small files (<5 lines)
  that don't have any headers.

Signed-off-by: Richard Fontana <rfontana@redhat.com>
Signed-off-by: Mark Wielaard <mjw@redhat.com>
2012-06-05 23:12:05 +02:00
Mark Wielaard 5128fb4487 Remove .mtn-ignore and .cvsignore files.
We use .gitignore these days.
2012-06-05 14:55:29 +02:00
Roland McGrath 7094d00a16 libasm: Remove an unused variable. 2011-02-08 11:20:49 -08:00
Roland McGrath 22359e2653 Clean up and consolidate automake magic to reduce duplication and to work with --disable-dependency-tracking. 2010-02-15 15:57:03 -08:00
Ulrich Drepper 7e678fa3f6 Require __thread support in compiler.
Rename --enable-tls to more appropriate --enable-thread-safety.
2009-01-10 18:02:05 -08:00
Roland McGrath 12af5a2882 merge of '4c5dbb5e116d9a9c7f9014a3dcbabba8e7d89327'
and 'fddaff07d3c095a3d26f41fe7a7da147c024bd96'
2008-12-04 06:28:06 +00:00
Ulrich Drepper 02f6645263 propagate from branch 'com.redhat.elfutils.roland.pending.libelf-threads' (head fc97c9c202b5d7d7699a3b1d5c53007a2ef37bb1)
to branch 'com.redhat.elfutils' (head 67cccb9bfffc1a7fe3d8d355a2d9b6d0e489ff81)
2008-12-04 05:58:16 +00:00
Ulrich Drepper 5937988211 [USE_TLS] Link libasm.so with libpthread. 2008-12-04 06:09:56 +00:00
Roland McGrath b4d6f0f806 Fix up bogon and missing log entries from .pmachata.threads branch. 2008-08-25 22:55:17 +00:00
Ulrich Drepper d56e232fb8 propagate from branch 'com.redhat.elfutils.pmachata.threads' (head 8bd3bc10eb015c96f7bafcc6a22c973620b57dd8)
to branch 'com.redhat.elfutils' (head c5a11b6b3329382f1b5ffd0020f0d93c64176f20)
2008-08-16 03:09:13 +00:00
Ulrich Drepper 8a3ca3a85e Better symbol retrieval function interface. Allow larger output buffers. 2008-01-11 09:35:15 +00:00
Ulrich Drepper e219f1c1b2 propagate from branch 'com.redhat.elfutils.roland.pending' (head 26cc2ce45739af072e7ff4fdab5e8eb7cd756d50)
to branch 'com.redhat.elfutils' (head bb519012dee7013b2cab5c2f5ed465cb3821b063)
2008-01-09 05:49:49 +00:00
Ulrich Drepper 515d8d7152 Rewrite matcher to allow easier handling of SSE instructions.
A\\Correct/add copyrights.
2008-01-03 07:41:03 +00:00
Ulrich Drepper 3cbdd387c7 propagate from branch 'com.redhat.elfutils.disasm' (head d15b4eb794e81e477f9896fe82a74cb5ecf4514c)
to branch 'com.redhat.elfutils' (head eaacbf01f8cc89d043ec6eca9b5e35cb5c4cde06)
2008-01-02 17:44:39 +00:00
Roland McGrath c373d850ec 2006-10-09 Roland McGrath <roland@redhat.com>
* ia64_symbol.c (ia64_reloc_simple_type): Treat SECREL types as simple.
2006-10-10 00:25:21 +00:00
Ulrich Drepper 1e9ef50681 Fix FSF address. No exception for libdwarf. 2006-04-04 22:29:06 +00:00
Ulrich Drepper 361df7da6d propagate from branch 'com.redhat.elfutils.roland.pending' (head 4f8fc821345feef58624f0aa5b470d4827577d8c)
to branch 'com.redhat.elfutils' (head 76e26cb54695fd3b21ee8fb5be3036bd68200633)
2006-04-04 21:38:57 +00:00
Roland McGrath e47ab76f02 Update new test after merge. 2005-11-17 03:16:00 +00:00
Ulrich Drepper 5d59876c48 Unify error message. 2005-09-03 06:05:45 +00:00
Ulrich Drepper fbe998a0b1 merge of 333c187506c852455e9f7be44fa9adc360416217
and 79955b942e3f0ddc71117feea5754df61edcc42a
2005-08-29 16:27:10 +00:00
Roland McGrath 4c305da9de 2005-08-24 Roland McGrath <roland@redhat.com>
* line2addr.c (print_address): Omit () for DSOs.
2005-08-25 01:49:35 +00:00
Ulrich Drepper c2c3b1ecbe Since we link statically when using gcov don't compile the .os files
with the options.
2005-08-28 17:59:03 +00:00
Ulrich Drepper 3d413d4b05 Implement --enable-gconv option for configure. 2005-08-28 16:18:57 +00:00
Ulrich Drepper a38998e815 Add some patches from the disasm-branch branch.
The asm_begin interface changed.
In text mode output is really written to the file.
2005-08-03 02:05:39 +00:00
Ulrich Drepper b08d5a8fb4 Adjust for monotone. 2005-07-26 05:00:05 +00:00