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