freebsd-skq/contrib/gcclibs/libiberty
Ben Laurie 7d214dd4e2 Fix clang compile warnings.
Approved by:	philip (mentor)
2011-05-22 22:14:15 +00:00
..
config GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
testsuite GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
_doprnt.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
aclocal.m4 GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
alloca.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
argv.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
asprintf.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
at-file.texi GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
atexit.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
basename.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
bcmp.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
bcopy.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
bsearch.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
bzero.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
calloc.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
ChangeLog GCC 4.2.1 release miscellaneous support libraries. 2007-08-14 02:52:47 +00:00
choose-temp.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
clock.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
concat.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
config.h-vms GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
config.in GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
configure GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
configure.ac GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
copying-lib.texi GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
COPYING.LIB GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
copysign.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
cp-demangle.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
cp-demangle.h GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
cp-demint.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
cplus-dem.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
dyn-string.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
fdmatch.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
ffs.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
fibheap.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
floatformat.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
fnmatch.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
fnmatch.txh GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
fopen_unlocked.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
functions.texi GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
gather-docs GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
getcwd.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
getopt1.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
getopt.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
getpagesize.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
getpwd.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
getruntime.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
gettimeofday.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
hashtab.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
hex.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
index.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
insque.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
lbasename.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
libiberty.texi GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
lrealpath.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
maint-tool GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
make-relative-prefix.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
make-temp-file.c Re-add local FreeBSD change: prefer /tmp to /var/tmp and /usr/tmp 2007-05-19 03:17:00 +00:00
Makefile.in GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
makefile.vms GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
md5.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
memchr.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
memcmp.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
memcpy.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
memmove.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
mempcpy.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
memset.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
mkstemps.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
msdos.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
objalloc.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
obstack.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
obstacks.texi GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
partition.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
pex-common.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
pex-common.h GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
pex-djgpp.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
pex-msdos.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
pex-one.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
pex-unix.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
pex-win32.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
pexecute.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
pexecute.txh GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
physmem.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
putenv.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
random.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
README GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
regex.c Fix clang compile warnings. 2011-05-22 22:14:15 +00:00
rename.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
rindex.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
safe-ctype.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
setenv.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
sigsetmask.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
snprintf.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
sort.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
spaces.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
splay-tree.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
stpcpy.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
stpncpy.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
strcasecmp.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
strchr.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
strdup.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
strerror.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
strncasecmp.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
strncmp.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
strndup.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
strrchr.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
strsignal.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
strstr.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
strtod.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
strtol.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
strtoul.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
strverscmp.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
ternary.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
tmpnam.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
unlink-if-ordinary.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
vasprintf.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
vfork.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
vfprintf.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
vmsbuild.com GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
vprintf.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
vsnprintf.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
vsprintf.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
waitpid.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
xatexit.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
xexit.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
xmalloc.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
xmemdup.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
xstrdup.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
xstrerror.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
xstrndup.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00

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 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.

    * 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.

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.