Index of /archives/NetBSD/NetBSD-release-9/src/external/gpl3/binutils/dist/libiberty
Name Last modified Size Description
Parent Directory -
xvasprintf.c 2018-04-15 07:18 1.8K
xstrndup.c 2018-04-15 07:18 1.6K
xstrerror.c 2009-08-18 19:16 2.0K
xstrdup.c 2011-09-25 07:18 720
xmemdup.c 2016-10-27 02:30 1.0K
xmalloc.c 2018-04-15 07:18 4.6K
xexit.c 2018-04-15 07:18 1.5K
xatexit.c 2009-08-18 19:16 2.1K
xasprintf.c 2018-04-15 07:18 1.4K
waitpid.c 2018-04-15 07:18 868
vsprintf.c 2018-04-15 07:18 1.8K
vsnprintf.c 2018-04-15 07:18 4.1K
vprintf.c 2013-09-29 22:46 856
vprintf-support.h 2018-04-15 07:18 1.0K
vprintf-support.c 2018-04-15 07:18 2.9K
vfprintf.c 2018-04-15 07:18 348
vfork.c 2009-08-18 19:16 346
vasprintf.c 2018-04-15 07:18 3.3K
unlink-if-ordinary.c 2018-04-15 07:18 2.0K
tmpnam.c 2009-08-18 19:16 1.0K
timeval-utils.c 2018-04-15 07:18 2.2K
strverscmp.c 2018-04-15 07:18 5.2K
strtoull.c 2016-01-29 21:45 3.4K
strtoul.c 2009-08-18 19:16 3.2K
strtoll.c 2016-01-29 21:45 5.5K
strtol.c 2013-09-29 22:46 5.3K
strtod.c 2018-04-15 07:18 3.4K
strstr.c 2009-08-18 19:16 1.0K
strsignal.c 2009-08-18 19:16 15K
strrchr.c 2009-08-18 19:16 548
strnlen.c 2016-01-29 21:45 585
strndup.c 2018-04-15 07:18 1.6K
strncmp.c 2013-09-29 22:46 638
strncasecmp.c 2009-08-18 19:16 3.4K
strerror.c 2016-01-29 23:42 21K
strdup.c 2009-08-18 19:16 562
strchr.c 2009-08-18 19:16 528
strcasecmp.c 2009-08-18 19:16 4.2K
stpncpy.c 2018-04-15 07:18 1.5K
stpcpy.c 2018-04-15 07:18 1.3K
stack-limit.c 2018-04-15 07:18 2.0K
splay-tree.c 2018-11-07 06:18 15K
spaces.c 2018-04-15 07:18 1.8K
sort.c 2018-04-15 07:18 4.8K
snprintf.c 2018-04-15 07:18 2.2K
simple-object.txh 2013-09-29 22:46 7.5K
simple-object.c 2018-11-07 06:18 13K
simple-object-xcoff.c 2018-11-07 06:18 30K
simple-object-mach-o.c 2018-04-15 07:18 40K
simple-object-elf.c 2018-11-07 06:18 48K
simple-object-common.h 2018-11-07 06:18 10K
simple-object-coff.c 2018-04-15 07:18 23K
sigsetmask.c 2016-01-29 21:45 902
sha1.c 2018-04-15 07:18 12K
setproctitle.c 2018-04-15 07:18 1.4K
setenv.c 2018-04-15 07:18 4.4K
safe-ctype.c 2018-04-15 07:18 10K
rust-demangle.c 2018-04-15 07:18 9.8K
rindex.c 2009-08-18 19:16 460
rename.c 2009-08-18 19:16 633
regex.c 2018-04-15 07:18 253K
random.c 2013-09-29 22:46 14K
putenv.c 2018-04-15 07:18 2.1K
physmem.c 2018-04-15 07:18 7.1K
pexecute.txh 2013-09-29 22:46 12K
pexecute.c 2018-04-15 07:18 3.2K
pex-win32.c 2018-04-15 07:18 26K
pex-unix.c 2018-04-15 07:18 20K
pex-one.c 2018-04-15 07:18 1.4K
pex-msdos.c 2018-04-15 07:18 7.2K
pex-djgpp.c 2018-04-15 07:18 6.7K
pex-common.h 2018-04-15 07:18 6.0K
pex-common.c 2018-04-15 07:18 15K
partition.c 2018-04-15 07:18 4.8K
obstacks.texi 2016-01-29 21:45 31K
obstack.c 2018-04-15 07:18 13K
objalloc.c 2018-04-16 05:06 7.2K
msdos.c 2009-08-18 19:16 177
mkstemps.c 2018-04-15 07:18 3.7K
memset.c 2013-09-29 22:46 500
mempcpy.c 2018-04-15 07:18 1.3K
memmove.c 2013-09-29 22:46 533
memmem.c 2018-04-15 07:18 2.1K
memcpy.c 2013-09-29 22:46 502
memcmp.c 2013-09-29 22:46 876
memchr.c 2013-09-29 22:46 815
md5.c 2018-11-07 06:18 14K
makefile.vms 2016-01-29 21:45 1.0K
make-temp-file.c 2018-04-16 05:06 5.5K
make-relative-prefix.c 2018-04-15 07:18 11K
maint-tool 2018-04-15 07:18 6.5K
lrealpath.c 2018-04-15 07:18 4.7K
libiberty.texi 2018-04-15 07:18 11K
lbasename.c 2018-04-15 07:18 2.3K
insque.c 2013-09-29 22:46 1.1K
index.c 2009-08-18 19:16 448
hex.c 2018-04-15 07:18 6.8K
hashtab.c 2018-04-15 07:18 29K
gettimeofday.c 2009-08-18 19:16 543
getruntime.c 2018-04-15 07:18 3.0K
getpwd.c 2009-08-18 19:16 2.5K
getpagesize.c 2009-08-18 19:16 2.0K
getopt1.c 2018-04-15 07:18 4.3K
getopt.c 2018-04-15 07:18 29K
getcwd.c 2009-08-18 19:16 1.2K
gather-docs 2018-04-15 07:18 3.3K
functions.texi 2016-10-27 02:30 73K
fopen_unlocked.c 2018-04-15 07:18 3.4K
fnmatch.txh 2013-09-29 22:46 1.9K
fnmatch.c 2018-04-15 07:18 5.3K
floatformat.c 2018-04-16 05:06 22K
filename_cmp.c 2018-04-15 07:18 5.3K
fibheap.c 2018-04-15 07:18 11K
ffs.c 2009-08-18 19:16 465
fdmatch.c 2018-04-15 07:18 2.1K
dyn-string.c 2018-04-15 07:18 11K
dwarfnames.c 2018-04-15 07:18 3.4K
d-demangle.c 2018-04-15 07:18 38K
crc32.c 2018-04-15 07:18 6.4K
cplus-dem.c 2018-04-15 07:18 124K
cp-demint.c 2018-04-15 07:18 7.0K
cp-demangle.h 2018-04-15 07:18 5.7K
cp-demangle.c 2018-11-07 06:18 176K
copysign.c 2009-08-18 19:16 2.6K
copying-lib.texi 2018-04-15 07:18 26K
configure.com 2011-09-25 07:18 1.1K
configure.ac 2018-11-07 10:13 21K
configure 2018-11-07 10:13 239K
config/ 2024-02-15 03:47 -
config.in 2018-11-07 06:18 15K
config.h-vms 2011-09-25 07:18 309
concat.c 2018-04-15 07:18 4.9K
clock.c 2018-04-15 07:18 2.6K
choose-temp.c 2018-04-15 07:18 2.0K
calloc.c 2009-08-18 19:16 714
bzero.c 2009-08-18 19:16 435
bsearch.c 2013-09-29 22:46 3.7K
bcopy.c 2009-08-18 19:16 694
bcmp.c 2009-08-18 19:16 643
basename.c 2009-08-18 19:16 1.3K
atexit.c 2009-08-18 19:16 488
at-file.texi 2009-08-18 19:16 732
asprintf.c 2018-04-15 07:18 1.8K
argv.c 2018-11-07 06:18 14K
alloca.c 2009-08-18 19:16 14K
aclocal.m4 2013-09-29 22:46 4.7K
_doprnt.c 2018-04-15 07:18 7.3K
README 2011-09-25 07:18 2.9K
Makefile.in 2018-04-16 05:06 65K
ChangeLog.jit 2016-01-29 21:45 794
ChangeLog 2018-11-07 06:18 335K
CVS/ 2025-02-01 12:13 -
COPYING.LIB 2009-08-18 19:16 26K
.gitignore 2013-09-29 22:46 29
This directory contains the -liberty library of free software.
It is a collection of subroutines used by various GNU programs.
Current members include:
getopt -- get options from command line
obstack -- stacks of arbitrarily-sized objects
strerror -- error message strings corresponding to errno
strtol -- string-to-long conversion
strtoul -- string-to-unsigned-long conversion
We expect many of the GNU subroutines that are floating around to
eventually arrive here.
The library must be configured from the top source directory. Don't
try to run configure in this directory. Follow the configuration
instructions in ../README.
Please report bugs to "[email protected]" and send fixes to
"[email protected]". Thank you.
ADDING A NEW FILE
=================
There are two sets of files: Those that are "required" will be
included in the library for all configurations, while those
that are "optional" will be included in the library only if "needed."
To add a new required file, edit Makefile.in to add the source file
name to CFILES and the object file to REQUIRED_OFILES.
To add a new optional file, it must provide a single function, and the
name of the function must be the same as the name of the file.
* Add the source file name to CFILES in Makefile.in and the object
file to CONFIGURED_OFILES.
* Add the function to name to the funcs shell variable in
configure.ac.
* Add the function to the AC_CHECK_FUNCS lists just after the
setting of the funcs shell variable. These AC_CHECK_FUNCS calls
are never executed; they are there to make autoheader work
better.
* Consider the special cases of building libiberty; as of this
writing, the special cases are newlib and VxWorks. If a
particular special case provides the function, you do not need
to do anything. If it does not provide the function, add the
object file to LIBOBJS, and add the function name to the case
controlling whether to define HAVE_func.
Finally, in the build directory of libiberty, configure with
"--enable-maintainer-mode", run "make maint-deps" to update
Makefile.in, and run 'make stamp-functions' to regenerate
functions.texi.
The optional file you've added (e.g. getcwd.c) should compile and work
on all hosts where it is needed. It does not have to work or even
compile on hosts where it is not needed.
ADDING A NEW CONFIGURATION
==========================
On most hosts you should be able to use the scheme for automatically
figuring out which files are needed. In that case, you probably
don't need a special Makefile stub for that configuration.
If the fully automatic scheme doesn't work, you may be able to get
by with defining EXTRA_OFILES in your Makefile stub. This is
a list of object file names that should be treated as required
for this configuration - they will be included in libiberty.a,
regardless of whatever might be in the C library.