mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-01-09 03:08:38 +01:00
f6ed7c278b
uClibc defines EM_OR1K instead of EM_OPENRISC for the OpenRISC ELF e_machine ID. Use EM_OR1K when EM_OPENRISC is not defined. This fixes the following build failure: In file included from nlist.c:44:0: nlist.c: In function ‘__elf_is_okay__’: local-elf.h:224:23: error: ‘EM_OPENRISC’ undeclared (first use in this function) #define ELF_TARG_MACH EM_OPENRISC ^ nlist.c:77:26: note: in expansion of macro ‘ELF_TARG_MACH’ if (ehdr->e_machine == ELF_TARG_MACH && ^ Signed-off-by: Guillem Jover <guillem@hadrons.org> |
||
---|---|---|
include | ||
man | ||
src | ||
test | ||
.gitignore | ||
autogen | ||
configure.ac | ||
COPYING | ||
get-version | ||
Makefile.am | ||
README | ||
TODO |
libbsd - Utility functions from BSD systems This library provides useful functions commonly found on BSD systems, and lacking on others like GNU systems, thus making it easier to port projects with strong BSD origins, without needing to embed the same code over and over again on each project. Releases -------- <https://libbsd.freedesktop.org/releases/> Mailing List ------------ The subscription interface and web archives can be found at: <https://lists.freedesktop.org/mailman/listinfo/libbsd> The mail address is: libbsd@lists.freedesktop.org Source Repository ----------------- The master repository can be browsed at: <https://cgit.freedesktop.org/libbsd> and cloned from: <https://anongit.freedesktop.org/git/libbsd>