summaryrefslogtreecommitdiffstats
path: root/libgnu
Commit message (Collapse)AuthorAgeFilesLines
* Add a fake mremap() to our mman.h/cUlf Hermann2019-01-182-0/+12
| | | | | | | | mremap() is allowed to fail if it cannot find the required memory. Ours always fails. Change-Id: I5a0e9afe94158fbc5f66cc7f65fd716ccc002b3d Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Update gnulib modules, replacing canonicalize with canonicalize-lgplUlf Hermann2018-07-20233-4995/+4330
| | | | | | | | We need realpath() now, as upstream has changed to use that. Updating single gnulib modules is not really possible, so we update everything. Change-Id: I32943a1c8af7c1ecce625dca173a942cc58d9c38 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Add our own tdestroy if search.h exposes a node_t structUlf Hermann2017-05-043-1/+57
| | | | | | | | | | | 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-043-1/+65
| | | | | | | 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>
* Wrap fts_.h in fts.hUlf Hermann2017-05-032-1/+42
| | | | | Change-Id: I87cc19052ded7b9ec1a3347faa05709318cc9a74 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Add a stdio_ext.h that defines __fsetlocking awayUlf Hermann2017-05-032-1/+44
| | | | | Change-Id: I240348b865faab638adad078e44d9fcdf3ca02c9 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Add fake features.h for win32Ulf Hermann2017-05-032-1/+43
| | | | | | | | gnulib #defines all the types we need from it, so it is empty. We still need it because other files #include it. Change-Id: I0bb4ee71bcb3e983b41f640c12ef5b9f09b6b03c Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Add ar.h for systems where it doesn't existUlf Hermann2017-05-032-1/+67
| | | | | Change-Id: I98b8fa2e278dca673f52dc2bd5a50144a694582f Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Add sysconf replacement for win32Ulf Hermann2017-05-032-1/+49
| | | | | Change-Id: Ib99482a2aed2a27920824ee308a7cdd05f678080 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Add mman.h/.c for win32Ulf Hermann2017-05-033-1/+219
| | | | | Change-Id: If9f591124799c680c8606772a9b733314eb19b41 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Add endian.h and byteswap.hUlf Hermann2017-05-033-1/+129
| | | | | Change-Id: I181783e53dba01b00ea53965a325823fb3d58abf Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Check for -z,defs, -z,relro, -fPIC, -fPIE before using themUlf Hermann2017-04-281-1/+1
| | | | | | | | | 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>
* Add gnulib modules to replace missing libc functionalityUlf Hermann2017-04-27235-0/+50732
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>