• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..07-May-2022-

config/H28-Jul-2006-2013

testsuite/H28-Jul-2006-4,6804,442

ChangeLogH A D04-Jul-2006238.1 KiB7,1064,983

Makefile.inH A D04-Jul-200639.4 KiB1,119879

READMEH A D10-Jan-20042.6 KiB6750

_doprnt.cH A D10-May-20057.4 KiB297239

aclocal.m4H A D07-May-20056.4 KiB222205

alloca.cH A D24-May-200513.7 KiB484271

argv.cH A D27-Sep-200511.2 KiB452274

asprintf.cH A D10-May-20051.8 KiB5717

at-file.texiH A D07-Oct-2005732 1613

atexit.cH A D26-Mar-2005488 289

basename.cH A D16-Apr-20051.3 KiB6339

bcmp.cH A D02-Apr-2005643 287

bcopy.cH A D02-Apr-2005670 3219

bsearch.cH A D02-Apr-20053.7 KiB9024

bzero.cH A D02-Apr-2005435 247

calloc.cH A D26-Mar-2005714 3514

choose-temp.cH A D24-May-20052 KiB7329

clock.cH A D10-May-20052.6 KiB10455

concat.cH A D24-May-20055.7 KiB233127

config.h-vmsH A D15-May-1998201 1412

config.inH A D22-Jul-200511.9 KiB445303

configureH A D22-Jul-2005268.3 KiB9,8628,430

configure.acH A D22-Jul-200518.3 KiB649560

copying-lib.texiH A D10-May-200526.2 KiB566479

copysign.cH A D26-Mar-20052.6 KiB155136

cp-demangle.cH A D01-Jul-2005108.6 KiB4,3353,123

cp-demangle.hH A D10-May-20055 KiB16269

cp-demint.cH A D24-May-20056.8 KiB235162

cplus-dem.cH A D24-May-2005115.6 KiB4,7183,414

dyn-string.cH A D24-May-200511 KiB398214

fdmatch.cH A D10-May-20052.1 KiB6923

ffs.cH A D27-Mar-2005465 2710

fibheap.cH A D10-May-200510.5 KiB479341

floatformat.cH A D16-Feb-200617.8 KiB643478

fnmatch.cH A D24-May-20055.3 KiB221139

fnmatch.txhH A D17-Oct-20011.9 KiB4938

fopen_unlocked.cH A D15-May-20053.4 KiB12749

functions.texiH A D21-Jun-200551.4 KiB1,4381,050

gather-docsH A D10-May-20053.3 KiB12970

getcwd.cH A D27-Mar-20051.2 KiB6338

getopt.cH A D23-Jul-200529.6 KiB1,053632

getopt1.cH A D16-May-20054.3 KiB181113

getpagesize.cH A D27-Mar-20052 KiB9158

getpwd.cH A D24-May-20052.5 KiB12984

getruntime.cH A D10-May-20053 KiB11764

gettimeofday.cH A D31-Mar-2005543 3118

hashtab.cH A D30-Jun-200526.6 KiB935588

hex.cH A D10-May-20056.8 KiB193113

index.cH A D02-Apr-2005448 226

insque.cH A D27-Mar-20051.1 KiB5118

lbasename.cH A D10-May-20052 KiB6520

libiberty.texiH A D13-Nov-200410.9 KiB325240

lrealpath.cH A D24-May-20054.7 KiB15886

maint-toolH A D10-May-20056.2 KiB297229

make-relative-prefix.cH A D24-May-20059.6 KiB390263

make-temp-file.cH A D24-May-20054.4 KiB17897

makefile.vmsH A D08-Sep-1999813 3419

md5.cH A D03-Jul-200513.7 KiB431268

memchr.cH A D27-Mar-2005811 3314

memcmp.cH A D27-Mar-2005872 3514

memcpy.cH A D22-Jul-2005498 269

memmove.cH A D22-Jul-2005529 269

mempcpy.cH A D10-May-20051.3 KiB428

memset.cH A D28-Mar-2005496 2610

mkstemps.cH A D24-May-20053.5 KiB13776

msdos.cH A D15-May-1998177 1612

objalloc.cH A D22-Jul-20057 KiB292171

obstack.cH A D10-May-200515.9 KiB511307

obstacks.texiH A D26-Sep-200129.5 KiB759621

partition.cH A D10-May-20054.8 KiB183107

pex-common.cH A D24-May-200510.5 KiB473353

pex-common.hH A D10-May-20054.9 KiB13047

pex-djgpp.cH A D24-May-20056.3 KiB287218

pex-msdos.cH A D24-May-20057.1 KiB317219

pex-one.cH A D10-May-20051.4 KiB4422

pex-unix.cH A D24-May-200511.9 KiB514392

pex-win32.cH A D15-Sep-200516.8 KiB718546

pexecute.cH A D12-Jul-20053.2 KiB12274

pexecute.txhH A D15-May-20057.5 KiB200147

physmem.cH A D10-May-20057.2 KiB306224

putenv.cH A D10-May-20052.2 KiB8540

random.cH A D28-Mar-200514 KiB404193

regex.cH A D22-Jul-2005252.9 KiB8,2035,352

rename.cH A D28-Mar-2005633 3721

rindex.cH A D02-Apr-2005460 226

safe-ctype.cH A D10-May-200510.1 KiB256110

setenv.cH A D24-May-20054.5 KiB184114

sigsetmask.cH A D24-May-2005924 4119

snprintf.cH A D10-May-20052.1 KiB6116

sort.cH A D24-May-20054.8 KiB187101

spaces.cH A D24-May-20051.8 KiB7336

splay-tree.cH A D07-Nov-200512.9 KiB527340

stpcpy.cH A D10-May-20051.3 KiB4410

stpncpy.cH A D10-May-20051.5 KiB4812

strcasecmp.cH A D28-Mar-20054.2 KiB8855

strchr.cH A D28-Mar-2005528 2912

strdup.cH A D28-Mar-2005562 2814

strerror.cH A D28-Mar-200520.8 KiB810593

strncasecmp.cH A D28-Mar-20053.4 KiB8755

strncmp.cH A D28-Mar-2005634 3417

strndup.cH A D24-May-20051.6 KiB5618

strrchr.cH A D28-Mar-2005548 2911

strsignal.cH A D28-Mar-200514.9 KiB609366

strstr.cH A D02-Apr-20051 KiB4216

strtod.cH A D10-May-20053.4 KiB13778

strtol.cH A D02-Apr-20055.3 KiB16476

strtoul.cH A D28-Mar-20053.2 KiB11673

strverscmp.cH A D17-Aug-20055.2 KiB15860

ternary.cH A D24-May-20053.9 KiB158103

tmpnam.cH A D28-Mar-20051 KiB5328

unlink-if-ordinary.cH A D10-May-20052 KiB7328

vasprintf.cH A D10-May-20054.7 KiB197143

vfork.cH A D28-Mar-2005346 237

vfprintf.cH A D28-Mar-2005343 169

vmsbuild.comH A D08-Sep-19994.9 KiB166159

vprintf.cH A D28-Mar-2005848 279

vsnprintf.cH A D10-May-20054.1 KiB14684

vsprintf.cH A D10-May-20051.8 KiB5724

waitpid.cH A D02-Apr-2005777 3618

xatexit.cH A D16-Apr-20052.1 KiB10050

xexit.cH A D10-May-20051.5 KiB5316

xmalloc.cH A D24-May-20054.6 KiB18599

xmemdup.cH A D28-Mar-2005948 3919

xstrdup.cH A D24-May-2005720 3720

xstrerror.cH A D24-May-20052 KiB8045

xstrndup.cH A D24-May-20051.6 KiB6124

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