NameDateSize

..05-Sep-201755

.gitignoreH A D22-Nov-201229

_doprnt.cH A D27-Dec-20147.3 KiB

aclocal.m4H A D04-Apr-20134.7 KiB

alloca.cH A D22-Nov-201213.7 KiB

argv.cH A D05-Sep-201713.5 KiB

asprintf.cH A D27-Dec-20141.8 KiB

at-file.texiH A D22-Nov-2012732

atexit.cH A D22-Nov-2012488

basename.cH A D22-Nov-20121.3 KiB

bcmp.cH A D22-Nov-2012643

bcopy.cH A D22-Nov-2012694

bsearch.cH A D22-Nov-20123.7 KiB

bzero.cH A D22-Nov-2012435

calloc.cH A D22-Nov-2012714

ChangeLogH A D05-Sep-2017322.3 KiB

ChangeLog.jitH A D29-Feb-2016794

choose-temp.cH A D29-Feb-20162 KiB

clock.cH A D22-Nov-20122.6 KiB

concat.cH A D27-Dec-20144.9 KiB

config/H22-Nov-20127

config.h-vmsH A D22-Nov-2012309

config.inH A D29-Feb-201615 KiB

configureH A D05-Sep-2017236 KiB

configure.acH A D05-Sep-201721 KiB

configure.comH A D22-Nov-20121.1 KiB

copying-lib.texiH A D04-Apr-201326.1 KiB

COPYING.LIBH A D22-Nov-201225.8 KiB

copysign.cH A D22-Nov-20122.6 KiB

cp-demangle.cH A D05-Sep-2017175.1 KiB

cp-demangle.hH A D05-Sep-20175.9 KiB

cp-demint.cH A D05-Sep-20176.8 KiB

cplus-dem.cH A D05-Sep-2017124.3 KiB

crc32.cH A D05-Sep-20176.4 KiB

d-demangle.cH A D05-Sep-201735.9 KiB

dwarfnames.cH A D04-Apr-20133.1 KiB

dyn-string.cH A D22-Nov-201211 KiB

fdmatch.cH A D22-Nov-20122.1 KiB

ffs.cH A D22-Nov-2012465

fibheap.cH A D22-Nov-201210.8 KiB

filename_cmp.cH A D29-Feb-20165.3 KiB

floatformat.cH A D29-Feb-201621.5 KiB

fnmatch.cH A D22-Nov-20125.3 KiB

fnmatch.txhH A D22-Nov-20121.9 KiB

fopen_unlocked.cH A D22-Nov-20123.4 KiB

functions.texiH A D05-Sep-201773.1 KiB

gather-docsH A D22-Nov-20123.3 KiB

getcwd.cH A D22-Nov-20121.2 KiB

getopt.cH A D22-Nov-201229.6 KiB

getopt1.cH A D22-Nov-20124.3 KiB

getpagesize.cH A D22-Nov-20122 KiB

getpwd.cH A D22-Nov-20122.5 KiB

getruntime.cH A D05-Sep-20173 KiB

gettimeofday.cH A D22-Nov-2012543

hashtab.cH A D05-Sep-201728.8 KiB

hex.cH A D22-Nov-20126.8 KiB

index.cH A D22-Nov-2012448

insque.cH A D22-Nov-20121.1 KiB

lbasename.cH A D22-Nov-20122.3 KiB

libiberty.texiH A D20-Mar-201410.6 KiB

lrealpath.cH A D22-Nov-20124.7 KiB

maint-toolH A D27-Dec-20146.5 KiB

make-relative-prefix.cH A D05-Sep-201710.7 KiB

make-temp-file.cH A D29-Feb-20165.5 KiB

Makefile.inH A D05-Sep-201765.6 KiB

makefile.vmsH A D20-Mar-20141,016

md5.cH A D20-Mar-201414 KiB

memchr.cH A D22-Nov-2012815

memcmp.cH A D22-Nov-2012876

memcpy.cH A D22-Nov-2012502

memmem.cH A D22-Nov-20122.2 KiB

memmove.cH A D22-Nov-2012533

mempcpy.cH A D22-Nov-20121.3 KiB

memset.cH A D22-Nov-2012500

mkstemps.cH A D29-Feb-20163.7 KiB

msdos.cH A D22-Nov-2012177

objalloc.cH A D20-Mar-20147.2 KiB

obstack.cH A D29-Feb-201612.7 KiB

obstacks.texiH A D29-Feb-201630.5 KiB

partition.cH A D22-Nov-20124.8 KiB

pex-common.cH A D27-Dec-201415 KiB

pex-common.hH A D27-Dec-20146.1 KiB

pex-djgpp.cH A D27-Dec-20146.7 KiB

pex-msdos.cH A D22-Nov-20127.2 KiB

pex-one.cH A D22-Nov-20121.4 KiB

pex-unix.cH A D05-Sep-201719.6 KiB

pex-win32.cH A D05-Sep-201725.7 KiB

pexecute.cH A D22-Nov-20123.2 KiB

pexecute.txhH A D22-Nov-201211.7 KiB

physmem.cH A D22-Nov-20127.2 KiB

putenv.cH A D22-Nov-20122.2 KiB

random.cH A D22-Nov-201214 KiB

READMEH A D22-Nov-20122.9 KiB

regex.cH A D05-Sep-2017253.1 KiB

rename.cH A D22-Nov-2012633

rindex.cH A D22-Nov-2012460

rust-demangle.cH A D05-Sep-20179.8 KiB

safe-ctype.cH A D22-Nov-201210.1 KiB

setenv.cH A D05-Sep-20174.5 KiB

setproctitle.cH A D04-Apr-20131.4 KiB

sha1.cH A D20-Mar-201412.3 KiB

sigsetmask.cH A D29-Feb-2016902

simple-object-coff.cH A D22-Nov-201222.9 KiB

simple-object-common.hH A D20-Mar-201410 KiB

simple-object-elf.cH A D27-Dec-201429.1 KiB

simple-object-mach-o.cH A D20-Mar-201439.9 KiB

simple-object-xcoff.cH A D20-Mar-201425.1 KiB

simple-object.cH A D27-Dec-20149.3 KiB

simple-object.txhH A D22-Nov-20127.5 KiB

snprintf.cH A D27-Dec-20142.2 KiB

sort.cH A D22-Nov-20124.8 KiB

spaces.cH A D22-Nov-20121.7 KiB

splay-tree.cH A D22-Nov-201214.7 KiB

stack-limit.cH A D04-Apr-20132 KiB

stpcpy.cH A D22-Nov-20121.3 KiB

stpncpy.cH A D22-Nov-20121.5 KiB

strcasecmp.cH A D22-Nov-20124.2 KiB

strchr.cH A D22-Nov-2012528

strdup.cH A D22-Nov-2012562

strerror.cH A D29-Feb-201620.8 KiB

strncasecmp.cH A D22-Nov-20123.4 KiB

strncmp.cH A D22-Nov-2012638

strndup.cH A D22-Nov-20121.6 KiB

strnlen.cH A D20-Mar-2014585

strrchr.cH A D22-Nov-2012548

strsignal.cH A D22-Nov-201214.9 KiB

strstr.cH A D22-Nov-20121 KiB

strtod.cH A D22-Nov-20123.4 KiB

strtol.cH A D22-Nov-20125.3 KiB

strtoll.cH A D29-Feb-20165.5 KiB

strtoul.cH A D22-Nov-20123.2 KiB

strtoull.cH A D29-Feb-20163.4 KiB

strverscmp.cH A D22-Nov-20125.2 KiB

testsuite/H05-Sep-201711

timeval-utils.cH A D04-Apr-20132.2 KiB

tmpnam.cH A D22-Nov-20121 KiB

unlink-if-ordinary.cH A D22-Nov-20122 KiB

vasprintf.cH A D29-Feb-20163.3 KiB

vfork.cH A D22-Nov-2012346

vfprintf.cH A D22-Nov-2012343

vprintf-support.cH A D29-Feb-20162.9 KiB

vprintf-support.hH A D29-Feb-20161 KiB

vprintf.cH A D22-Nov-2012856

vsnprintf.cH A D27-Dec-20144.1 KiB

vsprintf.cH A D22-Nov-20121.8 KiB

waitpid.cH A D22-Nov-2012777

xasprintf.cH A D29-Feb-20161.4 KiB

xatexit.cH A D22-Nov-20122.1 KiB

xexit.cH A D22-Nov-20121.5 KiB

xmalloc.cH A D05-Sep-20174.6 KiB

xmemdup.cH A D05-Sep-20171 KiB

xstrdup.cH A D22-Nov-2012720

xstrerror.cH A D22-Nov-20122 KiB

xstrndup.cH A D22-Nov-20121.6 KiB

xvasprintf.cH A D29-Feb-20161.8 KiB

README

1This directory contains the -liberty library of free software.
2It is a collection of subroutines used by various GNU programs.
3Current 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
11We expect many of the GNU subroutines that are floating around to
12eventually arrive here.
13
14The library must be configured from the top source directory.  Don't
15try to run configure in this directory.  Follow the configuration
16instructions in ../README.
17
18Please report bugs to "gcc-bugs@gcc.gnu.org" and send fixes to
19"gcc-patches@gcc.gnu.org".  Thank you.
20
21ADDING A NEW FILE
22=================
23
24There are two sets of files:  Those that are "required" will be
25included in the library for all configurations, while those
26that are "optional" will be included in the library only if "needed."
27
28To add a new required file, edit Makefile.in to add the source file
29name to CFILES and the object file to REQUIRED_OFILES.
30
31To add a new optional file, it must provide a single function, and the
32name 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
52Finally, in the build directory of libiberty, configure with
53"--enable-maintainer-mode", run "make maint-deps" to update
54Makefile.in, and run 'make stamp-functions' to regenerate
55functions.texi.
56
57The optional file you've added (e.g. getcwd.c) should compile and work
58on all hosts where it is needed.  It does not have to work or even
59compile on hosts where it is not needed.
60
61ADDING A NEW CONFIGURATION
62==========================
63
64On most hosts you should be able to use the scheme for automatically
65figuring out which files are needed.  In that case, you probably
66don't need a special Makefile stub for that configuration.
67
68If the fully automatic scheme doesn't work, you may be able to get
69by with defining EXTRA_OFILES in your Makefile stub.  This is
70a list of object file names that should be treated as required
71for this configuration - they will be included in libiberty.a,
72regardless of whatever might be in the C library.
73