Name Date Size #Lines LOC

..--

config/H26-Jul-2015-84

ChangeLogHD26-Jul-2015250.9 KiB7,4875,270

Makefile.inHD26-Jul-201541.9 KiB1,202946

READMEHD26-Jul-20152.6 KiB6750

_doprnt.cHD26-Jul-20157.4 KiB297239

aclocal.m4HD26-Jul-20156.4 KiB223206

alloca.cHD26-Jul-201513.7 KiB484271

argv.cHD26-Jul-201512.5 KiB514310

asprintf.cHD26-Jul-20151.8 KiB5717

at-file.texiHD26-Jul-2015732 1613

atexit.cHD26-Jul-2015488 289

basename.cHD26-Jul-20151.3 KiB6339

bcmp.cHD26-Jul-2015643 287

bcopy.cHD26-Jul-2015694 3219

bsearch.cHD26-Jul-20153.7 KiB9024

bzero.cHD26-Jul-2015435 247

calloc.cHD26-Jul-2015714 3514

choose-temp.cHD26-Jul-20152 KiB7228

clock.cHD26-Jul-20152.6 KiB10455

concat.cHD26-Jul-20155.7 KiB233127

config.inHD26-Jul-201511.9 KiB445303

configureHD26-Jul-2015278.2 KiB10,3038,813

copying-lib.texiHD26-Jul-201526.2 KiB566479

copysign.cHD26-Jul-20152.6 KiB155136

cp-demangle.cHD26-Jul-2015115.4 KiB4,5163,201

cp-demangle.hHD26-Jul-20155.4 KiB16971

cp-demint.cHD26-Jul-20156.8 KiB235162

cplus-dem.cHD26-Jul-2015115.6 KiB4,7183,414

dyn-string.cHD26-Jul-201511 KiB398214

fdmatch.cHD26-Jul-20152.1 KiB6923

ffs.cHD26-Jul-2015465 2710

fibheap.cHD26-Jul-201510.5 KiB479341

filename_cmp.cHD26-Jul-20152.1 KiB7931

floatformat.cHD26-Jul-201517.5 KiB632464

fnmatch.cHD26-Jul-20155.3 KiB221139

fnmatch.txhHD26-Jul-20151.9 KiB4938

functions.texiHD26-Jul-201557.2 KiB1,5731,154

gather-docsHD26-Jul-20153.3 KiB12970

getcwd.cHD26-Jul-20151.2 KiB6338

getpagesize.cHD26-Jul-20152 KiB9158

getpwd.cHD26-Jul-20152.5 KiB12984

getruntime.cHD26-Jul-20153 KiB11764

hashtab.cHD26-Jul-201527.3 KiB956607

hex.cHD26-Jul-20156.8 KiB193113

index.cHD26-Jul-2015448 226

insque.cHD26-Jul-20151.1 KiB5118

lbasename.cHD26-Jul-20152 KiB6520

libiberty.texiHD26-Jul-201510.9 KiB325240

lrealpath.cHD26-Jul-20154.7 KiB15886

maint-toolHD26-Jul-20156.2 KiB297229

make-relative-prefix.cHD26-Jul-201510.5 KiB422281

make-temp-file.cHD26-Jul-20154.4 KiB17897

md5.cHD26-Jul-201513.7 KiB431268

memchr.cHD26-Jul-2015811 3314

memcmp.cHD26-Jul-2015872 3514

memcpy.cHD26-Jul-2015498 269

memmove.cHD26-Jul-2015529 269

memset.cHD26-Jul-2015496 2610

mkstemps.cHD26-Jul-20153.5 KiB14179

objalloc.cHD26-Jul-20157 KiB292171

obstack.cHD26-Jul-201515.9 KiB511307

obstacks.texiHD26-Jul-201529.5 KiB759621

partition.cHD26-Jul-20154.8 KiB184108

pexecute.cHD26-Jul-20153.2 KiB12577

physmem.cHD26-Jul-20157.2 KiB306224

putenv.cHD26-Jul-20152.2 KiB8540

random.cHD26-Jul-201514 KiB404193

regex.cHD26-Jul-2015252.9 KiB8,2035,352

rename.cHD26-Jul-2015633 3721

rindex.cHD26-Jul-2015460 226

safe-ctype.cHD26-Jul-201510.1 KiB256110

setenv.cHD26-Jul-20154.5 KiB184114

sigsetmask.cHD26-Jul-2015924 4119

sort.cHD26-Jul-20154.8 KiB187101

spaces.cHD26-Jul-20151.8 KiB7336

splay-tree.cHD26-Jul-201512.9 KiB527340

strcasecmp.cHD26-Jul-20154.2 KiB8855

strchr.cHD26-Jul-2015528 2912

strdup.cHD26-Jul-2015562 2814

strerror.cHD26-Jul-201520.8 KiB810593

strncasecmp.cHD26-Jul-20153.4 KiB8755

strncmp.cHD26-Jul-2015634 3417

strrchr.cHD26-Jul-2015548 2911

strsignal.cHD26-Jul-201514.9 KiB609366

strstr.cHD26-Jul-20151 KiB4216

strtod.cHD26-Jul-20153.4 KiB13778

strtol.cHD26-Jul-20155.3 KiB16476

strtoul.cHD26-Jul-20153.2 KiB11673

ternary.cHD26-Jul-20153.9 KiB158103

tmpnam.cHD26-Jul-20151 KiB5328

unlink-if-ordinary.cHD26-Jul-20152 KiB7328

vasprintf.cHD26-Jul-20154.7 KiB197143

vfork.cHD26-Jul-2015346 237

vfprintf.cHD26-Jul-2015343 169

vprintf.cHD26-Jul-2015848 279

vsprintf.cHD26-Jul-20151.8 KiB5724

waitpid.cHD26-Jul-2015777 3618

xatexit.cHD26-Jul-20152.1 KiB10050

xexit.cHD26-Jul-20151.5 KiB5316

xmalloc.cHD26-Jul-20154.6 KiB18599

xmemdup.cHD26-Jul-2015948 3919

xstrdup.cHD26-Jul-2015720 3720

xstrerror.cHD26-Jul-20152 KiB8045

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 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.
35
36    * Add the function to name to the funcs shell variable in
37      configure.ac.
38
39    * Add the function to the AC_CHECK_FUNCS lists just after the
40      setting of the funcs shell variable.  These AC_CHECK_FUNCS calls
41      are never executed; they are there to make autoheader work
42      better.
43
44    * Consider the special cases of building libiberty; as of this
45      writing, the special cases are newlib and VxWorks.  If a
46      particular special case provides the function, you do not need
47      to do anything.  If it does not provide the function, add the
48      object file to LIBOBJS, and add the function name to the case
49      controlling whether to define HAVE_func.
50
51The optional file you've added (e.g. getcwd.c) should compile and work
52on all hosts where it is needed.  It does not have to work or even
53compile on hosts where it is not needed.
54
55ADDING A NEW CONFIGURATION
56==========================
57
58On most hosts you should be able to use the scheme for automatically
59figuring out which files are needed.  In that case, you probably
60don't need a special Makefile stub for that configuration.
61
62If the fully automatic scheme doesn't work, you may be able to get
63by with defining EXTRA_OFILES in your Makefile stub.  This is
64a list of object file names that should be treated as required
65for this configuration - they will be included in libiberty.a,
66regardless of whatever might be in the C library.
67