summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* Merge tag 'elfutils-0.169'QtCreator4.5.1QtCreator4.5.0-rc1QtCreator4.5.0QtCreator4.4.1QtCreator4.4.0-rc1QtCreator4.4.0-beta1QtCreator4.4.04.54.4Ulf Hermann2017-05-081-3/+8
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog backends/ChangeLog config/ChangeLog lib/ChangeLog libasm/ChangeLog libcpu/ChangeLog libdw/ChangeLog libdwfl/ChangeLog libdwfl/derelocate.c libdwfl/linux-kernel-modules.c libebl/ChangeLog libelf/ChangeLog src/ChangeLog tests/ChangeLog Change-Id: I3b7ced947c6498290aaae27443985b84531f0bcd
| * Prepare for 0.169.elfutils-0.169Mark Wielaard2017-05-051-0/+5
| | | | | | | | | | | | | | Set version to 0.169. Update copyright year. Update po/*.po files. And add user visible changes to new 0.169 NEWS section. Signed-off-by: Mark Wielaard <mark@klomp.org>
| * Add missing entries to .gitignoreUlf Hermann2017-04-261-0/+4
| | | | | | | | Signed-off-by: Ulf Hermann <ulf.hermann@qt.io>
* | Provide build rules for a compatibility libraryUlf Hermann2017-05-081-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | We need to export open(), close(), malloc(), and free() from the C library we are using so that we can handle resources passed to and from elfutils correctly. For example, on Windows, calling free() on memory malloc()'d with a different C library will not work. In addition, having __cxa_demangle from the GNU libstdc++ available is very helpful, so we include that, too. Change-Id: I8e47e8f313fb3ffcc18309dadabf24acf36465f0 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* | Skip deleted test if fork(2) is unavailableUlf Hermann2017-05-081-0/+4
| | | | | | | | | | Change-Id: Ib52e92c34c5bd387b1e6310bb42d9102a639f262 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* | Check for existence of GNU-style strerror_rUlf Hermann2017-05-051-0/+4
| | | | | | | | | | | | | | | | If we don't have it, we don't translate system error codes to strings in dwfl_error.c. Change-Id: I829616cfba787d778c3273f2042512739df91d81 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* | Skip fchown, fchmod, fadvise, fallocate if functions are unavailableUlf Hermann2017-05-041-0/+5
| | | | | | | | | | | | | | | | | | | | | | If fchmod or fchown are unavailable, then the file permission model is likely to be different from what we expect there. posix_fallocate is a rather fragile affair already on linux, and not guaranteed to do anything useful. If it's not available, the result will be the same as when it's available and unreliable. fadvise is an optimization. Change-Id: I28a77e976a0198cf80397b45eb1bc8cfb30664f5 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* | Add our own tdestroy if search.h exposes a node_t structUlf Hermann2017-05-041-0/+5
| | | | | | | | | | | | | | | | | | | | | | tdestroy is not necessarily available from search.h, but we need it. gnulib cannot help us here as it will detect search.h to be available and functional in that case. However, some search.h expose a node_t struct which can be used to implement tdestroy. If that is the case, add an implementation to libgnu.a. Change-Id: I983f3aeb6b9090d2b24cbc01fe0790d2d0c96824 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* | Check for existence of GNU-style basename()Ulf Hermann2017-05-041-0/+4
| | | | | | | | | | | | | | If it doesn't exist, add an implementation to libgnu.a and config.h. Change-Id: Ice0356030dd666d61f8a582ad09a74c843b19add Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* | Define unlocked io functions to locked ones if they are unavailableUlf Hermann2017-05-041-0/+4
| | | | | | | | | | | | | | The locked IO functions will still do the job, albeit a bit slower. Change-Id: I65c2b6aaa00374302aff3bcf4852a252e1eefd17 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* | Check native binary formatUlf Hermann2017-05-021-0/+4
| | | | | | | | | | | | | | | | | | | | If our native binary format is not ELF, there is no point in doing the textrel check and we have to exclude some tests that compile source code with the native compiler and then check something on the resulting binary with elfutils. Change-Id: Ib9c6b63481b40fa07dd741c1bb9dcb5d5a2ac6d1 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* | Generalize library namesUlf Hermann2017-04-281-0/+5
| | | | | | | | | | | | | | | | | | On windows library names end with ".dll" and the prefix "lib" us usually omitted. Take this into account and also drop the $(EXEEXT) workaround. We don't need to use noinst_PROGRAMS as there is also noinst_DATA. Change-Id: I7e4ba2432811d5ad85051ea0c9d5674eabf79b3c Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* | Check if gcc complains about __attribute__ (visibility(..))Ulf Hermann2017-04-281-0/+5
| | | | | | | | | | | | | | | | If so, define attribute_hidden to be empty. Also, use attribute_hidden in all places where we hide symbols. Change-Id: I37353459710dbbd1c6c6c46110514fc18515c814 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* | Check for -z,defs, -z,relro, -fPIC, -fPIE before using themUlf Hermann2017-04-281-0/+5
| | | | | | | | | | | | | | | | | | On windows those aren't needed because the link results are no ELF files and all code is position independent anyway. gcc then complains about them, which is in turn caught by -Werror. Change-Id: Ie3d600b7c430698fc3d867a986a4d48f7ad1bbec Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* | Drop handrolled or #ifdef'ed libc replacementsUlf Hermann2017-04-281-0/+4
| | | | | | | | | | | | | | | | | | mempcpy, memrchr, rawmemchr, and argp are provided by gnulib now. We don't need to define them locally and we don't need to search for an external libargp. Change-Id: I131ca4bc2d77c597b99c296c28259a3600e5d1b5 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* | Add gnulib modules to replace missing libc functionalityUlf Hermann2017-04-271-0/+7
| | | | | | | | | | | | | | | | | | | | This enables us to build a fully featured elfutils package on systems with reduced C libraries, such as windows. All the modules are built into libgnu.a, which is then linked into all binaries if --enable-gnulib is given on the configure line. Change-Id: I743fd22172bc85d9f10dcc3dad8eb921f462b554 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* | Add missing entries to .gitignoreUlf Hermann2017-04-271-0/+4
|/ | | | | Change-Id: I8c8d91521f30863eb19497cb1d9f7ce8649a81ee Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Check for existence of mempcpyUlf Hermann2017-02-171-0/+4
| | | | | | If it doesn't exist, provide a definition based on memcpy. Signed-off-by: Ulf Hermann <ulf.hermann@qt.io>
* Add -D_FORTIFY_SOURCE=2 to CFLAGS if possible.Mark Wielaard2017-02-141-0/+4
| | | | | | | | | Some distros now add -D_FORTIFY_SOURCE=2 by default and we have missed some issues in the past caught by it. Add it to CFLAGS if possible. The configure check will make sure that it doesn't conflict with any other CFLAGS already defined. Signed-off-by: Mark Wielaard <mark@klomp.org>
* Define PACKAGE_URL for older autoconf.Mark Wielaard2017-01-121-0/+4
| | | | | | | autoconf < 2.64 doesn't define PACKAGE_URL through AC_INIT. Define it ourselves if needed. Signed-off-by: Mark Wielaard <mark@klomp.org>
* Prepare for elfutils 0.168 release.elfutils-0.168Mark Wielaard2016-12-271-0/+5
| | | | Signed-off-by: Mark Wielaard <mark@klomp.org>
* http://elfutils.org/ is now hosted at http://sourceware.org/elfutils/Mark Wielaard2016-12-241-0/+11
| | | | | | | | | | | | | | | | | fedorahosted used to be our home, but we are now hosted at sourceware. Change the elfutils project home to http://elfutils.org/ Point hosted services (email, release, git, bug tracker and web pages) to https://sourceware.org/elfutils/ Move design notes from README to NOTES. Add URLs for home, releases, bugs, git and mailinglist to README. Make the --version output of all tools the same by using a common print_version function and update the publicly shown copyright holder to the elfutils developers. Signed-off-by: Mark Wielaard <mark@klomp.org>
* Only workaround fts.h if we have a bad version that doesn't handle LFS.Mark Wielaard2016-11-231-0/+5
| | | | | | | | | | Older versions of glibc included an fts implementation that didn't have Large File System support. We worked around that in linux-kernel-modules.c by including it early before config.h and then redefining some symbols to get the 64-bit versions. This is somewhat fragile and not necessary with newer glibc. If possible we want the 64bit fts version always. Signed-off-by: Mark Wielaard <mjw@redhat.com>
* Add GCC7 -Wimplicit-fallthrough support/fixes.Mark Wielaard2016-11-101-1/+6
| | | | | | | | | | | GCC7 will have a new -Wimplicit-fallthrough warning. It did catch one small buglet in elflint option procession. So it seems useful to enable to make sure all swatch case fallthroughs are deliberate. Add configure check to detect whether gcc support -Wimplicit-fallthrough and enable it. Add fixes and explicit fallthrough comments where necessary. Signed-off-by: Mark Wielaard <mjw@redhat.com>
* Do not depend on some non-POSIX features.Akihiko Odaki2016-10-131-0/+4
| | | | | | | | Define/open code memrchr, rawmemchr, powerof2 and TEMP_FAILURE_RETRY if not available through system headers. Signed-off-by: Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp> Signed-off-by: Mark Wielaard <mjw@redhat.com>
* Prepare 0.167 release.Mark Wielaard2016-08-041-0/+5
| | | | Signed-off-by: Mark Wielaard <mjw@redhat.com>
* Remove eu-ld and unused code.Mark Wielaard2016-08-031-0/+5
| | | | | | | | Nobody has hacked on eu-ld in a very long time. It didn't really work. And we didn't install it by default in the spec file. Remove sources, the build rules and any (now) unused code. Signed-off-by: Mark Wielaard <mjw@redhat.com>
* Add support for BPFRichard Henderson2016-06-281-0/+4
| | | | Signed-off-by: Richard Henderson <rth@redhat.com>
* CONTRIBUTING: Extend patch, committer and maintainer guidelines.Mark Wielaard2016-06-211-0/+4
| | | | Signed-off-by: Mark Wielaard <mjw@redhat.com>
* config: Pass the compiler -Werror during warning detectionFilipe Brandenburger2016-05-031-0/+3
| | | | | | | | | | | | | | Otherwise the compilation prints a warning but exits with 0 return code. However, later during the compilation, when -Werror is enforced to about every file, the unsupported options start breaking the builds. Tested: Ran configure with clang-3.5 and built libelf/ tree with it. $ autoreconf -i $ ./configure CC=clang-3.5 ... $ make -C libelf Signed-off-by: Filipe Brandenburger <filbranden@google.com>
* config: Fix check for argp_parse to pass &argvFilipe Brandenburger2016-05-021-0/+4
| | | | | | | | | | | | | | | | | | | Right now it's passing a char* when it expects a char** instead. This usually produces a warning that may go unnoticed, but if CFLAGS contains -Werror, that breaks the ./configure run with the following error: $ ./configure CFLAGS=-Werror ... configure: WARNING: "libc does not have argp" checking for argp_parse in -largp... no configure: error: "no libargp found" Tested: Checked that after this fix, running ./configure CFLAGS=-Werror works as expected and argp_parse is correctly detected. Signed-off-by: Filipe Brandenburger <filbranden@google.com>
* Prepare 0.166 release.elfutils-0.166Mark Wielaard2016-03-311-0/+4
| | | | Signed-off-by: Mark Wielaard <mjw@redhat.com>
* config: Use --program-prefix=eu- by default.Mark Wielaard2016-03-021-0/+5
| | | | | | | | | | | | We want eu- as default program prefix if none was given by the user. But if the user explicitly provided --program-prefix="" then pretend it wasn't set at all (NONE). This makes sure all tools will be installed as eu-<program>. We want this default since most tools would normally conflict with the GNU binutils variants that have similar names. Signed-off-by: Mark Wielaard <mjw@redhat.com>
* config: Check for and use gcc -Wnull-dereference.Mark Wielaard2016-02-221-0/+4
| | | | | | -Wnull-dereference is new in GCC6 Signed-off-by: Mark Wielaard <mjw@redhat.com>
* config: Check for and use gcc -Wlogical-op and -Wduplicated-cond.Mark Wielaard2016-02-151-0/+5
| | | | | | | | | Both -Wlogical-op and -Wduplicated-cond may produce useful warnings. But we have to check them first. Older versions of gcc had a -Wlogical-op that warned on some constructs using macros that are not erronious. Only GCC6 has -Wduplicated-cond. Signed-off-by: Mark Wielaard <mjw@redhat.com>
* Prepare 0.165 release.Mark Wielaard2016-01-081-0/+5
| | | | Signed-off-by: Mark Wielaard <mjw@redhat.com>
* config: Add libelf and libdw pkg-config files.Mark Wielaard2016-01-051-0/+5
| | | | Signed-off-by: Mark Wielaard <mjw@redhat.com>
* Make make more silent.Mark Wielaard2016-01-051-0/+4
| | | | | | | Silent rules already are the default, but automake and make both still tell which directory is being entered/build. Disable printing from make. Signed-off-by: Mark Wielaard <mjw@redhat.com>
* Make zlib mandatory.Mark Wielaard2015-10-261-0/+4
| | | | | | Explicitly link libelf and libdw with -lz. Signed-off-by: Mark Wielaard <mjw@redhat.com>
* Prepare 0.164 release.Mark Wielaard2015-10-151-0/+5
| | | | Signed-off-by: Mark Wielaard <mjw@redhat.com>
* configure.ac: Add AM_SILENT_RULES([yes])Mark Wielaard2015-10-121-0/+4
| | | | Signed-off-by: Mark Wielaard <mjw@redhat.com>
* Use -fPIC instead of -fpic when generating PIC code.Jose E. Marchesi2015-10-061-0/+5
| | | | | | | This avoids relocation overflows in sparc/sparc64 targets while linking, where the reachable data using -fpic is only 4kb. Signed-off-by: Jose E. Marchesi <jose.marchesi@oracle.com>
* Fix/improve .gitignorePino Toscano2015-07-111-0/+5
| | | | | | | | | | | | | | | Fill the .gitignore with more generated files, such as: - test executables - results of the automake testing framework (*.log and *.trs) - sources generated by flex and bison - generated *.mnemonics files in libcpu - the helper libcpu/i386_gendis tool - *.so.1 symlinks Also, anchor existing filenames to their location when builddir==srcdir. Signed-off-by: Pino Toscano <toscano.pino@tiscali.it>
* Prepare 0.163 release.elfutils-0.163Mark Wielaard2015-06-191-0/+5
| | | | Signed-off-by: Mark Wielaard <mjw@redhat.com>
* Prepare 0.162 release.Mark Wielaard2015-06-101-0/+5
| | | | Signed-off-by: Mark Wielaard <mjw@redhat.com>
* configure: Add check for gcc -Wstack-usage.Mark Wielaard2015-06-101-0/+5
| | | | | | | Some older gcc versions don't support -Wstack-usage. Only use it when accepted by the compiler. Signed-off-by: Mark Wielaard <mjw@redhat.com>
* Define MODVERSION in a more reproducable way.Mark Wielaard2015-06-051-0/+5
| | | | | | | | | We define MODVERSION to make sure the libebl backend modules match the elfutils build when we dlopen them. Using hostname and date makes it very hard to create reproducable builds. Define them a little more reproducable using LIBEBL_SUBDIR, eu_version and ac_cv_build. Signed-off-by: Mark Wielaard <mjw@redhat.com>
* Fix sanitize-undefined config check. Don't ALLOW_UNALIGNED when checking.Mark Wielaard2015-06-051-0/+5
| | | | | | | | | The -fsanitize=undefined check need to use AC_LINK_IFELSE to make sure libubsan is installed. When doing undefined checking we should disable ALLOW_UNALIGNED memory accesses to catch issues where we do unaligned accesses by accident. Signed-off-by: Mark Wielaard <mjw@redhat.com>
* configure: Add check for bunzip2 and maintainer-mode tools.Mark Wielaard2015-06-051-0/+6
| | | | | | | | Without bunzip2 make check cannot be run. To generate all files in maintainer-mode flex and bison are needed. Otherwise check that libdw/known-dwarf.h is already generated. Signed-off-by: Mark Wielaard <mjw@redhat.com>
* configure: Add --enable-sanitize-undefined.Mark Wielaard2015-05-271-0/+6
| | | | | | | | | | | | Now that we are -fsanitize=undefined clean make sure we keep it that way. We do have to disable alignment checking. Because we might explicitly use unaligned accesses (see ALLOW_UNALIGNED). Rename DISTCHECK_CONFIGURE_FLAGS to AM_DISTCHECK_CONFIGURE_FLAGS, so the user can override. And add --enable-sanitize-undefined. Signed-off-by: Mark Wielaard <mjw@redhat.com>