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