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