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

..--

config/22-Nov-2023-2013

testsuite/22-Nov-2023-7,0296,569

.gitignoreD22-Nov-202329 32

COPYING.LIBD22-Nov-202325.8 KiB

ChangeLogD22-Nov-2023314.5 KiB9,4786,683

ChangeLog.jitD22-Nov-2023794 2416

Makefile.inD22-Nov-202365.1 KiB1,7101,443

READMED22-Nov-20232.9 KiB7355

_doprnt.cD22-Nov-20237.3 KiB297239

aclocal.m4D22-Nov-20234.7 KiB176161

alloca.cD22-Nov-202313.7 KiB484271

argv.cD22-Nov-202313.1 KiB537309

asprintf.cD22-Nov-20231.8 KiB5616

at-file.texiD22-Nov-2023732 1613

atexit.cD22-Nov-2023488 289

basename.cD22-Nov-20231.3 KiB6339

bcmp.cD22-Nov-2023643 287

bcopy.cD22-Nov-2023694 3219

bsearch.cD22-Nov-20233.7 KiB9224

bzero.cD22-Nov-2023435 247

calloc.cD22-Nov-2023714 3514

choose-temp.cD22-Nov-20232 KiB7531

clock.cD22-Nov-20232.6 KiB10455

concat.cD22-Nov-20234.9 KiB218122

config.h-vmsD22-Nov-2023309 1512

config.inD22-Nov-202315 KiB566394

configureD22-Nov-2023236 KiB8,7087,255

configure.acD22-Nov-202321 KiB752647

configure.comD22-Nov-20231.1 KiB3938

copying-lib.texiD22-Nov-202326.1 KiB561474

copysign.cD22-Nov-20232.6 KiB155136

cp-demangle.cD22-Nov-2023169.7 KiB6,4844,759

cp-demangle.hD22-Nov-20235.9 KiB20096

cp-demint.cD22-Nov-20236.8 KiB234161

cplus-dem.cD22-Nov-2023120.7 KiB4,8863,562

crc32.cD22-Nov-20236.4 KiB18082

d-demangle.cD22-Nov-202335.9 KiB1,6031,224

dwarfnames.cD22-Nov-20233.1 KiB9964

dyn-string.cD22-Nov-202311 KiB398214

fdmatch.cD22-Nov-20232.1 KiB6923

ffs.cD22-Nov-2023465 2710

fibheap.cD22-Nov-202310.8 KiB487346

filename_cmp.cD22-Nov-20235.3 KiB222103

floatformat.cD22-Nov-202321.5 KiB777573

fnmatch.cD22-Nov-20235.3 KiB221139

fnmatch.txhD22-Nov-20231.9 KiB5039

fopen_unlocked.cD22-Nov-20233.4 KiB13049

functions.texiD22-Nov-202373.1 KiB2,0441,512

gather-docsD22-Nov-20233.3 KiB12970

getcwd.cD22-Nov-20231.2 KiB6338

getopt.cD22-Nov-202329.6 KiB1,053632

getopt1.cD22-Nov-20234.3 KiB181113

getpagesize.cD22-Nov-20232 KiB9158

getpwd.cD22-Nov-20232.5 KiB12984

getruntime.cD22-Nov-20233 KiB12167

gettimeofday.cD22-Nov-2023543 3118

hashtab.cD22-Nov-202328.6 KiB999626

hex.cD22-Nov-20236.8 KiB193113

index.cD22-Nov-2023448 226

insque.cD22-Nov-20231.1 KiB5218

lbasename.cD22-Nov-20232.3 KiB8536

libiberty.texiD22-Nov-202310.6 KiB316233

lrealpath.cD22-Nov-20234.7 KiB15886

maint-toolD22-Nov-20236.5 KiB300232

make-relative-prefix.cD22-Nov-202310.6 KiB428285

make-temp-file.cD22-Nov-20235.5 KiB218131

makefile.vmsD22-Nov-20231,016 3723

md5.cD22-Nov-202314 KiB441274

memchr.cD22-Nov-2023815 3414

memcmp.cD22-Nov-2023876 3614

memcpy.cD22-Nov-2023502 279

memmem.cD22-Nov-20232.2 KiB7228

memmove.cD22-Nov-2023533 279

mempcpy.cD22-Nov-20231.3 KiB438

memset.cD22-Nov-2023500 2710

mkstemps.cD22-Nov-20233.7 KiB15087

msdos.cD22-Nov-2023177 1612

objalloc.cD22-Nov-20237.2 KiB299174

obstack.cD22-Nov-202312.7 KiB377236

obstacks.texiD22-Nov-202330.5 KiB775635

partition.cD22-Nov-20234.8 KiB184108

pex-common.cD22-Nov-202315 KiB649479

pex-common.hD22-Nov-20236.1 KiB15459

pex-djgpp.cD22-Nov-20236.7 KiB297228

pex-msdos.cD22-Nov-20237.2 KiB318220

pex-one.cD22-Nov-20231.4 KiB4422

pex-unix.cD22-Nov-202319.6 KiB791586

pex-win32.cD22-Nov-202325.6 KiB

pexecute.cD22-Nov-20233.2 KiB12577

pexecute.txhD22-Nov-202311.7 KiB317239

physmem.cD22-Nov-20237.2 KiB306224

putenv.cD22-Nov-20232.2 KiB8540

random.cD22-Nov-202314 KiB405193

regex.cD22-Nov-2023253 KiB8,2055,352

rename.cD22-Nov-2023633 3721

rindex.cD22-Nov-2023460 226

safe-ctype.cD22-Nov-202310.1 KiB256110

setenv.cD22-Nov-20234.5 KiB184112

setproctitle.cD22-Nov-20231.4 KiB4915

sha1.cD22-Nov-202312.3 KiB416277

sigsetmask.cD22-Nov-2023902 4018

simple-object-coff.cD22-Nov-202322.9 KiB805594

simple-object-common.hD22-Nov-202310 KiB357201

simple-object-elf.cD22-Nov-202329.1 KiB974705

simple-object-mach-o.cD22-Nov-202339.9 KiB1,379996

simple-object-xcoff.cD22-Nov-202325.1 KiB899682

simple-object.cD22-Nov-20239.3 KiB442326

simple-object.txhD22-Nov-20237.5 KiB190138

snprintf.cD22-Nov-20232.2 KiB6214

sort.cD22-Nov-20234.8 KiB187101

spaces.cD22-Nov-20231.7 KiB7033

splay-tree.cD22-Nov-202314.7 KiB594374

stack-limit.cD22-Nov-20232 KiB6426

stpcpy.cD22-Nov-20231.3 KiB4410

stpncpy.cD22-Nov-20231.5 KiB4912

strcasecmp.cD22-Nov-20234.2 KiB8855

strchr.cD22-Nov-2023528 2912

strdup.cD22-Nov-2023562 2814

strerror.cD22-Nov-202320.8 KiB815597

strncasecmp.cD22-Nov-20233.4 KiB8755

strncmp.cD22-Nov-2023638 3517

strndup.cD22-Nov-20231.6 KiB5618

strnlen.cD22-Nov-2023585 3111

strrchr.cD22-Nov-2023548 2911

strsignal.cD22-Nov-202314.9 KiB611366

strstr.cD22-Nov-20231 KiB4216

strtod.cD22-Nov-20233.4 KiB13878

strtol.cD22-Nov-20235.3 KiB16676

strtoll.cD22-Nov-20235.5 KiB17682

strtoul.cD22-Nov-20233.2 KiB11673

strtoull.cD22-Nov-20233.4 KiB12377

strverscmp.cD22-Nov-20235.2 KiB15860

timeval-utils.cD22-Nov-20232.2 KiB8839

tmpnam.cD22-Nov-20231 KiB5328

unlink-if-ordinary.cD22-Nov-20232 KiB7328

vasprintf.cD22-Nov-20233.3 KiB12476

vfork.cD22-Nov-2023346 237

vfprintf.cD22-Nov-2023343 169

vprintf-support.cD22-Nov-20232.9 KiB

vprintf-support.hD22-Nov-20231 KiB231

vprintf.cD22-Nov-2023856 299

vsnprintf.cD22-Nov-20234.1 KiB14782

vsprintf.cD22-Nov-20231.8 KiB5724

waitpid.cD22-Nov-2023777 3618

xasprintf.cD22-Nov-20231.4 KiB5116

xatexit.cD22-Nov-20232.1 KiB10050

xexit.cD22-Nov-20231.5 KiB5316

xmalloc.cD22-Nov-20234.6 KiB18699

xmemdup.cD22-Nov-20231 KiB4221

xstrdup.cD22-Nov-2023720 3720

xstrerror.cD22-Nov-20232 KiB8045

xstrndup.cD22-Nov-20231.6 KiB6124

xvasprintf.cD22-Nov-20231.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