Home | History | Annotate | only in /toolchain/binutils/binutils-2.25/libiberty
Up to higher level directory
NameDateSize
.gitignore06-Dec-201729
_doprnt.c06-Dec-20177.3K
aclocal.m406-Dec-20174.7K
alloca.c06-Dec-201713.7K
argv.c06-Dec-201713.2K
asprintf.c06-Dec-20171.8K
at-file.texi06-Dec-2017732
atexit.c06-Dec-2017488
basename.c06-Dec-20171.3K
bcmp.c06-Dec-2017643
bcopy.c06-Dec-2017694
bsearch.c06-Dec-20173.7K
bzero.c06-Dec-2017435
calloc.c06-Dec-2017714
ChangeLog06-Dec-2017303.9K
ChangeLog.jit06-Dec-2017794
choose-temp.c06-Dec-20172K
clock.c06-Dec-20172.6K
concat.c06-Dec-20174.9K
config/06-Dec-2017
config.h-vms06-Dec-2017309
config.in06-Dec-201714.1K
configure06-Dec-2017226.5K
configure.ac06-Dec-201720.7K
configure.com06-Dec-20171.1K
copying-lib.texi06-Dec-201726.1K
COPYING.LIB06-Dec-201725.8K
copysign.c06-Dec-20172.6K
cp-demangle.c06-Dec-2017167.2K
cp-demangle.h06-Dec-20175.6K
cp-demint.c06-Dec-20176.8K
cplus-dem.c06-Dec-2017120.7K
crc32.c06-Dec-20176.5K
d-demangle.c06-Dec-201729.7K
dwarfnames.c06-Dec-20173.1K
dyn-string.c06-Dec-201711K
fdmatch.c06-Dec-20172.1K
ffs.c06-Dec-2017465
fibheap.c06-Dec-201710.8K
filename_cmp.c06-Dec-20175.3K
floatformat.c06-Dec-201721.5K
fnmatch.c06-Dec-20175.3K
fnmatch.txh06-Dec-20171.9K
fopen_unlocked.c06-Dec-20173.4K
functions.texi06-Dec-201772.4K
gather-docs06-Dec-20173.3K
getcwd.c06-Dec-20171.2K
getopt.c06-Dec-201729.6K
getopt1.c06-Dec-20174.3K
getpagesize.c06-Dec-20172K
getpwd.c06-Dec-20172.5K
getruntime.c06-Dec-20173K
gettimeofday.c06-Dec-2017543
hashtab.c06-Dec-201728.6K
hex.c06-Dec-20176.8K
index.c06-Dec-2017448
insque.c06-Dec-20171.1K
lbasename.c06-Dec-20172.3K
libiberty.texi06-Dec-201710.6K
lrealpath.c06-Dec-20174.7K
maint-tool06-Dec-20176.5K
make-relative-prefix.c06-Dec-201710.6K
make-temp-file.c06-Dec-20175.5K
Makefile.in06-Dec-201763.7K
makefile.vms06-Dec-20171,016
md5.c06-Dec-201714K
memchr.c06-Dec-2017815
memcmp.c06-Dec-2017876
memcpy.c06-Dec-2017502
memmem.c06-Dec-20172.2K
memmove.c06-Dec-2017533
mempcpy.c06-Dec-20171.3K
memset.c06-Dec-2017500
mkstemps.c06-Dec-20173.7K
msdos.c06-Dec-2017177
objalloc.c06-Dec-20177.2K
obstack.c06-Dec-201715.9K
obstacks.texi06-Dec-201729.7K
partition.c06-Dec-20174.8K
pex-common.c06-Dec-201715K
pex-common.h06-Dec-20176.1K
pex-djgpp.c06-Dec-20176.7K
pex-msdos.c06-Dec-20177.2K
pex-one.c06-Dec-20171.4K
pex-unix.c06-Dec-201719.6K
pex-win32.c06-Dec-201725.6K
pexecute.c06-Dec-20173.2K
pexecute.txh06-Dec-201711.7K
physmem.c06-Dec-20177.2K
putenv.c06-Dec-20172.2K
random.c06-Dec-201714K
README06-Dec-20172.9K
regex.c06-Dec-2017253K
rename.c06-Dec-2017633
rindex.c06-Dec-2017460
safe-ctype.c06-Dec-201710.1K
setenv.c06-Dec-20174.5K
setproctitle.c06-Dec-20171.4K
sha1.c06-Dec-201712.3K
sigsetmask.c06-Dec-2017902
simple-object-coff.c06-Dec-201722.9K
simple-object-common.h06-Dec-201710K
simple-object-elf.c06-Dec-201729.1K
simple-object-mach-o.c06-Dec-201739.9K
simple-object-xcoff.c06-Dec-201725.1K
simple-object.c06-Dec-20179.3K
simple-object.txh06-Dec-20177.5K
snprintf.c06-Dec-20172.2K
sort.c06-Dec-20174.8K
spaces.c06-Dec-20171.7K
splay-tree.c06-Dec-201714.7K
stack-limit.c06-Dec-20172K
stpcpy.c06-Dec-20171.3K
stpncpy.c06-Dec-20171.5K
strcasecmp.c06-Dec-20174.2K
strchr.c06-Dec-2017528
strdup.c06-Dec-2017562
strerror.c06-Dec-201720.8K
strncasecmp.c06-Dec-20173.4K
strncmp.c06-Dec-2017638
strndup.c06-Dec-20171.6K
strnlen.c06-Dec-2017585
strrchr.c06-Dec-2017548
strsignal.c06-Dec-201714.9K
strstr.c06-Dec-20171K
strtod.c06-Dec-20173.4K
strtol.c06-Dec-20175.3K
strtoll.c06-Dec-20175.5K
strtoul.c06-Dec-20173.2K
strtoull.c06-Dec-20173.4K
strverscmp.c06-Dec-20175.2K
testsuite/06-Dec-2017
timeval-utils.c06-Dec-20172.2K
tmpnam.c06-Dec-20171K
unlink-if-ordinary.c06-Dec-20172K
vasprintf.c06-Dec-20174.7K
vfork.c06-Dec-2017346
vfprintf.c06-Dec-2017343
vprintf.c06-Dec-2017856
vsnprintf.c06-Dec-20174.1K
vsprintf.c06-Dec-20171.8K
waitpid.c06-Dec-2017777
xatexit.c06-Dec-20172.1K
xexit.c06-Dec-20171.5K
xmalloc.c06-Dec-20174.6K
xmemdup.c06-Dec-2017952
xstrdup.c06-Dec-2017720
xstrerror.c06-Dec-20172K
xstrndup.c06-Dec-20171.6K

README

      1 This directory contains the -liberty library of free software.
      2 It is a collection of subroutines used by various GNU programs.
      3 Current members include:
      4 
      5 	getopt -- get options from command line
      6 	obstack -- stacks of arbitrarily-sized objects
      7 	strerror -- error message strings corresponding to errno
      8 	strtol -- string-to-long conversion
      9 	strtoul -- string-to-unsigned-long conversion
     10 
     11 We expect many of the GNU subroutines that are floating around to
     12 eventually arrive here.
     13 
     14 The library must be configured from the top source directory.  Don't
     15 try to run configure in this directory.  Follow the configuration
     16 instructions in ../README.
     17 
     18 Please report bugs to "gcc-bugs (a] gcc.gnu.org" and send fixes to
     19 "gcc-patches (a] gcc.gnu.org".  Thank you.
     20 
     21 ADDING A NEW FILE
     22 =================
     23 
     24 There are two sets of files:  Those that are "required" will be
     25 included in the library for all configurations, while those
     26 that are "optional" will be included in the library only if "needed."
     27 
     28 To add a new required file, edit Makefile.in to add the source file
     29 name to CFILES and the object file to REQUIRED_OFILES.
     30 
     31 To add a new optional file, it must provide a single function, and the
     32 name of the function must be the same as the name of the file.
     33 
     34     * Add the source file name to CFILES in Makefile.in and the object
     35       file to CONFIGURED_OFILES.
     36 
     37     * Add the function to name to the funcs shell variable in
     38       configure.ac.
     39 
     40     * Add the function to the AC_CHECK_FUNCS lists just after the
     41       setting of the funcs shell variable.  These AC_CHECK_FUNCS calls
     42       are never executed; they are there to make autoheader work
     43       better.
     44 
     45     * Consider the special cases of building libiberty; as of this
     46       writing, the special cases are newlib and VxWorks.  If a
     47       particular special case provides the function, you do not need
     48       to do anything.  If it does not provide the function, add the
     49       object file to LIBOBJS, and add the function name to the case
     50       controlling whether to define HAVE_func.
     51 
     52 Finally, in the build directory of libiberty, configure with
     53 "--enable-maintainer-mode", run "make maint-deps" to update
     54 Makefile.in, and run 'make stamp-functions' to regenerate
     55 functions.texi.
     56 
     57 The optional file you've added (e.g. getcwd.c) should compile and work
     58 on all hosts where it is needed.  It does not have to work or even
     59 compile on hosts where it is not needed.
     60 
     61 ADDING A NEW CONFIGURATION
     62 ==========================
     63 
     64 On most hosts you should be able to use the scheme for automatically
     65 figuring out which files are needed.  In that case, you probably
     66 don't need a special Makefile stub for that configuration.
     67 
     68 If the fully automatic scheme doesn't work, you may be able to get
     69 by with defining EXTRA_OFILES in your Makefile stub.  This is
     70 a list of object file names that should be treated as required
     71 for this configuration - they will be included in libiberty.a,
     72 regardless of whatever might be in the C library.
     73