Niels Nesse eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
..
config eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
testsuite eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
.gitignore eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
COPYING.LIB eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
ChangeLog eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
ChangeLog.jit eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
Makefile.in eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
README eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
_doprnt.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
aclocal.m4 eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
alloca.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
argv.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
asprintf.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
at-file.texi eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
atexit.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
basename.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
bcmp.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
bcopy.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
bsearch.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
bzero.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
calloc.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
choose-temp.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
clock.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
concat.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
config.h-vms eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
config.in eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
configure eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
configure.ac eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
configure.com eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
copying-lib.texi eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
copysign.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
cp-demangle.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
cp-demangle.h eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
cp-demint.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
cplus-dem.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
crc32.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
d-demangle.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
dwarfnames.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
dyn-string.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
fdmatch.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
ffs.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
fibheap.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
filename_cmp.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
floatformat.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
fnmatch.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
fnmatch.txh eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
fopen_unlocked.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
functions.texi eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
gather-docs eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
getcwd.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
getopt.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
getopt1.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
getpagesize.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
getpwd.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
getruntime.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
gettimeofday.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
hashtab.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
hex.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
index.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
insque.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
lbasename.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
libiberty.texi eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
lrealpath.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
maint-tool eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
make-relative-prefix.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
make-temp-file.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
makefile.vms eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
md5.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
memchr.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
memcmp.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
memcpy.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
memmem.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
memmove.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
mempcpy.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
memset.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
mkstemps.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
msdos.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
objalloc.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
obstack.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
obstacks.texi eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
partition.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
pex-common.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
pex-common.h eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
pex-djgpp.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
pex-msdos.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
pex-one.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
pex-unix.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
pex-win32.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
pexecute.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
pexecute.txh eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
physmem.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
putenv.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
random.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
regex.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
rename.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
rindex.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
safe-ctype.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
setenv.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
setproctitle.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
sha1.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
sigsetmask.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
simple-object-coff.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
simple-object-common.h eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
simple-object-elf.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
simple-object-mach-o.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
simple-object-xcoff.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
simple-object.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
simple-object.txh eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
snprintf.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
sort.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
spaces.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
splay-tree.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
stack-limit.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
stpcpy.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
stpncpy.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
strcasecmp.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
strchr.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
strdup.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
strerror.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
strncasecmp.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
strncmp.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
strndup.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
strnlen.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
strrchr.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
strsignal.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
strstr.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
strtod.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
strtol.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
strtoll.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
strtoul.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
strtoull.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
strverscmp.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
timeval-utils.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
tmpnam.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
unlink-if-ordinary.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
vasprintf.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
vfork.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
vfprintf.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
vprintf-support.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
vprintf-support.h eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
vprintf.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
vsnprintf.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
vsprintf.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
waitpid.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
xasprintf.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
xatexit.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
xexit.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
xmalloc.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
xmemdup.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
xstrdup.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
xstrerror.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
xstrndup.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ
xvasprintf.c eb72d50f44 Import gcc 5.2.0 from tarball 9 gadi atpakaļ

README

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.