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

..07-May-2022-

config/H14-May-2021-2013

testsuite/H14-May-2021-7,8757,321

.gitignoreH A D14-May-202129 32

ChangeLogH A D14-May-2021335.4 KiB10,1237,155

ChangeLog.jitH A D14-May-2021794 2416

Makefile.inH A D14-May-202165.5 KiB1,7221,456

READMEH A D14-May-20212.9 KiB7355

_doprnt.cH A D14-May-20217.3 KiB297239

aclocal.m4H A D14-May-20214.7 KiB176161

alloca.cH A D14-May-202113.7 KiB484271

argv.cH A D14-May-202113.5 KiB556328

asprintf.cH A D14-May-20211.8 KiB5616

at-file.texiH A D14-May-2021732 1613

atexit.cH A D14-May-2021488 289

basename.cH A D14-May-20211.3 KiB6339

bcmp.cH A D14-May-2021643 287

bcopy.cH A D14-May-2021694 3219

bsearch.cH A D14-May-20213.7 KiB9224

bzero.cH A D14-May-2021435 247

calloc.cH A D14-May-2021714 3514

choose-temp.cH A D14-May-20212 KiB7531

clock.cH A D14-May-20212.6 KiB10455

concat.cH A D14-May-20214.9 KiB218122

config.h-vmsH A D14-May-2021309 1512

config.inH A D14-May-202115.1 KiB570397

configureH A D14-May-2021236.5 KiB8,7307,274

configure.acH A D14-May-202121 KiB754649

configure.comH A D14-May-20211.1 KiB3938

copying-lib.texiH A D14-May-202126.1 KiB561474

copysign.cH A D14-May-20212.6 KiB155136

cp-demangle.cH A D14-May-2021175.7 KiB6,7734,971

cp-demangle.hH A D14-May-20215.7 KiB19595

cp-demint.cH A D14-May-20217 KiB238165

cplus-dem.cH A D14-May-2021124.2 KiB5,0333,693

crc32.cH A D14-May-20216.4 KiB18082

d-demangle.cH A D14-May-202137.8 KiB1,6471,222

dwarfnames.cH A D14-May-20213.4 KiB11277

dyn-string.cH A D14-May-202111 KiB398214

fdmatch.cH A D14-May-20212.1 KiB6923

ffs.cH A D14-May-2021465 2710

fibheap.cH A D14-May-202110.8 KiB487346

filename_cmp.cH A D14-May-20215.3 KiB222103

floatformat.cH A D14-May-202121.5 KiB776573

fnmatch.cH A D14-May-20215.3 KiB221139

fnmatch.txhH A D14-May-20211.9 KiB5039

fopen_unlocked.cH A D14-May-20213.4 KiB13049

functions.texiH A D14-May-202173.1 KiB2,0441,512

gather-docsH A D14-May-20213.3 KiB12870

getcwd.cH A D14-May-20211.2 KiB6338

getopt.cH A D14-May-202129.5 KiB1,052632

getopt1.cH A D14-May-20214.3 KiB180113

getpagesize.cH A D14-May-20212 KiB9158

getpwd.cH A D14-May-20212.5 KiB12984

getruntime.cH A D14-May-20213 KiB12167

gettimeofday.cH A D14-May-2021543 3118

hashtab.cH A D14-May-202128.8 KiB998626

hex.cH A D14-May-20216.8 KiB193113

index.cH A D14-May-2021448 226

insque.cH A D14-May-20211.1 KiB5218

lbasename.cH A D14-May-20212.3 KiB8536

libiberty.texiH A D14-May-202110.5 KiB314231

lrealpath.cH A D14-May-20214.7 KiB15886

maint-toolH A D14-May-20216.5 KiB299232

make-relative-prefix.cH A D14-May-202110.6 KiB432290

make-temp-file.cH A D14-May-20215.5 KiB217131

makefile.vmsH A D14-May-20211,016 3723

md5.cH A D14-May-202114 KiB441274

memchr.cH A D14-May-2021815 3414

memcmp.cH A D14-May-2021876 3614

memcpy.cH A D14-May-2021502 279

memmem.cH A D14-May-20212.1 KiB7228

memmove.cH A D14-May-2021533 279

mempcpy.cH A D14-May-20211.3 KiB438

memset.cH A D14-May-2021500 2710

mkstemps.cH A D14-May-20213.7 KiB15087

msdos.cH A D14-May-2021177 1612

objalloc.cH A D14-May-20217.2 KiB299174

obstack.cH A D14-May-202112.7 KiB377236

obstacks.texiH A D14-May-202130.5 KiB775635

partition.cH A D14-May-20214.8 KiB184108

pex-common.cH A D14-May-202115 KiB649479

pex-common.hH A D14-May-20216 KiB15359

pex-djgpp.cH A D14-May-20216.7 KiB296228

pex-msdos.cH A D14-May-20217.2 KiB317220

pex-one.cH A D14-May-20211.4 KiB4422

pex-unix.cH A D14-May-202119.5 KiB790586

pex-win32.cH A D14-May-202125.6 KiB985705

pexecute.cH A D14-May-20213.2 KiB12577

pexecute.txhH A D14-May-202111.7 KiB317239

physmem.cH A D14-May-20217.1 KiB306224

putenv.cH A D14-May-20212.1 KiB8540

random.cH A D14-May-202114 KiB405193

regex.cH A D14-May-2021253 KiB8,2085,353

rename.cH A D14-May-2021633 3721

rindex.cH A D14-May-2021460 226

rust-demangle.cH A D14-May-20219.8 KiB349206

safe-ctype.cH A D14-May-202110 KiB255110

setenv.cH A D14-May-20214.4 KiB183112

setproctitle.cH A D14-May-20211.4 KiB4915

sha1.cH A D14-May-202112.3 KiB415277

sigsetmask.cH A D14-May-2021902 4018

simple-object-coff.cH A D14-May-202122.9 KiB806595

simple-object-common.hH A D14-May-202110.2 KiB363205

simple-object-elf.cH A D14-May-202148.4 KiB1,5901,217

simple-object-mach-o.cH A D14-May-202139.9 KiB1,380997

simple-object-xcoff.cH A D14-May-202129.5 KiB1,063814

simple-object.cH A D14-May-202112.6 KiB546402

simple-object.txhH A D14-May-20217.5 KiB190138

snprintf.cH A D14-May-20212.2 KiB6214

sort.cH A D14-May-20214.8 KiB187101

spaces.cH A D14-May-20211.8 KiB7033

splay-tree.cH A D14-May-202114.7 KiB593374

stack-limit.cH A D14-May-20212 KiB6426

stpcpy.cH A D14-May-20211.3 KiB4410

stpncpy.cH A D14-May-20211.5 KiB4912

strcasecmp.cH A D14-May-20214.2 KiB8855

strchr.cH A D14-May-2021528 2912

strdup.cH A D14-May-2021562 2814

strerror.cH A D14-May-202120.8 KiB815597

strncasecmp.cH A D14-May-20213.4 KiB8755

strncmp.cH A D14-May-2021638 3517

strndup.cH A D14-May-20211.6 KiB5316

strnlen.cH A D14-May-2021585 3111

strrchr.cH A D14-May-2021548 2911

strsignal.cH A D14-May-202114.9 KiB611366

strstr.cH A D14-May-20211 KiB4216

strtod.cH A D14-May-20213.4 KiB13878

strtol.cH A D14-May-20215.3 KiB16676

strtoll.cH A D14-May-20215.5 KiB17682

strtoul.cH A D14-May-20213.2 KiB11673

strtoull.cH A D14-May-20213.4 KiB12377

strverscmp.cH A D14-May-20215.2 KiB15860

timeval-utils.cH A D14-May-20212.2 KiB8839

tmpnam.cH A D14-May-20211 KiB5328

unlink-if-ordinary.cH A D14-May-20212 KiB7328

vasprintf.cH A D14-May-20213.3 KiB12476

vfork.cH A D14-May-2021346 237

vfprintf.cH A D14-May-2021348 169

vprintf-support.cH A D14-May-20212.9 KiB12091

vprintf-support.hH A D14-May-20211,011 231

vprintf.cH A D14-May-2021856 299

vsnprintf.cH A D14-May-20214.1 KiB14782

vsprintf.cH A D14-May-20211.8 KiB5724

waitpid.cH A D14-May-2021868 4122

xasprintf.cH A D14-May-20211.4 KiB5116

xatexit.cH A D14-May-20212.1 KiB10050

xexit.cH A D14-May-20211.5 KiB5316

xmalloc.cH A D14-May-20214.6 KiB18599

xmemdup.cH A D14-May-20211 KiB4221

xstrdup.cH A D14-May-2021720 3720

xstrerror.cH A D14-May-20212 KiB8045

xstrndup.cH A D14-May-20211.6 KiB5822

xvasprintf.cH A D14-May-20211.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