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