Home | History | Annotate | only in /src/external/gpl3/gcc/dist/libiberty
Up to higher level directory
NameDateSize
_doprnt.c13-Sep-20257.3K
acinclude.m413-Sep-20255.3K
aclocal.m413-Sep-20251,010
alloca.c14-Sep-202513.8K
argv.c13-Sep-202513.5K
asprintf.c13-Sep-20251.8K
at-file.texi21-Jun-2011732
atexit.c21-Jun-2011488
basename.c21-Jun-20111.3K
bcmp.c21-Jun-2011643
bcopy.c21-Jun-2011694
bsearch.c30-Jul-20233.7K
bsearch_r.c30-Jul-20233.8K
bzero.c21-Jun-2011435
calloc.c13-Sep-2025722
ChangeLog13-Sep-2025377.7K
ChangeLog.jit24-Jan-2016794
choose-temp.c13-Sep-20252K
clock.c13-Sep-20252.6K
concat.c13-Sep-20254.9K
config/Today
config.h-vms21-Jun-2011309
config.in14-Sep-202515.6K
configure14-Sep-2025251.9K
configure.ac14-Sep-202523.4K
configure.com21-Jun-20111.1K
copying-lib.texi13-Sep-202526.1K
COPYING.LIB21-Jun-201125.8K
copysign.c21-Jun-20112.6K
cp-demangle.c14-Sep-2025193.5K
cp-demangle.h13-Sep-20256K
cp-demint.c13-Sep-20257K
cplus-dem.c13-Sep-202512.5K
crc32.c13-Sep-20256.4K
d-demangle.c13-Sep-202546.9K
dwarfnames.c13-Sep-20253.7K
dyn-string.c13-Sep-202511K
fdmatch.c13-Sep-20252.1K
ffs.c21-Jun-2011465
fibheap.c13-Sep-202510.8K
filedescriptor.c13-Sep-20251.3K
filename_cmp.c13-Sep-20255.3K
floatformat.c14-Sep-202522K
fnmatch.c13-Sep-20255.3K
fnmatch.txh01-Mar-20141.9K
fopen_unlocked.c13-Sep-20253.4K
functions.texi13-Sep-202574.2K
gather-docs13-Sep-20253.3K
getcwd.c21-Jun-20111.2K
getopt.c13-Sep-202529.5K
getopt1.c13-Sep-20254.3K
getpagesize.c21-Jun-20112K
getpwd.c21-Jun-20112.5K
getruntime.c13-Sep-20253K
gettimeofday.c21-Jun-2011543
hashtab.c13-Sep-202529.1K
hex.c13-Sep-20256.8K
index.c21-Jun-2011448
insque.c01-Mar-20141.1K
lbasename.c13-Sep-20252.3K
libiberty.texi13-Sep-202510.5K
lrealpath.c13-Sep-20258.1K
maint-tool13-Sep-20256.5K
make-relative-prefix.c13-Sep-202510.7K
make-temp-file.c14-Sep-20255.9K
Makefile.in14-Sep-202567.1K
makefile.vms24-Jan-20161,016
md5.c13-Sep-202514K
memchr.c13-Sep-2025823
memcmp.c13-Sep-2025880
memcpy.c13-Sep-2025509
memmem.c13-Sep-20252.1K
memmove.c13-Sep-2025540
mempcpy.c13-Sep-20251.3K
memset.c13-Sep-2025505
mkstemps.c13-Sep-20253.7K
msdos.c21-Jun-2011177
objalloc.c14-Sep-20257.2K
obstack.c13-Sep-202512.7K
obstacks.texi13-Sep-202530.5K
partition.c13-Sep-20254.8K
pex-common.c13-Sep-202515K
pex-common.h13-Sep-20256K
pex-djgpp.c13-Sep-20256.7K
pex-msdos.c13-Sep-20257.2K
pex-one.c13-Sep-20251.4K
pex-unix.c13-Sep-202524.4K
pex-win32.c13-Sep-202526.7K
pexecute.c13-Sep-20253.2K
pexecute.txh01-Mar-201411.7K
physmem.c13-Sep-20257.1K
putenv.c13-Sep-20252.1K
random.c13-Sep-202514K
README13-Sep-20252.9K
regex.c13-Sep-2025253.1K
rename.c21-Jun-2011633
rindex.c21-Jun-2011460
rust-demangle.c13-Sep-202534.7K
safe-ctype.c13-Sep-202510K
setenv.c13-Sep-20254.4K
setproctitle.c13-Sep-20251.4K
sha1.c16-Sep-202521.6K
sigsetmask.c24-Jan-2016902
simple-object-coff.c13-Sep-202522.9K
simple-object-common.h13-Sep-202510.2K
simple-object-elf.c13-Sep-202551K
simple-object-mach-o.c13-Sep-202540.1K
simple-object-xcoff.c13-Sep-202529.5K
simple-object.c13-Sep-202513.6K
simple-object.txh01-Mar-20147.5K
snprintf.c13-Sep-20252.2K
sort.c13-Sep-20254.8K
spaces.c13-Sep-20251.8K
splay-tree.c13-Sep-202515.5K
stack-limit.c13-Sep-20252K
stpcpy.c13-Sep-20251.4K
stpncpy.c13-Sep-20251.5K
strcasecmp.c21-Jun-20114.2K
strchr.c21-Jun-2011528
strdup.c13-Sep-2025572
strerror.c14-Sep-202520.8K
strncasecmp.c21-Jun-20113.4K
strncmp.c01-Mar-2014638
strndup.c13-Sep-20251.6K
strnlen.c01-Mar-2014585
strrchr.c21-Jun-2011548
strsignal.c13-Sep-202514.9K
strstr.c30-Jul-2023953
strtod.c13-Sep-20253.4K
strtol.c01-Mar-20145.3K
strtoll.c24-Jan-20165.5K
strtoul.c21-Jun-20113.2K
strtoull.c24-Jan-20163.4K
strverscmp.c13-Sep-20255.2K
timeval-utils.c13-Sep-20252.2K
tmpnam.c21-Jun-20111K
unlink-if-ordinary.c13-Sep-20252K
vasprintf.c13-Sep-20253.3K
vfork.c21-Jun-2011346
vfprintf.c13-Sep-2025348
vprintf-support.c14-Sep-20253.7K
vprintf-support.h13-Sep-20251,011
vprintf.c01-Mar-2014856
vsnprintf.c13-Sep-20254.1K
vsprintf.c13-Sep-20251.8K
waitpid.c11-Aug-2020868
xasprintf.c13-Sep-20251.4K
xatexit.c13-Sep-20252.1K
xexit.c13-Sep-20251.5K
xmalloc.c13-Sep-20254.6K
xmemdup.c13-Sep-20251K
xstrdup.c21-Jun-2011720
xstrerror.c21-Jun-20112K
xstrndup.c13-Sep-20251.6K
xvasprintf.c13-Sep-20251.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 https://gcc.gnu.org/bugzilla/ 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