|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 07-May-2022 | - |
| config/ | H | 11-Oct-2012 | - | 20 | 13 |
| testsuite/ | H | 11-Oct-2012 | - | 4,107 | 3,984 |
| ChangeLog | H A D | 11-Oct-2012 | 202.7 KiB | 6,081 | 4,182 |
| Makefile.in | H A D | 11-Oct-2012 | 37.1 KiB | 1,057 | 826 |
| README | H A D | 11-Oct-2012 | 2.6 KiB | 67 | 50 |
| _doprnt.c | H A D | 11-Oct-2012 | 7.5 KiB | 304 | 246 |
| acconfig.h | H A D | 11-Oct-2012 | 84 | 4 | 1 |
| aclocal.m4 | H A D | 11-Oct-2012 | 6.7 KiB | 232 | 214 |
| alloca.c | H A D | 11-Oct-2012 | 13.6 KiB | 479 | 266 |
| argv.c | H A D | 11-Oct-2012 | 7.8 KiB | 356 | 224 |
| asprintf.c | H A D | 11-Oct-2012 | 1.8 KiB | 58 | 18 |
| atexit.c | H A D | 11-Oct-2012 | 492 | 29 | 10 |
| basename.c | H A D | 11-Oct-2012 | 1.2 KiB | 61 | 37 |
| bcmp.c | H A D | 11-Oct-2012 | 668 | 37 | 16 |
| bcopy.c | H A D | 11-Oct-2012 | 579 | 28 | 16 |
| bsearch.c | H A D | 11-Oct-2012 | 3.7 KiB | 93 | 27 |
| bzero.c | H A D | 11-Oct-2012 | 410 | 26 | 10 |
| calloc.c | H A D | 11-Oct-2012 | 807 | 40 | 19 |
| choose-temp.c | H A D | 11-Oct-2012 | 2 KiB | 73 | 29 |
| clock.c | H A D | 11-Oct-2012 | 2.6 KiB | 104 | 55 |
| concat.c | H A D | 11-Oct-2012 | 5.9 KiB | 237 | 131 |
| config.h-vms | H A D | 11-Oct-2012 | 201 | 14 | 12 |
| config.in | H A D | 11-Oct-2012 | 9.9 KiB | 377 | 253 |
| config.table | H A D | 11-Oct-2012 | 1.7 KiB | 69 | 61 |
| configure | H A D | 11-Oct-2012 | 205 KiB | 7,350 | 6,140 |
| configure.ac | H A D | 11-Oct-2012 | 15.2 KiB | 531 | 454 |
| copying-lib.texi | H A D | 11-Oct-2012 | 26.2 KiB | 566 | 479 |
| copysign.c | H A D | 11-Oct-2012 | 2.6 KiB | 157 | 138 |
| cp-demangle.c | H A D | 11-Oct-2012 | 106.8 KiB | 4,350 | 3,152 |
| cp-demangle.h | H A D | 11-Oct-2012 | 4.4 KiB | 140 | 54 |
| cp-demint.c | H A D | 11-Oct-2012 | 6.8 KiB | 242 | 169 |
| cplus-dem.c | H A D | 11-Oct-2012 | 117.7 KiB | 4,911 | 3,606 |
| dyn-string.c | H A D | 11-Oct-2012 | 11.7 KiB | 443 | 253 |
| fdmatch.c | H A D | 11-Oct-2012 | 2 KiB | 68 | 22 |
| ffs.c | H A D | 11-Oct-2012 | 473 | 28 | 11 |
| fibheap.c | H A D | 11-Oct-2012 | 11 KiB | 524 | 386 |
| floatformat.c | H A D | 11-Oct-2012 | 16.8 KiB | 621 | 469 |
| fnmatch.c | H A D | 11-Oct-2012 | 5.4 KiB | 224 | 142 |
| fnmatch.txh | H A D | 11-Oct-2012 | 1.9 KiB | 49 | 38 |
| functions.texi | H A D | 11-Oct-2012 | 41.5 KiB | 1,157 | 840 |
| gather-docs | H A D | 11-Oct-2012 | 3.3 KiB | 129 | 70 |
| getcwd.c | H A D | 11-Oct-2012 | 1.2 KiB | 65 | 40 |
| getopt.c | H A D | 11-Oct-2012 | 29.4 KiB | 1,057 | 636 |
| getopt1.c | H A D | 11-Oct-2012 | 4.4 KiB | 191 | 123 |
| getpagesize.c | H A D | 11-Oct-2012 | 2 KiB | 91 | 58 |
| getpwd.c | H A D | 11-Oct-2012 | 2.6 KiB | 131 | 85 |
| getruntime.c | H A D | 11-Oct-2012 | 3 KiB | 117 | 64 |
| hashtab.c | H A D | 11-Oct-2012 | 23 KiB | 854 | 542 |
| hex.c | H A D | 11-Oct-2012 | 6.7 KiB | 190 | 110 |
| index.c | H A D | 11-Oct-2012 | 435 | 24 | 8 |
| insque.c | H A D | 11-Oct-2012 | 1.1 KiB | 54 | 21 |
| lbasename.c | H A D | 11-Oct-2012 | 1.9 KiB | 63 | 18 |
| libiberty.texi | H A D | 11-Oct-2012 | 10.9 KiB | 325 | 240 |
| lrealpath.c | H A D | 11-Oct-2012 | 3.7 KiB | 129 | 68 |
| maint-tool | H A D | 11-Oct-2012 | 6.3 KiB | 298 | 230 |
| make-relative-prefix.c | H A D | 11-Oct-2012 | 9.7 KiB | 397 | 270 |
| make-temp-file.c | H A D | 11-Oct-2012 | 4.3 KiB | 180 | 99 |
| makefile.vms | H A D | 11-Oct-2012 | 813 | 34 | 19 |
| md5.c | H A D | 11-Oct-2012 | 13.3 KiB | 430 | 269 |
| memchr.c | H A D | 11-Oct-2012 | 912 | 40 | 21 |
| memcmp.c | H A D | 11-Oct-2012 | 971 | 42 | 21 |
| memcpy.c | H A D | 11-Oct-2012 | 603 | 33 | 16 |
| memmove.c | H A D | 11-Oct-2012 | 629 | 33 | 16 |
| mempcpy.c | H A D | 11-Oct-2012 | 1.4 KiB | 49 | 15 |
| memset.c | H A D | 11-Oct-2012 | 592 | 33 | 17 |
| mkstemps.c | H A D | 11-Oct-2012 | 3.6 KiB | 143 | 82 |
| mpw-config.in | H A D | 11-Oct-2012 | 163 | 8 | 3 |
| mpw-make.sed | H A D | 11-Oct-2012 | 1.4 KiB | 52 | 33 |
| mpw.c | H A D | 11-Oct-2012 | 19.5 KiB | 1,011 | 770 |
| msdos.c | H A D | 11-Oct-2012 | 177 | 16 | 12 |
| objalloc.c | H A D | 11-Oct-2012 | 7 KiB | 299 | 178 |
| obstack.c | H A D | 11-Oct-2012 | 17.4 KiB | 594 | 386 |
| obstacks.texi | H A D | 11-Oct-2012 | 29.5 KiB | 759 | 621 |
| partition.c | H A D | 11-Oct-2012 | 4.9 KiB | 192 | 116 |
| pex-common.h | H A D | 11-Oct-2012 | 1.4 KiB | 43 | 10 |
| pex-djgpp.c | H A D | 11-Oct-2012 | 2.9 KiB | 104 | 59 |
| pex-mpw.c | H A D | 11-Oct-2012 | 4.5 KiB | 162 | 98 |
| pex-msdos.c | H A D | 11-Oct-2012 | 3.7 KiB | 148 | 100 |
| pex-os2.c | H A D | 11-Oct-2012 | 2 KiB | 73 | 42 |
| pex-unix.c | H A D | 11-Oct-2012 | 4.3 KiB | 167 | 111 |
| pex-win32.c | H A D | 11-Oct-2012 | 6.6 KiB | 251 | 162 |
| pexecute.txh | H A D | 11-Oct-2012 | 2.5 KiB | 64 | 45 |
| physmem.c | H A D | 11-Oct-2012 | 7.1 KiB | 306 | 224 |
| putenv.c | H A D | 11-Oct-2012 | 2.2 KiB | 86 | 41 |
| random.c | H A D | 11-Oct-2012 | 14 KiB | 409 | 198 |
| regex.c | H A D | 11-Oct-2012 | 253.2 KiB | 8,320 | 5,468 |
| rename.c | H A D | 11-Oct-2012 | 655 | 39 | 23 |
| rindex.c | H A D | 11-Oct-2012 | 447 | 24 | 8 |
| safe-ctype.c | H A D | 11-Oct-2012 | 10 KiB | 255 | 110 |
| setenv.c | H A D | 11-Oct-2012 | 4.5 KiB | 188 | 118 |
| sigsetmask.c | H A D | 11-Oct-2012 | 924 | 42 | 20 |
| snprintf.c | H A D | 11-Oct-2012 | 2.2 KiB | 66 | 21 |
| sort.c | H A D | 11-Oct-2012 | 4.9 KiB | 191 | 105 |
| spaces.c | H A D | 11-Oct-2012 | 1.7 KiB | 71 | 34 |
| splay-tree.c | H A D | 11-Oct-2012 | 13 KiB | 560 | 374 |
| stpcpy.c | H A D | 11-Oct-2012 | 1.4 KiB | 50 | 16 |
| stpncpy.c | H A D | 11-Oct-2012 | 1.6 KiB | 55 | 19 |
| strcasecmp.c | H A D | 11-Oct-2012 | 4.2 KiB | 93 | 60 |
| strchr.c | H A D | 11-Oct-2012 | 538 | 31 | 14 |
| strdup.c | H A D | 11-Oct-2012 | 662 | 33 | 19 |
| strerror.c | H A D | 11-Oct-2012 | 20.8 KiB | 813 | 596 |
| strncasecmp.c | H A D | 11-Oct-2012 | 3.5 KiB | 93 | 61 |
| strncmp.c | H A D | 11-Oct-2012 | 709 | 40 | 23 |
| strrchr.c | H A D | 11-Oct-2012 | 558 | 31 | 13 |
| strsignal.c | H A D | 11-Oct-2012 | 15 KiB | 619 | 375 |
| strstr.c | H A D | 11-Oct-2012 | 1,011 | 44 | 20 |
| strtod.c | H A D | 11-Oct-2012 | 3.4 KiB | 139 | 80 |
| strtol.c | H A D | 11-Oct-2012 | 5.3 KiB | 167 | 79 |
| strtoul.c | H A D | 11-Oct-2012 | 3.3 KiB | 119 | 76 |
| ternary.c | H A D | 11-Oct-2012 | 4 KiB | 167 | 112 |
| tmpnam.c | H A D | 11-Oct-2012 | 1 KiB | 54 | 29 |
| vasprintf.c | H A D | 11-Oct-2012 | 4.7 KiB | 203 | 149 |
| vfork.c | H A D | 11-Oct-2012 | 351 | 23 | 7 |
| vfprintf.c | H A D | 11-Oct-2012 | 428 | 23 | 16 |
| vmsbuild.com | H A D | 11-Oct-2012 | 4.9 KiB | 166 | 159 |
| vprintf.c | H A D | 11-Oct-2012 | 927 | 33 | 15 |
| vsnprintf.c | H A D | 11-Oct-2012 | 4.2 KiB | 154 | 92 |
| vsprintf.c | H A D | 11-Oct-2012 | 1.9 KiB | 64 | 31 |
| waitpid.c | H A D | 11-Oct-2012 | 768 | 37 | 19 |
| xatexit.c | H A D | 11-Oct-2012 | 2.1 KiB | 102 | 52 |
| xexit.c | H A D | 11-Oct-2012 | 1.5 KiB | 54 | 17 |
| xmalloc.c | H A D | 11-Oct-2012 | 4.4 KiB | 184 | 98 |
| xmemdup.c | H A D | 11-Oct-2012 | 928 | 39 | 19 |
| xstrdup.c | H A D | 11-Oct-2012 | 657 | 35 | 18 |
| xstrerror.c | H A D | 11-Oct-2012 | 1.8 KiB | 68 | 34 |
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