|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 07-May-2022 | - |
| config/ | H | 14-May-2021 | - | 20 | 13 |
| testsuite/ | H | 14-May-2021 | - | 7,875 | 7,321 |
| .gitignore | H A D | 14-May-2021 | 29 | 3 | 2 |
| ChangeLog | H A D | 14-May-2021 | 335.4 KiB | 10,123 | 7,155 |
| ChangeLog.jit | H A D | 14-May-2021 | 794 | 24 | 16 |
| Makefile.in | H A D | 14-May-2021 | 65.5 KiB | 1,722 | 1,456 |
| README | H A D | 14-May-2021 | 2.9 KiB | 73 | 55 |
| _doprnt.c | H A D | 14-May-2021 | 7.3 KiB | 297 | 239 |
| aclocal.m4 | H A D | 14-May-2021 | 4.7 KiB | 176 | 161 |
| alloca.c | H A D | 14-May-2021 | 13.7 KiB | 484 | 271 |
| argv.c | H A D | 14-May-2021 | 13.5 KiB | 556 | 328 |
| asprintf.c | H A D | 14-May-2021 | 1.8 KiB | 56 | 16 |
| at-file.texi | H A D | 14-May-2021 | 732 | 16 | 13 |
| atexit.c | H A D | 14-May-2021 | 488 | 28 | 9 |
| basename.c | H A D | 14-May-2021 | 1.3 KiB | 63 | 39 |
| bcmp.c | H A D | 14-May-2021 | 643 | 28 | 7 |
| bcopy.c | H A D | 14-May-2021 | 694 | 32 | 19 |
| bsearch.c | H A D | 14-May-2021 | 3.7 KiB | 92 | 24 |
| bzero.c | H A D | 14-May-2021 | 435 | 24 | 7 |
| calloc.c | H A D | 14-May-2021 | 714 | 35 | 14 |
| choose-temp.c | H A D | 14-May-2021 | 2 KiB | 75 | 31 |
| clock.c | H A D | 14-May-2021 | 2.6 KiB | 104 | 55 |
| concat.c | H A D | 14-May-2021 | 4.9 KiB | 218 | 122 |
| config.h-vms | H A D | 14-May-2021 | 309 | 15 | 12 |
| config.in | H A D | 14-May-2021 | 15.1 KiB | 570 | 397 |
| configure | H A D | 14-May-2021 | 236.5 KiB | 8,730 | 7,274 |
| configure.ac | H A D | 14-May-2021 | 21 KiB | 754 | 649 |
| configure.com | H A D | 14-May-2021 | 1.1 KiB | 39 | 38 |
| copying-lib.texi | H A D | 14-May-2021 | 26.1 KiB | 561 | 474 |
| copysign.c | H A D | 14-May-2021 | 2.6 KiB | 155 | 136 |
| cp-demangle.c | H A D | 14-May-2021 | 175.7 KiB | 6,773 | 4,971 |
| cp-demangle.h | H A D | 14-May-2021 | 5.7 KiB | 195 | 95 |
| cp-demint.c | H A D | 14-May-2021 | 7 KiB | 238 | 165 |
| cplus-dem.c | H A D | 14-May-2021 | 124.2 KiB | 5,033 | 3,693 |
| crc32.c | H A D | 14-May-2021 | 6.4 KiB | 180 | 82 |
| d-demangle.c | H A D | 14-May-2021 | 37.8 KiB | 1,647 | 1,222 |
| dwarfnames.c | H A D | 14-May-2021 | 3.4 KiB | 112 | 77 |
| dyn-string.c | H A D | 14-May-2021 | 11 KiB | 398 | 214 |
| fdmatch.c | H A D | 14-May-2021 | 2.1 KiB | 69 | 23 |
| ffs.c | H A D | 14-May-2021 | 465 | 27 | 10 |
| fibheap.c | H A D | 14-May-2021 | 10.8 KiB | 487 | 346 |
| filename_cmp.c | H A D | 14-May-2021 | 5.3 KiB | 222 | 103 |
| floatformat.c | H A D | 14-May-2021 | 21.5 KiB | 776 | 573 |
| fnmatch.c | H A D | 14-May-2021 | 5.3 KiB | 221 | 139 |
| fnmatch.txh | H A D | 14-May-2021 | 1.9 KiB | 50 | 39 |
| fopen_unlocked.c | H A D | 14-May-2021 | 3.4 KiB | 130 | 49 |
| functions.texi | H A D | 14-May-2021 | 73.1 KiB | 2,044 | 1,512 |
| gather-docs | H A D | 14-May-2021 | 3.3 KiB | 128 | 70 |
| getcwd.c | H A D | 14-May-2021 | 1.2 KiB | 63 | 38 |
| getopt.c | H A D | 14-May-2021 | 29.5 KiB | 1,052 | 632 |
| getopt1.c | H A D | 14-May-2021 | 4.3 KiB | 180 | 113 |
| getpagesize.c | H A D | 14-May-2021 | 2 KiB | 91 | 58 |
| getpwd.c | H A D | 14-May-2021 | 2.5 KiB | 129 | 84 |
| getruntime.c | H A D | 14-May-2021 | 3 KiB | 121 | 67 |
| gettimeofday.c | H A D | 14-May-2021 | 543 | 31 | 18 |
| hashtab.c | H A D | 14-May-2021 | 28.8 KiB | 998 | 626 |
| hex.c | H A D | 14-May-2021 | 6.8 KiB | 193 | 113 |
| index.c | H A D | 14-May-2021 | 448 | 22 | 6 |
| insque.c | H A D | 14-May-2021 | 1.1 KiB | 52 | 18 |
| lbasename.c | H A D | 14-May-2021 | 2.3 KiB | 85 | 36 |
| libiberty.texi | H A D | 14-May-2021 | 10.5 KiB | 314 | 231 |
| lrealpath.c | H A D | 14-May-2021 | 4.7 KiB | 158 | 86 |
| maint-tool | H A D | 14-May-2021 | 6.5 KiB | 299 | 232 |
| make-relative-prefix.c | H A D | 14-May-2021 | 10.6 KiB | 432 | 290 |
| make-temp-file.c | H A D | 14-May-2021 | 5.5 KiB | 217 | 131 |
| makefile.vms | H A D | 14-May-2021 | 1,016 | 37 | 23 |
| md5.c | H A D | 14-May-2021 | 14 KiB | 441 | 274 |
| memchr.c | H A D | 14-May-2021 | 815 | 34 | 14 |
| memcmp.c | H A D | 14-May-2021 | 876 | 36 | 14 |
| memcpy.c | H A D | 14-May-2021 | 502 | 27 | 9 |
| memmem.c | H A D | 14-May-2021 | 2.1 KiB | 72 | 28 |
| memmove.c | H A D | 14-May-2021 | 533 | 27 | 9 |
| mempcpy.c | H A D | 14-May-2021 | 1.3 KiB | 43 | 8 |
| memset.c | H A D | 14-May-2021 | 500 | 27 | 10 |
| mkstemps.c | H A D | 14-May-2021 | 3.7 KiB | 150 | 87 |
| msdos.c | H A D | 14-May-2021 | 177 | 16 | 12 |
| objalloc.c | H A D | 14-May-2021 | 7.2 KiB | 299 | 174 |
| obstack.c | H A D | 14-May-2021 | 12.7 KiB | 377 | 236 |
| obstacks.texi | H A D | 14-May-2021 | 30.5 KiB | 775 | 635 |
| partition.c | H A D | 14-May-2021 | 4.8 KiB | 184 | 108 |
| pex-common.c | H A D | 14-May-2021 | 15 KiB | 649 | 479 |
| pex-common.h | H A D | 14-May-2021 | 6 KiB | 153 | 59 |
| pex-djgpp.c | H A D | 14-May-2021 | 6.7 KiB | 296 | 228 |
| pex-msdos.c | H A D | 14-May-2021 | 7.2 KiB | 317 | 220 |
| pex-one.c | H A D | 14-May-2021 | 1.4 KiB | 44 | 22 |
| pex-unix.c | H A D | 14-May-2021 | 19.5 KiB | 790 | 586 |
| pex-win32.c | H A D | 14-May-2021 | 25.6 KiB | 985 | 705 |
| pexecute.c | H A D | 14-May-2021 | 3.2 KiB | 125 | 77 |
| pexecute.txh | H A D | 14-May-2021 | 11.7 KiB | 317 | 239 |
| physmem.c | H A D | 14-May-2021 | 7.1 KiB | 306 | 224 |
| putenv.c | H A D | 14-May-2021 | 2.1 KiB | 85 | 40 |
| random.c | H A D | 14-May-2021 | 14 KiB | 405 | 193 |
| regex.c | H A D | 14-May-2021 | 253 KiB | 8,208 | 5,353 |
| rename.c | H A D | 14-May-2021 | 633 | 37 | 21 |
| rindex.c | H A D | 14-May-2021 | 460 | 22 | 6 |
| rust-demangle.c | H A D | 14-May-2021 | 9.8 KiB | 349 | 206 |
| safe-ctype.c | H A D | 14-May-2021 | 10 KiB | 255 | 110 |
| setenv.c | H A D | 14-May-2021 | 4.4 KiB | 183 | 112 |
| setproctitle.c | H A D | 14-May-2021 | 1.4 KiB | 49 | 15 |
| sha1.c | H A D | 14-May-2021 | 12.3 KiB | 415 | 277 |
| sigsetmask.c | H A D | 14-May-2021 | 902 | 40 | 18 |
| simple-object-coff.c | H A D | 14-May-2021 | 22.9 KiB | 806 | 595 |
| simple-object-common.h | H A D | 14-May-2021 | 10.2 KiB | 363 | 205 |
| simple-object-elf.c | H A D | 14-May-2021 | 48.4 KiB | 1,590 | 1,217 |
| simple-object-mach-o.c | H A D | 14-May-2021 | 39.9 KiB | 1,380 | 997 |
| simple-object-xcoff.c | H A D | 14-May-2021 | 29.5 KiB | 1,063 | 814 |
| simple-object.c | H A D | 14-May-2021 | 12.6 KiB | 546 | 402 |
| simple-object.txh | H A D | 14-May-2021 | 7.5 KiB | 190 | 138 |
| snprintf.c | H A D | 14-May-2021 | 2.2 KiB | 62 | 14 |
| sort.c | H A D | 14-May-2021 | 4.8 KiB | 187 | 101 |
| spaces.c | H A D | 14-May-2021 | 1.8 KiB | 70 | 33 |
| splay-tree.c | H A D | 14-May-2021 | 14.7 KiB | 593 | 374 |
| stack-limit.c | H A D | 14-May-2021 | 2 KiB | 64 | 26 |
| stpcpy.c | H A D | 14-May-2021 | 1.3 KiB | 44 | 10 |
| stpncpy.c | H A D | 14-May-2021 | 1.5 KiB | 49 | 12 |
| strcasecmp.c | H A D | 14-May-2021 | 4.2 KiB | 88 | 55 |
| strchr.c | H A D | 14-May-2021 | 528 | 29 | 12 |
| strdup.c | H A D | 14-May-2021 | 562 | 28 | 14 |
| strerror.c | H A D | 14-May-2021 | 20.8 KiB | 815 | 597 |
| strncasecmp.c | H A D | 14-May-2021 | 3.4 KiB | 87 | 55 |
| strncmp.c | H A D | 14-May-2021 | 638 | 35 | 17 |
| strndup.c | H A D | 14-May-2021 | 1.6 KiB | 53 | 16 |
| strnlen.c | H A D | 14-May-2021 | 585 | 31 | 11 |
| strrchr.c | H A D | 14-May-2021 | 548 | 29 | 11 |
| strsignal.c | H A D | 14-May-2021 | 14.9 KiB | 611 | 366 |
| strstr.c | H A D | 14-May-2021 | 1 KiB | 42 | 16 |
| strtod.c | H A D | 14-May-2021 | 3.4 KiB | 138 | 78 |
| strtol.c | H A D | 14-May-2021 | 5.3 KiB | 166 | 76 |
| strtoll.c | H A D | 14-May-2021 | 5.5 KiB | 176 | 82 |
| strtoul.c | H A D | 14-May-2021 | 3.2 KiB | 116 | 73 |
| strtoull.c | H A D | 14-May-2021 | 3.4 KiB | 123 | 77 |
| strverscmp.c | H A D | 14-May-2021 | 5.2 KiB | 158 | 60 |
| timeval-utils.c | H A D | 14-May-2021 | 2.2 KiB | 88 | 39 |
| tmpnam.c | H A D | 14-May-2021 | 1 KiB | 53 | 28 |
| unlink-if-ordinary.c | H A D | 14-May-2021 | 2 KiB | 73 | 28 |
| vasprintf.c | H A D | 14-May-2021 | 3.3 KiB | 124 | 76 |
| vfork.c | H A D | 14-May-2021 | 346 | 23 | 7 |
| vfprintf.c | H A D | 14-May-2021 | 348 | 16 | 9 |
| vprintf-support.c | H A D | 14-May-2021 | 2.9 KiB | 120 | 91 |
| vprintf-support.h | H A D | 14-May-2021 | 1,011 | 23 | 1 |
| vprintf.c | H A D | 14-May-2021 | 856 | 29 | 9 |
| vsnprintf.c | H A D | 14-May-2021 | 4.1 KiB | 147 | 82 |
| vsprintf.c | H A D | 14-May-2021 | 1.8 KiB | 57 | 24 |
| waitpid.c | H A D | 14-May-2021 | 868 | 41 | 22 |
| xasprintf.c | H A D | 14-May-2021 | 1.4 KiB | 51 | 16 |
| xatexit.c | H A D | 14-May-2021 | 2.1 KiB | 100 | 50 |
| xexit.c | H A D | 14-May-2021 | 1.5 KiB | 53 | 16 |
| xmalloc.c | H A D | 14-May-2021 | 4.6 KiB | 185 | 99 |
| xmemdup.c | H A D | 14-May-2021 | 1 KiB | 42 | 21 |
| xstrdup.c | H A D | 14-May-2021 | 720 | 37 | 20 |
| xstrerror.c | H A D | 14-May-2021 | 2 KiB | 80 | 45 |
| xstrndup.c | H A D | 14-May-2021 | 1.6 KiB | 58 | 22 |
| xvasprintf.c | H A D | 14-May-2021 | 1.8 KiB | 62 | 28 |
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