Home | History | Annotate | only in /src/external/gpl3/gdb/dist/libiberty
Up to higher level directory
NameDateSize
_doprnt.c15-Mar-20267.3K
acinclude.m415-Mar-20265.3K
aclocal.m412-Aug-20241K
alloca.c30-Jul-202313.8K
argv.c15-Mar-202613.4K
asprintf.c15-Mar-20261.8K
at-file.texi24-Sep-2011732
atexit.c24-Sep-2011488
basename.c24-Sep-20111.3K
bcmp.c24-Sep-2011643
bcopy.c24-Sep-2011694
bsearch.c15-Sep-20203.7K
bsearch_r.c15-Sep-20203.8K
bzero.c24-Sep-2011435
calloc.c30-Jul-2023722
ChangeLog15-Mar-2026380.1K
ChangeLog.jit15-Aug-2015794
choose-temp.c15-Mar-20262K
clock.c15-Mar-20262.6K
concat.c15-Mar-20264.9K
config/25-Feb-2026
config.h-vms24-Sep-2011309
config.in15-Mar-202615.8K
configure15-Mar-2026252.2K
configure.ac15-Mar-202623.6K
configure.com15-Mar-20261.1K
copying-lib.texi15-Mar-202626.1K
COPYING.LIB24-Sep-201125.8K
copysign.c24-Sep-20112.6K
cp-demangle.c15-Mar-2026193.5K
cp-demangle.h15-Mar-20266K
cp-demint.c15-Mar-20267K
cplus-dem.c15-Mar-202612.5K
crc32.c15-Mar-20266.4K
d-demangle.c15-Mar-202646.9K
dwarfnames.c15-Mar-20263.7K
dyn-string.c15-Mar-202611K
fdmatch.c15-Mar-20262.1K
ffs.c24-Sep-2011465
fibheap.c15-Mar-202610.8K
filedescriptor.c15-Mar-20261.3K
filename_cmp.c15-Mar-20265.3K
floatformat.c15-Mar-202621.9K
fnmatch.c15-Mar-20265.3K
fnmatch.txh24-Sep-20111.9K
fopen_unlocked.c15-Mar-20263.4K
functions.texi15-Mar-202674.8K
gather-docs15-Mar-20263.3K
getcwd.c24-Sep-20111.2K
getopt.c15-Mar-202629.3K
getopt1.c15-Mar-20264.3K
getpagesize.c24-Sep-20112K
getpwd.c24-Sep-20112.5K
getruntime.c15-Mar-20263K
gettimeofday.c24-Sep-2011543
hashtab.c15-Mar-202629.1K
hex.c15-Mar-20266.8K
index.c24-Sep-2011448
insque.c24-Sep-20111.1K
lbasename.c15-Mar-20262.3K
ldirname.c14-Mar-20262.6K
libiberty.texi15-Mar-202610.5K
lrealpath.c15-Mar-20268.1K
maint-tool15-Mar-20266.5K
make-relative-prefix.c15-Mar-202610.7K
make-temp-file.c15-Mar-20265.9K
Makefile.in15-Mar-202668.1K
makefile.vms15-Mar-20261K
md5.c15-Mar-202614K
memchr.c30-Jul-2023823
memcmp.c30-Jul-2023880
memcpy.c30-Jul-2023509
memmem.c15-Mar-20262.1K
memmove.c30-Jul-2023540
mempcpy.c15-Mar-20261.3K
memrchr.c14-Mar-2026883
memset.c30-Jul-2023505
mkstemps.c15-Mar-20263.7K
msdos.c24-Sep-2011177
objalloc.c15-Mar-20267.2K
obstack.c15-Mar-202612.7K
obstacks.texi12-Aug-202430.5K
partition.c15-Mar-20264.8K
pex-common.c15-Mar-202615K
pex-common.h15-Mar-20266K
pex-djgpp.c15-Mar-20266.7K
pex-msdos.c15-Mar-20267.2K
pex-one.c15-Mar-20261.4K
pex-unix.c15-Mar-202624.4K
pex-win32.c15-Mar-202626.7K
pexecute.c15-Mar-20263.2K
pexecute.txh24-Sep-201111.7K
physmem.c15-Mar-20267.1K
putenv.c15-Mar-20262.1K
random.c30-Jul-202314K
README12-Aug-20242.9K
regex.c15-Mar-2026253.1K
rename.c24-Sep-2011633
rindex.c24-Sep-2011460
rust-demangle.c15-Mar-202634.7K
safe-ctype.c15-Mar-202610K
setenv.c15-Mar-20264.4K
setproctitle.c15-Mar-20261.4K
sha1.c15-Mar-202621.5K
sigsetmask.c15-Aug-2015902
simple-object-coff.c15-Mar-202623K
simple-object-common.h15-Mar-202610.2K
simple-object-elf.c15-Mar-202651K
simple-object-mach-o.c15-Mar-202640.1K
simple-object-xcoff.c15-Mar-202629.5K
simple-object.c15-Mar-202613.6K
simple-object.txh24-Sep-20117.5K
snprintf.c15-Mar-20262.2K
sort.c15-Mar-20264.8K
spaces.c15-Mar-20261.8K
splay-tree.c15-Mar-202615.5K
stack-limit.c15-Mar-20262K
stpcpy.c15-Mar-20261.4K
stpncpy.c15-Mar-20261.5K
strcasecmp.c24-Sep-20114.2K
strchr.c24-Sep-2011528
strdup.c30-Jul-2023572
strerror.c31-Jul-202320.8K
strncasecmp.c24-Sep-20113.4K
strncmp.c24-Sep-2011638
strndup.c15-Mar-20261.6K
strnlen.c03-Oct-2013585
strrchr.c24-Sep-2011548
strsignal.c30-Jul-202314.9K
strstr.c12-Aug-2024953
strtod.c15-Mar-20263.4K
strtol.c24-Sep-20115.3K
strtoll.c15-Aug-20155.5K
strtoul.c24-Sep-20113.2K
strtoull.c15-Aug-20153.4K
strverscmp.c15-Mar-20265.2K
testsuite/15-Mar-2026
timeval-utils.c15-Mar-20262.2K
tmpnam.c24-Sep-20111K
unlink-if-ordinary.c15-Mar-20262K
vasprintf.c15-Mar-20263.3K
vfork.c24-Sep-2011346
vfprintf.c15-Mar-2026348
vprintf-support.c15-Mar-20263.6K
vprintf-support.h15-Mar-20261,011
vprintf.c24-Sep-2011856
vsnprintf.c15-Mar-20264.1K
vsprintf.c15-Mar-20261.8K
waitpid.c28-Nov-2017868
xasprintf.c15-Mar-20261.4K
xatexit.c30-Jul-20232.1K
xexit.c15-Mar-20261.5K
xmalloc.c15-Mar-20264.6K
xmemdup.c30-Jul-20231K
xstrdup.c24-Sep-2011720
xstrerror.c24-Sep-20112K
xstrndup.c15-Mar-20261.6K
xvasprintf.c15-Mar-20261.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