8 Commits

Author SHA1 Message Date
Chris Webb
734f286f14 Merge from upstream libelf 0.186 v0.186 2021-11-11 13:05:35 +00:00
Chris Webb
3672f9827c Update upstream files from elfutils 0.186 2021-11-11 12:55:28 +00:00
Chris Webb
b269813932 Add README v0.185 2021-09-02 15:22:27 +01:00
Chris Webb
dccbf5029d Add Makefile and config.h
The Makefile supports the usual DESTDIR and PREFIX to control the install
paths, as well as specific INCDIR and LIBDIR variables. The shared library
is built with a soname and minor version to match the upstream release.

Our config.h should provide sensible definitions to build and install on
either musl or glibc, and using either clang or gcc. It might need manual
adjustment on very old or non-Linux systems.
2021-09-02 13:57:08 +01:00
Chris Webb
309dea67e3 Fix relative paths for crc32.c and next_prime.c 2021-09-02 13:37:28 +01:00
Chris Webb
cacb5b5ad7 Remove unused include of <error.h> from system.h 2021-09-02 13:37:01 +01:00
Chris Webb
fcb84b0826 Remove unused include of <sys/cdefs.h> from fixedsizehash.h 2021-09-02 13:36:02 +01:00
Chris Webb
54d6879886 Import upstream files from elfutils 0.185
COPYING-GPLV2 and COPYING-LGPLV3 are imported into the project root.

All of libelf/*.[ch], lib/crc32.c, lib/eu-config.h, lib/fixedsizehash.h,
lib/next_prime.c and lib/system.h are imported into src/, except for
libelf/gelf.h, libelf/libelf.h and libelf/nlist.h which are imported into
include/ as publicly exported header files.
2021-09-02 13:27:57 +01:00