summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Use -fPIC instead of -fpic when generating PIC code.Jose E. Marchesi2015-10-062-1/+6
| | | | | | | 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-237-80/+38
| | | | | | | We already require -std=gnu99 and old-style function definitions might hide some compiler warnings. Signed-off-by: Mark Wielaard <[email protected]>
* Fix sanitize-undefined config check. Don't ALLOW_UNALIGNED when checking.Mark Wielaard2015-06-052-1/+6
| | | | | | | | | 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 <[email protected]>
* Allow disabling symbol versioning at configure timeMax Filippov2015-04-232-3/+7
| | | | | | | | | | | | | 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]>
* lib: Add missing config.h #include to crc32_file.c.Lei Zhang2014-01-172-0/+8
| | | | | | Without config.h, there is no possibility of large file support. Signed-off-by: Mark Wielaard <[email protected]>
* lib: Avoid the hash-lookup division if possibleJosh Stone2013-12-132-2/+7
| | | | | | | | | | | | | For Dwarf_Abbrev codes, the most common case is that they're packed at the low end, saving uleb128 encoding size. Since the hash table is always resized to be no more than 90% full, those codes are always less than the table size, and dividing for the remainder is unnecessary. Dwarf_Dies are frequently created anew, and need to find abbrev each time, so even that one division becomes a noticeable hotspot. This patch adds a branch to avoid it, which is very predictable for the CPU. Signed-off-by: Josh Stone <[email protected]>
* New macro COMPAT_VERSION_NEWPROTO.Jan Kratochvil2013-04-302-0/+10
| | | | | | | lib/ * eu-config.h (COMPAT_VERSION_NEWPROTO): New. Twice. Signed-off-by: Jan Kratochvil <[email protected]>
* Unify {BE,LE}{32,64} in lib/system.h.Jan Kratochvil2013-04-262-0/+9
| | | | | | | | | | | | lib/ * system.h (LE64, BE64): Move here the definitions from libdwfl/link_map.c. libdwfl/ * link_map.c (BE32, BE64, LE32, LE64): Delete the definitions, move them to lib/system.h. Signed-off-by: Jan Kratochvil <[email protected]>
* Updates for Automake 1.13.Mark Wielaard2013-04-262-1/+5
| | | | | | | 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.
* Handle partial read or write.Adam Markey2012-10-102-6/+61
| | | | | | | | | Ran into a situation where pread was returning less data than requested for remote files on a networked filesystem. This patch modifies the IO wrappers to request the remaining data as long as no real errors occured. Signed-off-by: Adam Markey <[email protected]> Signed-off-by: Mark Wielaard <[email protected]>
* lib/Jan Kratochvil2012-10-082-0/+11
| | | | | | | | | | system.h (eu_static_assert): New macro. libdw/ cfi.c: New include system.h. (execute_cfi) (enough_registers): Clear new memory after realloc. Signed-off-by: Jan Kratochvil <[email protected]>
* Update name, license and contributor policy.Mark Wielaard2012-06-0518-500/+342
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 <[email protected]> Signed-off-by: Mark Wielaard <[email protected]>
* Remove .mtn-ignore and .cvsignore files.Mark Wielaard2012-06-051-1/+0
| | | | We use .gitignore these days.
* Color code output of nm and objdumpUlrich Drepper2012-01-214-3/+272
|
* Add demangling support to nmUlrich Drepper2011-10-022-0/+9
|
* Clean up byte order handling in md5 and sha1 code.Roland McGrath2011-07-094-25/+54
|
* Handle reading .debug_types section.Roland McGrath2010-06-163-17/+28
|
* Clean up and consolidate automake magic to reduce duplication and to work ↵Roland McGrath2010-02-152-9/+8
| | | | with --disable-dependency-tracking.
* New macros for symbol versioning definitions, use them for libdw convenience ↵Roland McGrath2009-08-092-0/+21
| | | | wrappers just changed.
* Add multiple inclusion protection to eu-config.hRoland McGrath2009-01-232-0/+10
|
* Move argp_program_version_hook and argp_program_bug_address variablesUlrich Drepper2009-01-172-1/+18
| | | | in all programs into the .rodata section.
* Require __thread support in compiler.Ulrich Drepper2009-01-102-21/+9
| | | | Rename --enable-tls to more appropriate --enable-thread-safety.
* Fix up bogon and missing log entries from .pmachata.threads branch.Roland McGrath2008-08-253-1/+210
|
* Implement SHA1 build-id handling in ld.Ulrich Drepper2008-02-014-2/+488
|
* Add missing files.Ulrich Drepper2008-02-012-0/+553
|
* Implement --build-id command line parameter for ld.Ulrich Drepper2008-01-312-3/+8
|
* Fix FSF address. No exception for libdwarf.Ulrich Drepper2006-04-0412-12/+12
|
* Remove exception grant from lib/x*c files. Don't build xstrdup.Ulrich Drepper2006-04-045-70/+5
|
* propagate from branch 'com.redhat.elfutils.roland.pending' (head ↵Ulrich Drepper2006-04-0412-107/+511
| | | | | | 4f8fc821345feef58624f0aa5b470d4827577d8c) to branch 'com.redhat.elfutils' (head 76e26cb54695fd3b21ee8fb5be3036bd68200633)
* merge of 333c187506c852455e9f7be44fa9adc360416217Ulrich Drepper2005-08-292-0/+12
| | | | and 79955b942e3f0ddc71117feea5754df61edcc42a
* 2005-08-24 Roland McGrath <[email protected]>Roland McGrath2005-08-252-12/+0
| | | | | * line2addr.c (print_address): Omit () for DSOs.
* Fix more EINTR handling problems. Add jump prediction.Ulrich Drepper2005-08-292-0/+12
|
* Implement --enable-gprof option in configure script.Ulrich Drepper2005-08-072-0/+6
|
* Adjust for monotone.Ulrich Drepper2005-07-2614-0/+1203