summaryrefslogtreecommitdiff
path: root/libcpu/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* Implement RISC-V disassemblerUlrich Drepper2019-09-061-1/+1
|
* Add PIC and non-PIC variants of libcpu and libeblOmar Sandoval2019-08-281-5/+13
| | | | | | | | | Currently, libcpu and libebl are always compiled as PIC. An upcoming change will add the objects from libcpu.a and libebl.a to libdw.a, which should not be PIC unless configured that way. So, make libcpu.a and libebl.a non-PIC and add libcpu_pic.a and libebl_pic.a. Signed-off-by: Omar Sandoval <osandov@fb.com>
* libcpu: merge libcpu_{i386,x86_64,bpf} into one libraryOmar Sandoval2019-08-281-7/+5
| | | | | | | In preparation for combining the libebl backend modules, combine all of the libcpu backends into libcpu.a. Signed-off-by: Omar Sandoval <osandov@fb.com>
* Check for -z,defs, -z,relro, -fPIC, -fPIE before using themUlf Hermann2017-08-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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 <ulf.hermann@qt.io>
* backends: Don't depend on linux/bpf.h to compile bpf disassembler.Mark Wielaard2017-07-241-2/+0
| | | | | | | | | We only need a few constants and one structure definition from linux/bpf. Just define those in a local lib/bpf.h file. This makes sure the bpf disassembler is always build and included even when elfutils is build on older GNU/Linux systems (and even on other platforms). Signed-off-by: Mark Wielaard <mark@klomp.org>
* Add EXEEXT to gendisUlf Hermann2017-04-261-3/+3
| | | | | | | Otherwise the build will fail on systems that actually need file extension for executables. Signed-off-by: Ulf Hermann <ulf.hermann@qt.io>
* Add support for BPFRichard Henderson2016-06-281-0/+6
| | | | Signed-off-by: Richard Henderson <rth@redhat.com>
* Improve AM_SILENT_RULES coverageJosh Stone2015-10-061-5/+5
| | | | | | | | | | | 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 <jistone@redhat.com>
* Use -fPIC instead of -fpic when generating PIC code.Jose E. Marchesi2015-10-061-1/+1
| | | | | | | 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>
* Remove mudflap build option.Mark Wielaard2014-04-181-1/+1
| | | | | | | | | 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>
* Updates for Automake 1.13.Mark Wielaard2013-04-261-1/+1
| | | | | | | 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.
* Robustify makefile redirection use.Roland McGrath2012-10-101-2/+4
|
* Add a rule to make build failure w/o --enable-maintainer-mode clearer.Roland McGrath2012-06-261-1/+8
|
* Update name, license and contributor policy.Mark Wielaard2012-06-051-16/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* libcpu Makefile.am, move %_dis.h from CLEANFILES to MAINTAINERCLEANFILES.Mark Wielaard2012-02-241-1/+2
|
* Include *_dis.h headers in dist; generate them only for ↵Roland McGrath2011-10-161-9/+12
| | | | --enable-maintainer-mode.
* Clean up libcpu makefile rules for better error detection.Roland McGrath2010-08-161-9/+9
|
* Clean up and consolidate automake magic to reduce duplication and to work ↵Roland McGrath2010-02-151-18/+6
| | | | with --disable-dependency-tracking.
* Nominal ARM support.Roland McGrath2009-04-151-0/+1
|
* Use quotes around command substitution that can produce leading whitespace.Roland McGrath2009-01-231-2/+2
|
* merge of '33d6cda327b8cb82fe8be29c24addb2bdf40acff'Ulrich Drepper2008-01-221-2/+4
| | | | and '4f7c8e6f95ff49761dd62bf932f09597f5838ab8'
* Update copyright year.Ulrich Drepper2008-01-211-4/+2
|
* explicit merge of 'f9dc98cac1b8ccd38e7420c43dfe7551e2923aaa'elfutils-0.132Roland McGrath2008-01-221-1/+3
| | | | and '90e87946af64cdaa0fc75d344ca35ee2729e655d'
* 2008-01-21 Roland McGrath <roland@redhat.com>Roland McGrath2008-01-211-1/+1
| | | | | | * i386_parse.y: Add sanity check for NMNES macro value. * Makefile.am (i386_parse.o): Fix target in dependency rule.
* Don't try to distribute non-existing file.Ulrich Drepper2008-01-211-1/+1
|
* Add x86-64 disassembler support.Ulrich Drepper2008-01-091-9/+7
|
* Cleanup after .disasm branch merge.Ulrich Drepper2008-01-021-2/+5
|
* propagate from branch 'com.redhat.elfutils.disasm' (head ↵Ulrich Drepper2008-01-021-5/+52
| | | | | | d15b4eb794e81e477f9896fe82a74cb5ecf4514c) to branch 'com.redhat.elfutils' (head eaacbf01f8cc89d043ec6eca9b5e35cb5c4cde06)
* Fix FSF address. No exception for libdwarf.Ulrich Drepper2006-04-041-1/+1
|
* propagate from branch 'com.redhat.elfutils.roland.pending' (head ↵Ulrich Drepper2006-04-041-8/+20
| | | | | | 4f8fc821345feef58624f0aa5b470d4827577d8c) to branch 'com.redhat.elfutils' (head 76e26cb54695fd3b21ee8fb5be3036bd68200633)
* Adjust for monotone.Ulrich Drepper2005-07-261-0/+21