summaryrefslogtreecommitdiffstats
path: root/lib/eu-config.h
Commit message (Collapse)AuthorAgeFilesLines
* Open files in O_BINARYUlf Hermann2017-05-081-0/+4
| | | | | | | | | If O_BINARY is not defined, define it to 0, so that the change has no effect then. Some systems have separate binary and text modes for files, and we don't want the text mode to be used. Change-Id: If7efb5bd448c2a1c7d1eb5dab276849b1b15a3ce Reviewed-by: Christian Kandeler <[email protected]>
* Define unlocked io functions to locked ones if they are unavailableUlf Hermann2017-05-041-0/+28
| | | | | | | The locked IO functions will still do the job, albeit a bit slower. Change-Id: I65c2b6aaa00374302aff3bcf4852a252e1eefd17 Reviewed-by: Christian Kandeler <[email protected]>
* If f(un)lockfile is unavailable define it awayUlf Hermann2017-05-031-0/+7
| | | | | | | | | Sometimes _POSIX_THREAD_SAFE_FUNCTIONS is still set in this case, which in turn leads to build problems in getopt.c (which would define the functions to nop anyway if it knew they aren't present). Change-Id: I76debd27f1d1ed968cc663db4b60adb5f0052d4b Reviewed-by: Christian Kandeler <[email protected]>
* Make sure packed structs follow the gcc memory layoutUlf Hermann2017-05-021-0/+8
| | | | | | | | On windows gcc by default generates code that follows the MSVC layout. We don't want that as it adds extra padding. Change-Id: I92efe5da2a2ad818783707ee96a9b8e0eb606dbd Reviewed-by: Christian Kandeler <[email protected]>
* Check if gcc complains about __attribute__ (visibility(..))Ulf Hermann2017-04-281-0/+4
| | | | | | | | 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 <[email protected]>
* Fix sanitize-undefined config check. Don't ALLOW_UNALIGNED when checking.Mark Wielaard2015-06-051-1/+2
| | | | | | | | | 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-231-3/+3
| | | | | | | | | | | | | 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]>
* New macro COMPAT_VERSION_NEWPROTO.Jan Kratochvil2013-04-301-0/+6
| | | | | | | lib/ * eu-config.h (COMPAT_VERSION_NEWPROTO): New. Twice. Signed-off-by: Jan Kratochvil <[email protected]>
* Update name, license and contributor policy.Mark Wielaard2012-06-051-39/+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 <[email protected]> Signed-off-by: Mark Wielaard <[email protected]>
* New macros for symbol versioning definitions, use them for libdw convenience ↵Roland McGrath2009-08-091-0/+17
| | | | wrappers just changed.
* Add multiple inclusion protection to eu-config.hRoland McGrath2009-01-231-0/+6
|
* Require __thread support in compiler.Ulrich Drepper2009-01-101-21/+3
| | | | Rename --enable-tls to more appropriate --enable-thread-safety.
* Fix up bogon and missing log entries from .pmachata.threads branch.Roland McGrath2008-08-251-0/+198