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

..07-May-2022-

config/H28-Jan-2020-2013

testsuite/H28-Jan-2020-7,8757,321

ChangeLogH A D18-Mar-2018332.9 KiB10,0267,091

ChangeLog.jitH A D18-Mar-2018794 2416

Makefile.inH A D03-May-202265.4 KiB1,7211,455

READMEH A D10-Feb-20122.9 KiB7355

_doprnt.cH A D18-Mar-20187.3 KiB297239

aclocal.m4H A D05-Nov-20124.7 KiB176161

alloca.cH A D10-Feb-201213.7 KiB484271

argv.cH A D18-Mar-201813.4 KiB556328

asprintf.cH A D18-Mar-20181.8 KiB5616

at-file.texiH A D10-Feb-2012732 1613

atexit.cH A D10-Feb-2012488 289

basename.cH A D10-Feb-20121.3 KiB6339

bcmp.cH A D10-Feb-2012643 287

bcopy.cH A D10-Feb-2012694 3219

bsearch.cH A D10-Feb-20123.7 KiB9224

bzero.cH A D10-Feb-2012435 247

calloc.cH A D10-Feb-2012714 3514

choose-temp.cH A D18-Mar-20182 KiB7531

clock.cH A D18-Mar-20182.6 KiB10455

concat.cH A D18-Mar-20184.9 KiB218122

config.h-vmsH A D10-Feb-2012309 1512

config.inH A D18-Mar-201815.1 KiB570397

configureH A D18-Mar-2018236.5 KiB8,7307,274

configure.acH A D18-Mar-201821 KiB754649

configure.comH A D10-Feb-20121.1 KiB3938

copying-lib.texiH A D18-Mar-201826.1 KiB561474

copysign.cH A D10-Feb-20122.6 KiB155136

cp-demangle.cH A D18-Mar-2018175.7 KiB6,7734,971

cp-demangle.hH A D18-Mar-20185.7 KiB19595

cp-demint.cH A D18-Mar-20187 KiB238165

cplus-dem.cH A D18-Mar-2018124.2 KiB5,0333,693

crc32.cH A D18-Mar-20186.4 KiB18082

d-demangle.cH A D18-Mar-201837.8 KiB1,6471,222

dwarfnames.cH A D18-Mar-20183.4 KiB11277

dyn-string.cH A D18-Mar-201811 KiB398214

fdmatch.cH A D18-Mar-20182.1 KiB6923

ffs.cH A D10-Feb-2012465 2710

fibheap.cH A D18-Mar-201810.8 KiB487346

filename_cmp.cH A D18-Mar-20185.3 KiB222103

floatformat.cH A D18-Mar-201821.5 KiB776573

fnmatch.cH A D18-Mar-20185.3 KiB221139

fnmatch.txhH A D10-Feb-20121.9 KiB5039

fopen_unlocked.cH A D18-Mar-20183.4 KiB13049

functions.texiH A D18-Mar-201873.1 KiB2,0441,512

gather-docsH A D18-Mar-20183.3 KiB12870

getcwd.cH A D10-Feb-20121.2 KiB6338

getopt.cH A D18-Mar-201829.5 KiB1,052632

getopt1.cH A D18-Mar-20184.3 KiB180113

getpagesize.cH A D10-Feb-20122 KiB9158

getpwd.cH A D18-Mar-20182.6 KiB13488

getruntime.cH A D18-Mar-20183 KiB12167

gettimeofday.cH A D10-Feb-2012543 3118

hashtab.cH A D18-Mar-201828.8 KiB998626

hex.cH A D18-Mar-20186.8 KiB193113

index.cH A D10-Feb-2012448 226

insque.cH A D10-Feb-20121.1 KiB5218

lbasename.cH A D18-Mar-20182.3 KiB8536

libiberty.texiH A D18-Mar-201810.5 KiB314231

lrealpath.cH A D18-Mar-20184.7 KiB15886

maint-toolH A D18-Mar-20186.5 KiB299232

make-relative-prefix.cH A D18-Mar-201810.6 KiB432290

make-temp-file.cH A D18-Mar-20185.5 KiB217131

makefile.vmsH A D01-Jul-20151,016 3723

md5.cH A D18-Mar-201814 KiB441274

memchr.cH A D10-Feb-2012815 3414

memcmp.cH A D10-Feb-2012876 3614

memcpy.cH A D10-Feb-2012502 279

memmem.cH A D18-Mar-20182.1 KiB7228

memmove.cH A D10-Feb-2012533 279

mempcpy.cH A D18-Mar-20181.3 KiB438

memset.cH A D10-Feb-2012500 2710

mkstemps.cH A D18-Mar-20183.7 KiB15087

msdos.cH A D10-Feb-2012177 1612

objalloc.cH A D18-Mar-20187.2 KiB299174

obstack.cH A D18-Mar-201812.7 KiB377236

obstacks.texiH A D18-Mar-201830.5 KiB775635

partition.cH A D18-Mar-20184.8 KiB184108

pex-common.cH A D18-Mar-201815 KiB649479

pex-common.hH A D18-Mar-20186 KiB15359

pex-djgpp.cH A D18-Mar-20186.7 KiB296228

pex-msdos.cH A D18-Mar-20187.2 KiB317220

pex-one.cH A D18-Mar-20181.4 KiB4422

pex-unix.cH A D18-Mar-201819.5 KiB790586

pex-win32.cH A D18-Mar-201825.6 KiB985705

pexecute.cH A D18-Mar-20183.2 KiB12577

pexecute.txhH A D10-Feb-201211.7 KiB317239

physmem.cH A D18-Mar-20187.1 KiB306224

putenv.cH A D18-Mar-20182.1 KiB8540

random.cH A D10-Feb-201214 KiB405193

regex.cH A D18-Mar-2018253 KiB8,2085,353

rename.cH A D10-Feb-2012633 3721

rindex.cH A D10-Feb-2012460 226

rust-demangle.cH A D18-Mar-20189.8 KiB349206

safe-ctype.cH A D18-Mar-201810 KiB255110

setenv.cH A D18-Mar-20184.4 KiB183112

setproctitle.cH A D18-Mar-20181.4 KiB4915

sha1.cH A D18-Mar-201812.3 KiB415277

sigsetmask.cH A D18-Mar-2018902 4018

simple-object-coff.cH A D18-Mar-201822.9 KiB806595

simple-object-common.hH A D18-Mar-201810.2 KiB363205

simple-object-elf.cH A D15-Dec-201844.8 KiB1,4791,121

simple-object-mach-o.cH A D18-Mar-201839.9 KiB1,380997

simple-object-xcoff.cH A D18-Mar-201829.3 KiB1,054810

simple-object.cH A D18-Mar-201811.7 KiB526389

simple-object.txhH A D10-Feb-20127.5 KiB190138

snprintf.cH A D18-Mar-20182.2 KiB6214

sort.cH A D18-Mar-20184.8 KiB187101

spaces.cH A D18-Mar-20181.8 KiB7033

splay-tree.cH A D18-Mar-201814.7 KiB593374

stack-limit.cH A D18-Mar-20182 KiB6426

stpcpy.cH A D18-Mar-20181.3 KiB4410

stpncpy.cH A D18-Mar-20181.5 KiB4912

strcasecmp.cH A D10-Feb-20124.2 KiB8855

strchr.cH A D10-Feb-2012528 2912

strdup.cH A D10-Feb-2012562 2814

strerror.cH A D18-Mar-201820.8 KiB815597

strncasecmp.cH A D10-Feb-20123.4 KiB8755

strncmp.cH A D10-Feb-2012638 3517

strndup.cH A D18-Mar-20181.6 KiB5316

strnlen.cH A D01-Jul-2015585 3111

strrchr.cH A D10-Feb-2012548 2911

strsignal.cH A D10-Feb-201214.9 KiB611366

strstr.cH A D10-Feb-20121 KiB4216

strtod.cH A D18-Mar-20183.4 KiB13878

strtol.cH A D10-Feb-20125.3 KiB16676

strtoll.cH A D18-Mar-20185.5 KiB17682

strtoul.cH A D10-Feb-20123.2 KiB11673

strtoull.cH A D18-Mar-20183.4 KiB12377

strverscmp.cH A D18-Mar-20185.2 KiB15860

timeval-utils.cH A D18-Mar-20182.2 KiB8839

tmpnam.cH A D10-Feb-20121 KiB5328

unlink-if-ordinary.cH A D18-Mar-20182 KiB7328

vasprintf.cH A D18-Mar-20183.3 KiB12476

vfork.cH A D10-Feb-2012346 237

vfprintf.cH A D18-Mar-2018348 169

vprintf-support.cH A D18-Mar-20182.9 KiB12091

vprintf-support.hH A D18-Mar-20181,011 231

vprintf.cH A D10-Feb-2012856 299

vsnprintf.cH A D18-Mar-20184.1 KiB14782

vsprintf.cH A D18-Mar-20181.8 KiB5724

waitpid.cH A D18-Mar-2018868 4122

xasprintf.cH A D18-Mar-20181.4 KiB5116

xatexit.cH A D10-Feb-20122.1 KiB10050

xexit.cH A D18-Mar-20181.5 KiB5316

xmalloc.cH A D18-Mar-20184.6 KiB18599

xmemdup.cH A D18-Mar-20181 KiB4221

xstrdup.cH A D10-Feb-2012720 3720

xstrerror.cH A D10-Feb-20122 KiB8045

xstrndup.cH A D18-Mar-20181.6 KiB5822

xvasprintf.cH A D18-Mar-20181.8 KiB6228

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