Go to file
Baruch Siach f6ed7c278b Fix build for openrisc with uClibc
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>
2018-04-04 02:29:15 +02:00
include Fix function declaration protection for glibc already providing them 2018-03-13 02:28:53 +01:00
man Handle several functions now being provided by glibc 2017-12-03 16:43:28 +01:00
src Fix build for openrisc with uClibc 2018-04-04 02:29:15 +02:00
test test: Fix nlist(3) unit test on IA64 2018-01-13 16:17:28 +01:00
.gitignore build: Set subdir-objects automake option 2013-10-21 05:33:08 +02:00
autogen build: Switch to autotools 2012-05-29 04:35:55 +02:00
configure.ac Release libbsd 0.8.7 2018-01-13 16:20:35 +01:00
COPYING Import <sys/time.h> for some of its macros 2017-06-19 03:17:21 +02:00
get-version build: Switch to autotools 2012-05-29 04:35:55 +02:00
Makefile.am build: Make git log invocation immune to local configuration 2015-11-30 23:02:23 +01:00
README Switch URLs from http or git to https 2016-02-13 08:46:35 +01:00
TODO Update TODO 2017-06-18 23:37:01 +02:00

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>