mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-10-20 14:02:43 +02:00
Compare commits
7 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
f984a7006b | ||
![]() |
326a3a7619 | ||
![]() |
e4aff3d9fc | ||
![]() |
c3feeb0092 | ||
![]() |
80c3954e3c | ||
![]() |
4c3e03efeb | ||
![]() |
9b30dae909 |
7
Makefile
7
Makefile
@@ -1,7 +1,7 @@
|
|||||||
LIB_NAME := libbsd
|
LIB_NAME := libbsd
|
||||||
LIB_VERSION_MAJOR := 0
|
LIB_VERSION_MAJOR := 0
|
||||||
LIB_VERSION_MINOR := 1
|
LIB_VERSION_MINOR := 1
|
||||||
LIB_VERSION_MICRO := 1
|
LIB_VERSION_MICRO := 2
|
||||||
LIB_VERSION := $(LIB_VERSION_MAJOR).$(LIB_VERSION_MINOR).$(LIB_VERSION_MICRO)
|
LIB_VERSION := $(LIB_VERSION_MAJOR).$(LIB_VERSION_MINOR).$(LIB_VERSION_MICRO)
|
||||||
|
|
||||||
LIB_PKGCONFIG := $(LIB_NAME).pc
|
LIB_PKGCONFIG := $(LIB_NAME).pc
|
||||||
@@ -60,11 +60,16 @@ LIB_INCLUDES := \
|
|||||||
|
|
||||||
LIB_MANS := \
|
LIB_MANS := \
|
||||||
arc4random.3 \
|
arc4random.3 \
|
||||||
|
arc4random_addrandom.3 \
|
||||||
|
arc4random_stir.3 \
|
||||||
strlcpy.3 \
|
strlcpy.3 \
|
||||||
|
strlcat.3 \
|
||||||
fgetln.3 \
|
fgetln.3 \
|
||||||
|
humanize_number.3 \
|
||||||
fmtcheck.3 \
|
fmtcheck.3 \
|
||||||
nlist.3 \
|
nlist.3 \
|
||||||
setmode.3 \
|
setmode.3 \
|
||||||
|
getmode.3 \
|
||||||
strmode.3 \
|
strmode.3 \
|
||||||
md5.3bsd
|
md5.3bsd
|
||||||
LIB_MANS := $(patsubst %,man/%,$(LIB_MANS))
|
LIB_MANS := $(patsubst %,man/%,$(LIB_MANS))
|
||||||
|
@@ -28,7 +28,7 @@
|
|||||||
#define LIBBSD_NLIST_H
|
#define LIBBSD_NLIST_H
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
#include <sys/a.out.h>
|
#include <a.out.h>
|
||||||
|
|
||||||
__BEGIN_DECLS
|
__BEGIN_DECLS
|
||||||
extern int nlist(const char *filename, struct nlist *list);
|
extern int nlist(const char *filename, struct nlist *list);
|
||||||
|
1
man/.gitignore
vendored
1
man/.gitignore
vendored
@@ -1 +1,2 @@
|
|||||||
md5.3
|
md5.3
|
||||||
|
md5.3bsd
|
||||||
|
1
man/arc4random_addrandom.3
Normal file
1
man/arc4random_addrandom.3
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.so man3/arc4random.3
|
1
man/arc4random_stir.3
Normal file
1
man/arc4random_stir.3
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.so man3/arc4random.3
|
1
man/getmode.3
Normal file
1
man/getmode.3
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.so man3/setmode.3
|
1
man/strlcat.3
Normal file
1
man/strlcat.3
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.so man3/strlcpy.3
|
@@ -124,13 +124,13 @@
|
|||||||
|
|
||||||
#define ELF_TARG_MACH EM_PPC
|
#define ELF_TARG_MACH EM_PPC
|
||||||
#define ELF_TARG_CLASS ELFCLASS32
|
#define ELF_TARG_CLASS ELFCLASS32
|
||||||
#define ELF_TARG_DATA ELFDATA2MSG
|
#define ELF_TARG_DATA ELFDATA2MSB
|
||||||
|
|
||||||
#elif defined(__powerpc64__)
|
#elif defined(__powerpc64__)
|
||||||
|
|
||||||
#define ELF_TARG_MACH EM_PPC64
|
#define ELF_TARG_MACH EM_PPC64
|
||||||
#define ELF_TARG_CLASS ELFCLASS64
|
#define ELF_TARG_CLASS ELFCLASS64
|
||||||
#define ELF_TARG_DATA ELFDATA2MSG
|
#define ELF_TARG_DATA ELFDATA2MSB
|
||||||
|
|
||||||
#elif defined(__sparc__)
|
#elif defined(__sparc__)
|
||||||
|
|
||||||
@@ -163,7 +163,7 @@
|
|||||||
#else
|
#else
|
||||||
#define ELF_TARG_CLASS ELFCLASS32
|
#define ELF_TARG_CLASS ELFCLASS32
|
||||||
#endif
|
#endif
|
||||||
#define ELF_TARG_DATA ELFDATA2MSG
|
#define ELF_TARG_DATA ELFDATA2MSB
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
@@ -155,7 +155,7 @@ __aout_fdnlist(fd, list)
|
|||||||
}
|
}
|
||||||
|
|
||||||
symoff = N_SYMOFF(*exec);
|
symoff = N_SYMOFF(*exec);
|
||||||
symsize = exec->a_syms;
|
symsize = N_SYMSIZE(*exec);
|
||||||
stroff = symoff + symsize;
|
stroff = symoff + symsize;
|
||||||
|
|
||||||
/* find the string table in our mmapped area */
|
/* find the string table in our mmapped area */
|
||||||
|
Reference in New Issue
Block a user