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

..07-May-2022-

config/H23-Jun-2015-2013

testsuite/H23-Jun-2015-5,5925,199

.gitignoreH A D18-Jan-201129 32

ChangeLogH A D23-Jun-2015292.2 KiB8,8256,198

Makefile.inH A D02-Jan-201346.8 KiB1,2821,020

READMEH A D25-Nov-20092.9 KiB7355

_doprnt.cH A D10-May-20057.4 KiB297239

aclocal.m4H A D20-Dec-20114.7 KiB176161

alloca.cH A D24-May-200513.7 KiB484271

argv.cH A D29-Aug-201213.2 KiB541313

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 D26-Oct-2006694 3219

bsearch.cH A D03-Feb-20113.7 KiB9224

bzero.cH A D02-Apr-2005435 247

calloc.cH A D26-Mar-2005714 3514

choose-temp.cH A D22-Sep-20092.1 KiB7632

clock.cH A D10-May-20052.6 KiB10455

concat.cH A D03-Feb-20115.8 KiB235127

config.h-vmsH A D15-Sep-2009309 1512

config.inH A D18-Sep-201213.3 KiB500343

configureH A D18-Sep-2012222.5 KiB8,2806,911

configure.acH A D18-Sep-201220 KiB720620

configure.comH A D02-Sep-20091.1 KiB3938

copying-lib.texiH A D29-Jun-201226.1 KiB561474

copysign.cH A D26-Mar-20052.6 KiB155136

cp-demangle.cH A D03-Apr-2013153.6 KiB5,9514,363

cp-demangle.hH A D03-Jan-20115.4 KiB17071

cp-demint.cH A D20-Apr-20116.8 KiB233160

cplus-dem.cH A D20-Apr-2011120.3 KiB4,8633,540

crc32.cH A D03-Feb-20116.5 KiB18282

dwarfnames.cH A D27-Apr-20123.1 KiB9964

dyn-string.cH A D22-Nov-200911 KiB398214

fdmatch.cH A D10-May-20052.1 KiB6923

ffs.cH A D27-Mar-2005465 2710

fibheap.cH A D29-May-200910.8 KiB487346

filename_cmp.cH A D13-Jul-20124.6 KiB19389

floatformat.cH A D17-Aug-201221.2 KiB766563

fnmatch.cH A D24-May-20055.3 KiB221139

fnmatch.txhH A D03-Feb-20111.9 KiB5039

fopen_unlocked.cH A D03-Feb-20113.4 KiB13049

functions.texiH A D18-Sep-201271.2 KiB1,9991,479

gather-docsH A D03-Feb-20113.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 D03-Feb-201128.4 KiB991619

hex.cH A D31-Jan-20076.8 KiB193113

index.cH A D02-Apr-2005448 226

insque.cH A D03-Feb-20111.1 KiB5218

lbasename.cH A D03-Jan-20112.3 KiB8536

libiberty.texiH A D06-Mar-201310.6 KiB316233

lrealpath.cH A D24-May-20054.7 KiB15886

maint-toolH A D18-Sep-20126.3 KiB297229

make-relative-prefix.cH A D26-Jan-201210.6 KiB428285

make-temp-file.cH A D03-Jan-20115.5 KiB218131

makefile.vmsH A D31-Mar-2011995 3622

md5.cH A D31-Jan-201314 KiB441274

memchr.cH A D03-Feb-2011815 3414

memcmp.cH A D03-Feb-2011876 3614

memcpy.cH A D03-Feb-2011502 279

memmem.cH A D03-Feb-20112.2 KiB7228

memmove.cH A D03-Feb-2011533 279

mempcpy.cH A D03-Feb-20111.3 KiB438

memset.cH A D03-Feb-2011500 2710

mkstemps.cH A D31-Jul-20083.7 KiB14885

msdos.cH A D15-May-1998177 1612

objalloc.cH A D18-Sep-20127.2 KiB299174

obstack.cH A D10-May-200515.9 KiB511307

obstacks.texiH A D06-Mar-201329.7 KiB762624

partition.cH A D21-Feb-20064.8 KiB184108

pex-common.cH A D20-Apr-201114.9 KiB647477

pex-common.hH A D13-Apr-20096.1 KiB15459

pex-djgpp.cH A D13-Apr-20096.7 KiB295226

pex-msdos.cH A D20-Apr-20117.2 KiB318220

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

pex-unix.cH A D04-Apr-201219.6 KiB791585

pex-win32.cH A D26-Jul-201224.9 KiB952675

pexecute.cH A D21-Feb-20063.2 KiB12577

pexecute.txhH A D03-Feb-201111.7 KiB317239

physmem.cH A D10-May-20057.2 KiB306224

putenv.cH A D10-May-20052.2 KiB8540

random.cH A D03-Feb-201114 KiB405193

regex.cH A D09-Feb-2013253 KiB8,2055,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 D03-Feb-20114.5 KiB186114

setproctitle.cH A D29-Oct-20111.4 KiB4915

sha1.cH A D31-Jan-201312.3 KiB416277

sigsetmask.cH A D24-May-2005924 4119

simple-object-coff.cH A D17-Nov-201022.9 KiB805594

simple-object-common.hH A D02-Jan-201310 KiB357201

simple-object-elf.cH A D17-Nov-201028.5 KiB954684

simple-object-mach-o.cH A D05-Mar-201339.9 KiB1,379996

simple-object-xcoff.cH A D02-Jan-201325.1 KiB899682

simple-object.cH A D02-Jan-20139.1 KiB424306

simple-object.txhH A D03-Feb-20117.5 KiB190138

snprintf.cH A D03-Feb-20112.3 KiB6416

sort.cH A D24-May-20054.8 KiB187101

spaces.cH A D20-Apr-20111.7 KiB7033

splay-tree.cH A D03-Feb-201114.7 KiB594374

stack-limit.cH A D02-Apr-20122 KiB6426

stpcpy.cH A D10-May-20051.3 KiB4410

stpncpy.cH A D03-Feb-20111.5 KiB4912

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 D03-Feb-2011638 3517

strndup.cH A D24-May-20051.6 KiB5618

strnlen.cH A D18-Sep-2012585 3111

strrchr.cH A D28-Mar-2005548 2911

strsignal.cH A D19-Jun-200814.9 KiB611366

strstr.cH A D02-Apr-20051 KiB4216

strtod.cH A D03-Feb-20113.4 KiB13878

strtol.cH A D03-Feb-20115.3 KiB16676

strtoul.cH A D28-Mar-20053.2 KiB11673

strverscmp.cH A D17-Aug-20055.2 KiB15860

timeval-utils.cH A D28-Sep-20112.2 KiB8839

tmpnam.cH A D28-Mar-20051 KiB5328

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

vasprintf.cH A D03-Feb-20114.7 KiB198143

vfork.cH A D28-Mar-2005346 237

vfprintf.cH A D28-Mar-2005343 169

vprintf.cH A D03-Feb-2011856 299

vsnprintf.cH A D03-Feb-20114.2 KiB14984

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 D03-Feb-2011952 4019

xstrdup.cH A D08-Oct-2008720 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.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