summaryrefslogtreecommitdiffstats
path: root/config
Commit message (Collapse)AuthorAgeFilesLines
* Merge tag 'elfutils-0.175'Ulf Hermann2019-01-092-5/+47
|\ | | | | | | | | | | elfutils 0.175 release Change-Id: I409f41767af349d0521351dd733879ad31c65aab
| * Update upload-release.sh script and po files.elfutils-0.175Mark Wielaard2018-11-161-5/+33
| | | | | | | | Signed-off-by: Mark Wielaard <[email protected]>
| * Prepare for 0.175Mark Wielaard2018-11-141-0/+14
| | | | | | | | | | | | | | | | Set version to 0.175 Update NEWS and elfutils.spec.in. Regenerate po/*.po files. Signed-off-by: Mark Wielaard <[email protected]>
* | Merge tag 'elfutils-0.174'Ulf Hermann2018-10-113-0/+46
|\| | | | | | | | | | | elfutils 0.174 release Change-Id: Ibcbdfca61cf0b65391ab6d0ad00f18ba61027e07
| * Prepare for 0.174elfutils-0.174Mark Wielaard2018-09-141-0/+11
| | | | | | | | | | | | | | | | Set version to 0.174. Mention new functionality in NEWS. Update po/*.po files. Signed-off-by: Mark Wielaard <[email protected]>
| * config: Add upload-release.sh script.Mark Wielaard2018-07-042-0/+35
| | | | | | | | | | | | | | | | Should be run after making a release to upload the new tar.bz2, signature file and update the latest symlinks. Make sure to run make distcheck first. Requires a shell account on sourceware. Signed-off-by: Mark Wielaard <[email protected]>
* | Merge tag 'elfutils-0.173'Ulf Hermann2018-07-133-7/+67
|\| | | | | | | | | | | elfutils 0.173 release Change-Id: I83dc56dd15c26fe7acf4ce73c29df65b8b65e757
| * Prepare for 0.173elfutils-0.173Mark Wielaard2018-06-291-0/+15
| | | | | | | | | | | | | | | | Set version to 0.173. Mention new functionality in NEWS. Update po/*.po files. Signed-off-by: Mark Wielaard <[email protected]>
| * Prepare for 0.172.elfutils-0.172Mark Wielaard2018-06-112-0/+11
| | | | | | | | | | | | | | | | | | | | It has been only 10 days since the previous release and there are no functional changes compared to 0.171. The speedup of eu-readelf -N is pretty nice. And ~25 patches fix various bugs (hangs and crashes) in dealing with bad DWARF5 data. Most have been found by running the afl fuzzer on eu-readelf and various testcases. Signed-off-by: Mark Wielaard <[email protected]>
| * Prepare for 0.171.elfutils-0.171Mark Wielaard2018-06-012-0/+18
| | | | | | | | | | | | | | Set version to 0.171. Update po/*.po files. Mention DWARF5, split dwarf and GNU DebugFission support in NEWS. Signed-off-by: Mark Wielaard <[email protected]>
| * Use fallthrough attribute.Joshua Watt2018-02-102-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use __attribute__ ((fallthrough)) to indicate switch case fall through instead of a comment. This ensures that the fallthrough warning is not triggered even if the file is pre-processed (hence stripping the comments) before it is compiled. The actual fallback implementation is hidden behind a FALLBACK macro in case the compiler doesn't support it. Finally, the -Wimplict-fallthrough warning was upgraded to only allow the attribute to satisfy it; a comment alone is no longer sufficient. Signed-off-by: Joshua Watt <[email protected]>
| * config: files under /usr/lib/sysctl.d (_sysctldir) aren't %config.Mark Wielaard2017-11-102-2/+7
| | | | | | | | | | | | | | Admin can place the real config file under /etc/sysctl.d as override. https://bugzilla.redhat.com/show_bug.cgi?id=1506660 Signed-off-by: Mark Wielaard <[email protected]>
| * backends: Ignore GCC8 -Wpacked-not-aligned for m68k_corenote.c.Mark Wielaard2017-10-262-0/+5
| | | | | | | | | | | | | | | | | | The GCC8 -Wpacked-not-aligned warns if a structure field with explicit padding in a packed structure will be misaligned. m68k prstatus core notes are described by a packed structure which has such aligned structure fields. Signed-off-by: Mark Wielaard <[email protected]>
| * Check for -z,defs, -z,relro, -fPIC, -fPIE before using themUlf Hermann2017-08-182-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Those flags are not available on all platforms, and omitting them when not available will not cause any harm. In particular: -z,defs disallows undefined symbols in object files. This option is unsupported if the target binary format enforces the same condition already. Furthermore it is only a compile time sanity check. When it is omitted, the same binary is produced. -z,relro instructs the loader to mark sections read-only after loading the library, where possible. This is a hardening mechanism. If it is unavailable, the functionality of the code is not affected in any way. -fPIC instructs the compiler to produce position independent code. While this is preferable to relocatable code, relocatable code also works and may even be faster. Relocatable code might just be loaded into memory multiple times for different processes. -fPIE is the same thing as -fPIC for executables rather than shared libraries. Signed-off-by: Ulf Hermann <[email protected]>
* | Merge tag 'elfutils-0.170'Ulf Hermann2017-08-172-1/+15
|\| | | | | | | | | | | elfutils 0.170 release Change-Id: I37d03645902b9f0a9fb708af1551db8843537799
| * Prepare for 0.170.elfutils-0.170Mark Wielaard2017-08-022-1/+15
| | | | | | | | | | | | | | Set version to 0.170. Update po/*.po files. Add some more user visible changes to NEWS. Signed-off-by: Mark Wielaard <[email protected]>
* | 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-082-0/+9
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-052-0/+9
| | | | | | | | | | | | | | 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 <[email protected]>
* | Increase stack usage limit to 512kUlf Hermann2017-05-082-2/+6
| | | | | | | | | | | | | | On windows x86_64 we need more stack in some places. Change-Id: Ic56d3294388521786bf429a24e76f21fa6d626d7 Reviewed-by: Christian Kandeler <[email protected]>
* | Generalize msvc frontent .lib generationUlf Hermann2017-05-081-1/+8
| | | | | | | | | | | | | | | | We want to generate libraries for the same machine type we're builting the dlls for, not only for x86. Change-Id: I93525647c1ff87992ad69282875c8edaec0c31fe Reviewed-by: Christian Kandeler <[email protected]>
* | Generate .lib files on PE platformsUlf Hermann2017-05-021-0/+5
| | | | | | | | | | | | | | MSVC needs them to link against .dll files. Change-Id: Iaf15391d28e0cd3292903dda2cd74b8b99a94274 Reviewed-by: Christian Kandeler <[email protected]>
* | Check native binary formatUlf Hermann2017-05-022-0/+8
| | | | | | | | | | | | | | | | | | | | 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 <[email protected]>
* | Check for -z,defs, -z,relro, -fPIC, -fPIE before using themUlf Hermann2017-04-282-2/+6
| | | | | | | | | | | | | | | | | | 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 <[email protected]>
* | Add gnulib modules to replace missing libc functionalityUlf Hermann2017-04-272-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 <[email protected]>
* Prepare for elfutils 0.168 release.elfutils-0.168Mark Wielaard2016-12-272-2/+13
| | | | Signed-off-by: Mark Wielaard <[email protected]>
* http://elfutils.org/ is now hosted at http://sourceware.org/elfutils/Mark Wielaard2016-12-243-2/+7
| | | | | | | | | | | | | | | | | 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 <[email protected]>
* Add GCC7 -Wimplicit-fallthrough support/fixes.Mark Wielaard2016-11-102-1/+12
| | | | | | | | | | | 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 <[email protected]>
* Prepare 0.167 release.Mark Wielaard2016-08-042-1/+14
| | | | Signed-off-by: Mark Wielaard <[email protected]>
* Remove eu-ld and unused code.Mark Wielaard2016-08-032-2/+4
| | | | | | | | 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 <[email protected]>
* Prepare 0.166 release.elfutils-0.166Mark Wielaard2016-03-312-0/+8
| | | | Signed-off-by: Mark Wielaard <[email protected]>
* config: Check for and use gcc -Wnull-dereference.Mark Wielaard2016-02-222-0/+12
| | | | | | -Wnull-dereference is new in GCC6 Signed-off-by: Mark Wielaard <[email protected]>
* config: Check for and use gcc -Wlogical-op and -Wduplicated-cond.Mark Wielaard2016-02-152-1/+21
| | | | | | | | | 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 <[email protected]>
* Prepare 0.165 release.Mark Wielaard2016-01-082-7/+24
| | | | Signed-off-by: Mark Wielaard <[email protected]>
* config: Add libelf and libdw pkg-config files.Mark Wielaard2016-01-055-1/+53
| | | | Signed-off-by: Mark Wielaard <[email protected]>
* Prepare 0.164 release.Mark Wielaard2015-10-152-0/+18
| | | | Signed-off-by: Mark Wielaard <[email protected]>
* config: Use ARFLAGS 'cr'.Mark Wielaard2015-10-122-0/+8
| | | | | | | | | | | | | | | By default automake uses ARFLAGS cru. 'u' is an optimization that makes sure files are only added to the archive when they are newer than the version already in the .a file. This optimization doesn't work when ar is deterministic by default because then it doesn't record timestamps in the archive. Deterministic ar is the default now on various distributions causing multiple warnings like: ar: `u' modifier ignored since `D' is the default (see `U') To suppress these warnings drop the 'u' flag. Signed-off-by: Mark Wielaard <[email protected]>
* Trust AC_SYS_LARGEFILE to provide large file supportJosh Stone2015-10-092-0/+7
| | | | | | | | | | | | | | | AC_SYS_LARGEFILE defines _FILE_OFFSET_BITS in config.h if needed for LFS, and this automatically maps things like open to open64. But quite a few places used explicit 64-bit names, which won't work on platforms like FreeBSD where off_t is always 64-bit and there are no foo64 names. It's better to just trust that AC_SYS_LARGEFILE is doing it correctly. But we can verify this too, as some file could easily forget to include config.h. The new tests/run-lfs-symbols.sh checks all build targets against lfs-symbols (taken from lintian) to make sure everything was implicitly mapped to 64-bit variants when _FILE_OFFSET_BITS is set. Signed-off-by: Josh Stone <[email protected]>
* Improve AM_SILENT_RULES coverageJosh Stone2015-10-062-2/+6
| | | | | | | | | | | Note, elfutils does not explicitly enable AM_SILENT_RULES. It's only available starting from automake 1.11, but starting from automake 1.13 silent rules are always generated, defaulting to verbose. $(AM_V_foo) additions should be no-ops on systems that don't support silent rules. To be silent, use "./configure --enable-silent-rules" or "make V=0". Signed-off-by: Josh Stone <[email protected]>
* Use -fPIC instead of -fpic when generating PIC code.Jose E. Marchesi2015-10-062-2/+7
| | | | | | | 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 <[email protected]>
* Remove old-style function definitions.Mark Wielaard2015-09-232-0/+5
| | | | | | | We already require -std=gnu99 and old-style function definitions might hide some compiler warnings. Signed-off-by: Mark Wielaard <[email protected]>
* spec: Provide default-yama-scope.Mark Wielaard2015-08-044-2/+69
| | | | | | | | | | | | | | | | | | | | When yama is enabled in the kernel it might be used to filter any user space access which requires PTRACE_MODE_ATTACH like ptrace attach, access to /proc/PID/{mem,personality,stack,syscall}, and the syscalls process_vm_readv and process_vm_writev which are used for interprocess services, communication and introspection (like synchronisation, signaling, debugging, tracing and profiling) of processes. These are precisely the things that libdw dwfl and ebl backends rely on. So make sure they don't mysteriously fail in such cases by providing the default yama scope sysctl value. This is implemented as a separate subpackage that just provides this functionality so other packages that don't directly rely on elfutils-libs can also just Requires: default-yama-scope to function properly. https://bugzilla.redhat.com/show_bug.cgi?id=1209492#c69 Signed-off-by: Mark Wielaard <[email protected]>
* Prepare 0.163 release.elfutils-0.163Mark Wielaard2015-06-192-0/+7
| | | | Signed-off-by: Mark Wielaard <[email protected]>
* elfutils.spec.in (devel): Include known-dwarf.h and version.h.elfutils-0.162Mark Wielaard2015-06-112-0/+7
| | | | Signed-off-by: Mark Wielaard <[email protected]>
* Prepare 0.162 release.Mark Wielaard2015-06-102-0/+18
| | | | Signed-off-by: Mark Wielaard <[email protected]>
* configure: Add check for gcc -Wstack-usage.Mark Wielaard2015-06-102-1/+12
| | | | | | | Some older gcc versions don't support -Wstack-usage. Only use it when accepted by the compiler. Signed-off-by: Mark Wielaard <[email protected]>
* config: Add -Wstack-usage=262144 (256K) warning check.Mark Wielaard2015-05-272-0/+7
| | | | | | | | All library code now builds with this warning and -Werror enabled. Add exceptions for most of the src tools (ldgeneric, readelf, nm, size, strip, elflint, findtextrel, elfcmp objdump, ranlib, ar and unstrip). Signed-off-by: Mark Wielaard <[email protected]>
* Allow disabling symbol versioning at configure timeMax Filippov2015-04-232-2/+12
| | | | | | | | | | | | | Due to missing symbol versioning support in uClibc calls to versioned functions that internally call different version of themselves results in infinite recursion. Introduce macro SYMBOL_VERSIONING and use it instead of plain SHARED to decide whether symbol versioning is needed. Control this macro definition with new configure option --disable-symbol-versioning. Signed-off-by: Max Filippov <[email protected]> Signed-off-by: Mark Wielaard <[email protected]>
* Publish known-dwarf.hPetr Machata2015-03-312-11/+9
| | | | | | | | | | | | | - Make the macro names properly scoped (DWARF_ALL_KNOWN_* and DWARF_ONE_KNOWN_*). - Simplify the calling convention: don't keep track of the comment associated with the enumerator, always use the non-_DESC DWARF_ONE_KNOWN_* callback. - Install known-dwarf.h alongside libdw.h and others. Signed-off-by: Petr Machata <[email protected]>
* Drop two useless variables from known-dwarf.awkPetr Machata2015-02-242-9/+7
| | | | Signed-off-by: Petr Machata <[email protected]>
* Prepare 0.161 release.Mark Wielaard2014-12-182-0/+15
| | | | Signed-off-by: Mark Wielaard <[email protected]>