Home | History | Annotate | only in /toolchain/binutils/binutils-2.25/libiberty
Up to higher level directory
NameDateSize
.gitignore06-Dec-201629
_doprnt.c06-Dec-20167.3K
aclocal.m406-Dec-20164.7K
alloca.c06-Dec-201613.7K
argv.c06-Dec-201613.2K
asprintf.c06-Dec-20161.8K
at-file.texi06-Dec-2016732
atexit.c06-Dec-2016488
basename.c06-Dec-20161.3K
bcmp.c06-Dec-2016643
bcopy.c06-Dec-2016694
bsearch.c06-Dec-20163.7K
bzero.c06-Dec-2016435
calloc.c06-Dec-2016714
ChangeLog06-Dec-2016303.9K
ChangeLog.jit06-Dec-2016794
choose-temp.c06-Dec-20162K
clock.c06-Dec-20162.6K
concat.c06-Dec-20164.9K
config/06-Dec-2016
config.h-vms06-Dec-2016309
config.in06-Dec-201614.1K
configure06-Dec-2016226.5K
configure.ac06-Dec-201620.7K
configure.com06-Dec-20161.1K
copying-lib.texi06-Dec-201626.1K
COPYING.LIB06-Dec-201625.8K
copysign.c06-Dec-20162.6K
cp-demangle.c06-Dec-2016167.2K
cp-demangle.h06-Dec-20165.6K
cp-demint.c06-Dec-20166.8K
cplus-dem.c06-Dec-2016120.7K
crc32.c06-Dec-20166.5K
d-demangle.c06-Dec-201629.7K
dwarfnames.c06-Dec-20163.1K
dyn-string.c06-Dec-201611K
fdmatch.c06-Dec-20162.1K
ffs.c06-Dec-2016465
fibheap.c06-Dec-201610.8K
filename_cmp.c06-Dec-20165.3K
floatformat.c06-Dec-201621.5K
fnmatch.c06-Dec-20165.3K
fnmatch.txh06-Dec-20161.9K
fopen_unlocked.c06-Dec-20163.4K
functions.texi06-Dec-201672.4K
gather-docs06-Dec-20163.3K
getcwd.c06-Dec-20161.2K
getopt.c06-Dec-201629.6K
getopt1.c06-Dec-20164.3K
getpagesize.c06-Dec-20162K
getpwd.c06-Dec-20162.5K
getruntime.c06-Dec-20163K
gettimeofday.c06-Dec-2016543
hashtab.c06-Dec-201628.6K
hex.c06-Dec-20166.8K
index.c06-Dec-2016448
insque.c06-Dec-20161.1K
lbasename.c06-Dec-20162.3K
libiberty.texi06-Dec-201610.6K
lrealpath.c06-Dec-20164.7K
maint-tool06-Dec-20166.5K
make-relative-prefix.c06-Dec-201610.6K
make-temp-file.c06-Dec-20165.5K
Makefile.in06-Dec-201663.7K
makefile.vms06-Dec-20161,016
md5.c06-Dec-201614K
memchr.c06-Dec-2016815
memcmp.c06-Dec-2016876
memcpy.c06-Dec-2016502
memmem.c06-Dec-20162.2K
memmove.c06-Dec-2016533
mempcpy.c06-Dec-20161.3K
memset.c06-Dec-2016500
mkstemps.c06-Dec-20163.7K
msdos.c06-Dec-2016177
objalloc.c06-Dec-20167.2K
obstack.c06-Dec-201615.9K
obstacks.texi06-Dec-201629.7K
partition.c06-Dec-20164.8K
pex-common.c06-Dec-201615K
pex-common.h06-Dec-20166.1K
pex-djgpp.c06-Dec-20166.7K
pex-msdos.c06-Dec-20167.2K
pex-one.c06-Dec-20161.4K
pex-unix.c06-Dec-201619.6K
pex-win32.c06-Dec-201625.6K
pexecute.c06-Dec-20163.2K
pexecute.txh06-Dec-201611.7K
physmem.c06-Dec-20167.2K
putenv.c06-Dec-20162.2K
random.c06-Dec-201614K
README06-Dec-20162.9K
regex.c06-Dec-2016253K
rename.c06-Dec-2016633
rindex.c06-Dec-2016460
safe-ctype.c06-Dec-201610.1K
setenv.c06-Dec-20164.5K
setproctitle.c06-Dec-20161.4K
sha1.c06-Dec-201612.3K
sigsetmask.c06-Dec-2016902
simple-object-coff.c06-Dec-201622.9K
simple-object-common.h06-Dec-201610K
simple-object-elf.c06-Dec-201629.1K
simple-object-mach-o.c06-Dec-201639.9K
simple-object-xcoff.c06-Dec-201625.1K
simple-object.c06-Dec-20169.3K
simple-object.txh06-Dec-20167.5K
snprintf.c06-Dec-20162.2K
sort.c06-Dec-20164.8K
spaces.c06-Dec-20161.7K
splay-tree.c06-Dec-201614.7K
stack-limit.c06-Dec-20162K
stpcpy.c06-Dec-20161.3K
stpncpy.c06-Dec-20161.5K
strcasecmp.c06-Dec-20164.2K
strchr.c06-Dec-2016528
strdup.c06-Dec-2016562
strerror.c06-Dec-201620.8K
strncasecmp.c06-Dec-20163.4K
strncmp.c06-Dec-2016638
strndup.c06-Dec-20161.6K
strnlen.c06-Dec-2016585
strrchr.c06-Dec-2016548
strsignal.c06-Dec-201614.9K
strstr.c06-Dec-20161K
strtod.c06-Dec-20163.4K
strtol.c06-Dec-20165.3K
strtoll.c06-Dec-20165.5K
strtoul.c06-Dec-20163.2K
strtoull.c06-Dec-20163.4K
strverscmp.c06-Dec-20165.2K
testsuite/06-Dec-2016
timeval-utils.c06-Dec-20162.2K
tmpnam.c06-Dec-20161K
unlink-if-ordinary.c06-Dec-20162K
vasprintf.c06-Dec-20164.7K
vfork.c06-Dec-2016346
vfprintf.c06-Dec-2016343
vprintf.c06-Dec-2016856
vsnprintf.c06-Dec-20164.1K
vsprintf.c06-Dec-20161.8K
waitpid.c06-Dec-2016777
xatexit.c06-Dec-20162.1K
xexit.c06-Dec-20161.5K
xmalloc.c06-Dec-20164.6K
xmemdup.c06-Dec-2016952
xstrdup.c06-Dec-2016720
xstrerror.c06-Dec-20162K
xstrndup.c06-Dec-20161.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