Name Date Size #Lines LOC

..22-Aug-2023-

config/H22-Aug-2023-84

ChangeLogH A D22-Aug-2023250.9 KiB7,4875,270

Makefile.inH A D22-Aug-202341.9 KiB1,202946

READMEH A D22-Aug-20232.6 KiB6750

_doprnt.cH A D22-Aug-20237.4 KiB297239

aclocal.m4H A D22-Aug-20236.4 KiB223206

alloca.cH A D22-Aug-202313.7 KiB484271

argv.cH A D22-Aug-202312.5 KiB514310

asprintf.cH A D22-Aug-20231.8 KiB5717

at-file.texiH A D22-Aug-2023732 1613

atexit.cH A D22-Aug-2023488 289

basename.cH A D22-Aug-20231.3 KiB6339

bcmp.cH A D22-Aug-2023643 287

bcopy.cH A D22-Aug-2023694 3219

bsearch.cH A D22-Aug-20233.7 KiB9024

bzero.cH A D22-Aug-2023435 247

calloc.cH A D22-Aug-2023714 3514

choose-temp.cH A D22-Aug-20232 KiB7228

clock.cH A D22-Aug-20232.6 KiB10455

concat.cH A D22-Aug-20235.7 KiB233127

config.inH A D22-Aug-202311.9 KiB445303

configureH A D22-Aug-2023278.2 KiB10,3038,813

copying-lib.texiH A D22-Aug-202326.2 KiB566479

copysign.cH A D22-Aug-20232.6 KiB155136

cp-demangle.cH A D22-Aug-2023115.4 KiB4,5163,201

cp-demangle.hH A D22-Aug-20235.4 KiB16971

cp-demint.cH A D22-Aug-20236.8 KiB235162

cplus-dem.cH A D22-Aug-2023115.6 KiB4,7183,414

dyn-string.cH A D22-Aug-202311 KiB398214

fdmatch.cH A D22-Aug-20232.1 KiB6923

ffs.cH A D22-Aug-2023465 2710

fibheap.cH A D22-Aug-202310.5 KiB479341

filename_cmp.cH A D22-Aug-20232.1 KiB7931

floatformat.cH A D22-Aug-202317.5 KiB632464

fnmatch.cH A D22-Aug-20235.3 KiB221139

fnmatch.txhH A D22-Aug-20231.9 KiB4938

functions.texiH A D22-Aug-202357.2 KiB1,5731,154

gather-docsH A D22-Aug-20233.3 KiB12970

getcwd.cH A D22-Aug-20231.2 KiB6338

getpagesize.cH A D22-Aug-20232 KiB9158

getpwd.cH A D22-Aug-20232.5 KiB12984

getruntime.cH A D22-Aug-20233 KiB11764

hashtab.cH A D22-Aug-202327.3 KiB956607

hex.cH A D22-Aug-20236.8 KiB193113

index.cH A D22-Aug-2023448 226

insque.cH A D22-Aug-20231.1 KiB5118

lbasename.cH A D22-Aug-20232 KiB6520

libiberty.texiH A D22-Aug-202310.9 KiB325240

lrealpath.cH A D22-Aug-20234.7 KiB15886

maint-toolH A D22-Aug-20236.2 KiB297229

make-relative-prefix.cH A D22-Aug-202310.8 KiB435294

make-temp-file.cH A D22-Aug-20234.4 KiB17897

md5.cH A D22-Aug-202313.7 KiB431268

memchr.cH A D22-Aug-2023811 3314

memcmp.cH A D22-Aug-2023872 3514

memcpy.cH A D22-Aug-2023498 269

memmove.cH A D22-Aug-2023529 269

memset.cH A D22-Aug-2023496 2610

mkstemps.cH A D22-Aug-20233.5 KiB14179

objalloc.cH A D22-Aug-20237 KiB292171

obstack.cH A D22-Aug-202315.9 KiB511307

obstacks.texiH A D22-Aug-202329.5 KiB759621

partition.cH A D22-Aug-20234.8 KiB184108

pexecute.cH A D22-Aug-20233.2 KiB12577

physmem.cH A D22-Aug-20237.2 KiB306224

putenv.cH A D22-Aug-20232.2 KiB8540

random.cH A D22-Aug-202314 KiB404193

regex.cH A D22-Aug-2023252.9 KiB8,2035,352

rename.cH A D22-Aug-2023633 3721

rindex.cH A D22-Aug-2023460 226

safe-ctype.cH A D22-Aug-202310.1 KiB256110

setenv.cH A D22-Aug-20234.5 KiB184114

sigsetmask.cH A D22-Aug-2023924 4119

sort.cH A D22-Aug-20234.8 KiB187101

spaces.cH A D22-Aug-20231.8 KiB7336

splay-tree.cH A D22-Aug-202312.9 KiB527340

strcasecmp.cH A D22-Aug-20234.2 KiB8855

strchr.cH A D22-Aug-2023528 2912

strdup.cH A D22-Aug-2023562 2814

strerror.cH A D22-Aug-202320.8 KiB810593

strncasecmp.cH A D22-Aug-20233.4 KiB8755

strncmp.cH A D22-Aug-2023634 3417

strrchr.cH A D22-Aug-2023548 2911

strsignal.cH A D22-Aug-202314.9 KiB609366

strstr.cH A D22-Aug-20231 KiB4216

strtod.cH A D22-Aug-20233.4 KiB13778

strtol.cH A D22-Aug-20235.3 KiB16476

strtoul.cH A D22-Aug-20233.2 KiB11673

ternary.cH A D22-Aug-20233.9 KiB158103

tmpnam.cH A D22-Aug-20231 KiB5328

unlink-if-ordinary.cH A D22-Aug-20232 KiB7328

vasprintf.cH A D22-Aug-20234.7 KiB197143

vfork.cH A D22-Aug-2023346 237

vfprintf.cH A D22-Aug-2023343 169

vprintf.cH A D22-Aug-2023848 279

vsprintf.cH A D22-Aug-20231.8 KiB5724

waitpid.cH A D22-Aug-2023777 3618

xatexit.cH A D22-Aug-20232.1 KiB10050

xexit.cH A D22-Aug-20231.5 KiB5316

xmalloc.cH A D22-Aug-20234.6 KiB18599

xmemdup.cH A D22-Aug-2023948 3919

xstrdup.cH A D22-Aug-2023720 3720

xstrerror.cH A D22-Aug-20232 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 "[email protected]" and send fixes to
19"[email protected]".  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