Home | History | Annotate | only in /toolchain/binutils/binutils-2.27/libiberty
Up to higher level directory
NameDateSize
_doprnt.c21-Aug-20187.3K
aclocal.m421-Aug-20184.7K
alloca.c21-Aug-201813.7K
argv.c21-Aug-201813.1K
asprintf.c21-Aug-20181.8K
at-file.texi21-Aug-2018732
atexit.c21-Aug-2018488
basename.c21-Aug-20181.3K
bcmp.c21-Aug-2018643
bcopy.c21-Aug-2018694
bsearch.c21-Aug-20183.7K
bzero.c21-Aug-2018435
calloc.c21-Aug-2018714
ChangeLog21-Aug-2018314.5K
ChangeLog.jit21-Aug-2018794
choose-temp.c21-Aug-20182K
clock.c21-Aug-20182.6K
concat.c21-Aug-20184.9K
config/21-Aug-2018
config.h-vms21-Aug-2018309
config.in21-Aug-201815K
configure21-Aug-2018236K
configure.ac21-Aug-201821K
configure.com21-Aug-20181.1K
copying-lib.texi21-Aug-201826.1K
COPYING.LIB21-Aug-201825.8K
copysign.c21-Aug-20182.6K
cp-demangle.c21-Aug-2018169.7K
cp-demangle.h21-Aug-20185.9K
cp-demint.c21-Aug-20186.8K
cplus-dem.c21-Aug-2018120.7K
crc32.c21-Aug-20186.4K
d-demangle.c21-Aug-201835.9K
dwarfnames.c21-Aug-20183.1K
dyn-string.c21-Aug-201811K
fdmatch.c21-Aug-20182.1K
ffs.c21-Aug-2018465
fibheap.c21-Aug-201810.8K
filename_cmp.c21-Aug-20185.3K
floatformat.c21-Aug-201821.5K
fnmatch.c21-Aug-20185.3K
fnmatch.txh21-Aug-20181.9K
fopen_unlocked.c21-Aug-20183.4K
functions.texi21-Aug-201873.1K
gather-docs21-Aug-20183.3K
getcwd.c21-Aug-20181.2K
getopt.c21-Aug-201829.6K
getopt1.c21-Aug-20184.3K
getpagesize.c21-Aug-20182K
getpwd.c21-Aug-20182.5K
getruntime.c21-Aug-20183K
gettimeofday.c21-Aug-2018543
hashtab.c21-Aug-201828.6K
hex.c21-Aug-20186.8K
index.c21-Aug-2018448
insque.c21-Aug-20181.1K
lbasename.c21-Aug-20182.3K
libiberty.texi21-Aug-201810.6K
lrealpath.c21-Aug-20184.7K
maint-tool21-Aug-20186.5K
make-relative-prefix.c21-Aug-201810.6K
make-temp-file.c21-Aug-20185.5K
Makefile.in21-Aug-201865.1K
makefile.vms21-Aug-20181,016
md5.c21-Aug-201814K
memchr.c21-Aug-2018815
memcmp.c21-Aug-2018876
memcpy.c21-Aug-2018502
memmem.c21-Aug-20182.2K
memmove.c21-Aug-2018533
mempcpy.c21-Aug-20181.3K
memset.c21-Aug-2018500
mkstemps.c21-Aug-20183.7K
msdos.c21-Aug-2018177
objalloc.c21-Aug-20187.2K
obstack.c21-Aug-201812.7K
obstacks.texi21-Aug-201830.5K
partition.c21-Aug-20184.8K
pex-common.c21-Aug-201815K
pex-common.h21-Aug-20186.1K
pex-djgpp.c21-Aug-20186.7K
pex-msdos.c21-Aug-20187.2K
pex-one.c21-Aug-20181.4K
pex-unix.c21-Aug-201819.6K
pex-win32.c21-Aug-201825.6K
pexecute.c21-Aug-20183.2K
pexecute.txh21-Aug-201811.7K
physmem.c21-Aug-20187.2K
putenv.c21-Aug-20182.2K
random.c21-Aug-201814K
README21-Aug-20182.9K
regex.c21-Aug-2018253K
rename.c21-Aug-2018633
rindex.c21-Aug-2018460
safe-ctype.c21-Aug-201810.1K
setenv.c21-Aug-20184.5K
setproctitle.c21-Aug-20181.4K
sha1.c21-Aug-201812.3K
sigsetmask.c21-Aug-2018902
simple-object-coff.c21-Aug-201822.9K
simple-object-common.h21-Aug-201810K
simple-object-elf.c21-Aug-201829.1K
simple-object-mach-o.c21-Aug-201839.9K
simple-object-xcoff.c21-Aug-201825.1K
simple-object.c21-Aug-20189.3K
simple-object.txh21-Aug-20187.5K
snprintf.c21-Aug-20182.2K
sort.c21-Aug-20184.8K
spaces.c21-Aug-20181.7K
splay-tree.c21-Aug-201814.7K
stack-limit.c21-Aug-20182K
stpcpy.c21-Aug-20181.3K
stpncpy.c21-Aug-20181.5K
strcasecmp.c21-Aug-20184.2K
strchr.c21-Aug-2018528
strdup.c21-Aug-2018562
strerror.c21-Aug-201820.8K
strncasecmp.c21-Aug-20183.4K
strncmp.c21-Aug-2018638
strndup.c21-Aug-20181.6K
strnlen.c21-Aug-2018585
strrchr.c21-Aug-2018548
strsignal.c21-Aug-201814.9K
strstr.c21-Aug-20181K
strtod.c21-Aug-20183.4K
strtol.c21-Aug-20185.3K
strtoll.c21-Aug-20185.5K
strtoul.c21-Aug-20183.2K
strtoull.c21-Aug-20183.4K
strverscmp.c21-Aug-20185.2K
testsuite/21-Aug-2018
timeval-utils.c21-Aug-20182.2K
tmpnam.c21-Aug-20181K
unlink-if-ordinary.c21-Aug-20182K
vasprintf.c21-Aug-20183.3K
vfork.c21-Aug-2018346
vfprintf.c21-Aug-2018343
vprintf-support.c21-Aug-20182.9K
vprintf-support.h21-Aug-20181K
vprintf.c21-Aug-2018856
vsnprintf.c21-Aug-20184.1K
vsprintf.c21-Aug-20181.8K
waitpid.c21-Aug-2018777
xasprintf.c21-Aug-20181.4K
xatexit.c21-Aug-20182.1K
xexit.c21-Aug-20181.5K
xmalloc.c21-Aug-20184.6K
xmemdup.c21-Aug-20181K
xstrdup.c21-Aug-2018720
xstrerror.c21-Aug-20182K
xstrndup.c21-Aug-20181.6K
xvasprintf.c21-Aug-20181.8K

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