Index of /archives/NetBSD/NetBSD-release-9/src/external/gpl3/binutils/dist/libiberty
Name Last modified Size Description
Parent Directory -
COPYING.LIB 2009-08-18 19:16 26K
alloca.c 2009-08-18 19:16 14K
at-file.texi 2009-08-18 19:16 732
atexit.c 2009-08-18 19:16 488
basename.c 2009-08-18 19:16 1.3K
bcmp.c 2009-08-18 19:16 643
bcopy.c 2009-08-18 19:16 694
bzero.c 2009-08-18 19:16 435
calloc.c 2009-08-18 19:16 714
copysign.c 2009-08-18 19:16 2.6K
ffs.c 2009-08-18 19:16 465
getcwd.c 2009-08-18 19:16 1.2K
getpagesize.c 2009-08-18 19:16 2.0K
getpwd.c 2009-08-18 19:16 2.5K
gettimeofday.c 2009-08-18 19:16 543
index.c 2009-08-18 19:16 448
msdos.c 2009-08-18 19:16 177
rename.c 2009-08-18 19:16 633
rindex.c 2009-08-18 19:16 460
strcasecmp.c 2009-08-18 19:16 4.2K
strchr.c 2009-08-18 19:16 528
strdup.c 2009-08-18 19:16 562
strncasecmp.c 2009-08-18 19:16 3.4K
strrchr.c 2009-08-18 19:16 548
strsignal.c 2009-08-18 19:16 15K
strstr.c 2009-08-18 19:16 1.0K
strtoul.c 2009-08-18 19:16 3.2K
tmpnam.c 2009-08-18 19:16 1.0K
vfork.c 2009-08-18 19:16 346
xatexit.c 2009-08-18 19:16 2.1K
xstrerror.c 2009-08-18 19:16 2.0K
xstrdup.c 2011-09-25 07:18 720
README 2011-09-25 07:18 2.9K
configure.com 2011-09-25 07:18 1.1K
config.h-vms 2011-09-25 07:18 309
.gitignore 2013-09-29 22:46 29
aclocal.m4 2013-09-29 22:46 4.7K
bsearch.c 2013-09-29 22:46 3.7K
fnmatch.txh 2013-09-29 22:46 1.9K
insque.c 2013-09-29 22:46 1.1K
memchr.c 2013-09-29 22:46 815
memcmp.c 2013-09-29 22:46 876
memcpy.c 2013-09-29 22:46 502
memmove.c 2013-09-29 22:46 533
memset.c 2013-09-29 22:46 500
pexecute.txh 2013-09-29 22:46 12K
random.c 2013-09-29 22:46 14K
simple-object.txh 2013-09-29 22:46 7.5K
strncmp.c 2013-09-29 22:46 638
strtol.c 2013-09-29 22:46 5.3K
vprintf.c 2013-09-29 22:46 856
ChangeLog.jit 2016-01-29 21:45 794
makefile.vms 2016-01-29 21:45 1.0K
obstacks.texi 2016-01-29 21:45 31K
sigsetmask.c 2016-01-29 21:45 902
strnlen.c 2016-01-29 21:45 585
strtoll.c 2016-01-29 21:45 5.5K
strtoull.c 2016-01-29 21:45 3.4K
strerror.c 2016-01-29 23:42 21K
functions.texi 2016-10-27 02:30 73K
xmemdup.c 2016-10-27 02:30 1.0K
asprintf.c 2018-04-15 07:18 1.8K
choose-temp.c 2018-04-15 07:18 2.0K
cplus-dem.c 2018-04-15 07:18 124K
crc32.c 2018-04-15 07:18 6.4K
dwarfnames.c 2018-04-15 07:18 3.4K
dyn-string.c 2018-04-15 07:18 11K
gather-docs 2018-04-15 07:18 3.3K
hex.c 2018-04-15 07:18 6.8K
maint-tool 2018-04-15 07:18 6.5K
mkstemps.c 2018-04-15 07:18 3.7K
partition.c 2018-04-15 07:18 4.8K
pex-djgpp.c 2018-04-15 07:18 6.7K
pex-msdos.c 2018-04-15 07:18 7.2K
pex-unix.c 2018-04-15 07:18 20K
rust-demangle.c 2018-04-15 07:18 9.8K
safe-ctype.c 2018-04-15 07:18 10K
setproctitle.c 2018-04-15 07:18 1.4K
simple-object-mach-o.c 2018-04-15 07:18 40K
spaces.c 2018-04-15 07:18 1.8K
stack-limit.c 2018-04-15 07:18 2.0K
stpcpy.c 2018-04-15 07:18 1.3K
strtod.c 2018-04-15 07:18 3.4K
strverscmp.c 2018-04-15 07:18 5.2K
unlink-if-ordinary.c 2018-04-15 07:18 2.0K
vfprintf.c 2018-04-15 07:18 348
vprintf-support.c 2018-04-15 07:18 2.9K
waitpid.c 2018-04-15 07:18 868
xmalloc.c 2018-04-15 07:18 4.6K
xvasprintf.c 2018-04-15 07:18 1.8K
_doprnt.c 2018-04-15 07:18 7.3K
clock.c 2018-04-15 07:18 2.6K
concat.c 2018-04-15 07:18 4.9K
copying-lib.texi 2018-04-15 07:18 26K
cp-demangle.h 2018-04-15 07:18 5.7K
cp-demint.c 2018-04-15 07:18 7.0K
d-demangle.c 2018-04-15 07:18 38K
fdmatch.c 2018-04-15 07:18 2.1K
fibheap.c 2018-04-15 07:18 11K
filename_cmp.c 2018-04-15 07:18 5.3K
fnmatch.c 2018-04-15 07:18 5.3K
fopen_unlocked.c 2018-04-15 07:18 3.4K
getopt.c 2018-04-15 07:18 29K
getopt1.c 2018-04-15 07:18 4.3K
getruntime.c 2018-04-15 07:18 3.0K
hashtab.c 2018-04-15 07:18 29K
lbasename.c 2018-04-15 07:18 2.3K
libiberty.texi 2018-04-15 07:18 11K
lrealpath.c 2018-04-15 07:18 4.7K
make-relative-prefix.c 2018-04-15 07:18 11K
memmem.c 2018-04-15 07:18 2.1K
mempcpy.c 2018-04-15 07:18 1.3K
obstack.c 2018-04-15 07:18 13K
pex-common.c 2018-04-15 07:18 15K
pex-common.h 2018-04-15 07:18 6.0K
pex-one.c 2018-04-15 07:18 1.4K
pex-win32.c 2018-04-15 07:18 26K
pexecute.c 2018-04-15 07:18 3.2K
physmem.c 2018-04-15 07:18 7.1K
putenv.c 2018-04-15 07:18 2.1K
regex.c 2018-04-15 07:18 253K
setenv.c 2018-04-15 07:18 4.4K
sha1.c 2018-04-15 07:18 12K
simple-object-coff.c 2018-04-15 07:18 23K
snprintf.c 2018-04-15 07:18 2.2K
sort.c 2018-04-15 07:18 4.8K
stpncpy.c 2018-04-15 07:18 1.5K
strndup.c 2018-04-15 07:18 1.6K
timeval-utils.c 2018-04-15 07:18 2.2K
vasprintf.c 2018-04-15 07:18 3.3K
vprintf-support.h 2018-04-15 07:18 1.0K
vsnprintf.c 2018-04-15 07:18 4.1K
vsprintf.c 2018-04-15 07:18 1.8K
xasprintf.c 2018-04-15 07:18 1.4K
xexit.c 2018-04-15 07:18 1.5K
xstrndup.c 2018-04-15 07:18 1.6K
Makefile.in 2018-04-16 05:06 65K
floatformat.c 2018-04-16 05:06 22K
make-temp-file.c 2018-04-16 05:06 5.5K
objalloc.c 2018-04-16 05:06 7.2K
ChangeLog 2018-11-07 06:18 335K
argv.c 2018-11-07 06:18 14K
config.in 2018-11-07 06:18 15K
cp-demangle.c 2018-11-07 06:18 176K
md5.c 2018-11-07 06:18 14K
simple-object-common.h 2018-11-07 06:18 10K
simple-object-elf.c 2018-11-07 06:18 48K
simple-object-xcoff.c 2018-11-07 06:18 30K
simple-object.c 2018-11-07 06:18 13K
splay-tree.c 2018-11-07 06:18 15K
configure 2018-11-07 10:13 239K
configure.ac 2018-11-07 10:13 21K
config/ 2024-02-15 03:47 -
CVS/ 2025-02-01 12:13 -
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.