Nick Clifton 6899683948 Resync files in the binutils repository that are maintained in the gcc repository. 9 سال پیش
..
config abde120385 merge from gcc 24 سال پیش
testsuite 6899683948 Resync files in the binutils repository that are maintained in the gcc repository. 9 سال پیش
.gitignore 8b9a522f57 bfd/binutils/gas/gprof/ld/libiberty/opcodes: add .gitignore 14 سال پیش
COPYING.LIB 979c05d324 Update the address and phone number of the FSF organization. 19 سال پیش
ChangeLog 6899683948 Resync files in the binutils repository that are maintained in the gcc repository. 9 سال پیش
ChangeLog.jit abdef8eb90 Sync libiberty from GCC 10 سال پیش
Makefile.in f91ca6bc00 Sync libiberty from GCC, replaying updates to configure scripts 9 سال پیش
README 23d0336260 * README: Mention changes to Makefile.in and functions.texi. 15 سال پیش
_doprnt.c 281e9aa624 [PATCH] include * ansidecl.h (ANSI_PROTOTYPES, PTRCONST, LONG_DOUBLE, PARAMS) (VPARAMS, VA_START, VA_OPEN, VA_CLOSE, VA_FIXEDARG, CONST) (VOLATILE, SIGNED, PROTO, EXFUN, DEFUN, DEFUN_VOID, AND, DOTS) (NOARGS): Don't define. * libiberty.h (expandargv, writeargv): Don't use PARAMS. libiberty * _doprint.c (checkit): Use stdarg, not VA_* macros. * asprintf.c (asprintf): Use stdarg, not VA_* macros. * concat.c (concat_length, concat_copy, concat_copy2, concat) (reconcat): Use stdarg, not VA_* macros. * snprintf.c (snprintf): Use stdarg, not VA_* macros. * vasprintf.c (checkit): Use stdarg, not VA_* macros. * vsnprintf.c (checkit): Use stdarg, not VA_* macros. 10 سال پیش
aclocal.m4 3fee530e50 merge from gcc 13 سال پیش
alloca.c abf6a75b42 merge from gcc 19 سال پیش
argv.c b9b64803f6 Replace malloc with xmalloc 12 سال پیش
asprintf.c 281e9aa624 [PATCH] include * ansidecl.h (ANSI_PROTOTYPES, PTRCONST, LONG_DOUBLE, PARAMS) (VPARAMS, VA_START, VA_OPEN, VA_CLOSE, VA_FIXEDARG, CONST) (VOLATILE, SIGNED, PROTO, EXFUN, DEFUN, DEFUN_VOID, AND, DOTS) (NOARGS): Don't define. * libiberty.h (expandargv, writeargv): Don't use PARAMS. libiberty * _doprint.c (checkit): Use stdarg, not VA_* macros. * asprintf.c (asprintf): Use stdarg, not VA_* macros. * concat.c (concat_length, concat_copy, concat_copy2, concat) (reconcat): Use stdarg, not VA_* macros. * snprintf.c (snprintf): Use stdarg, not VA_* macros. * vasprintf.c (checkit): Use stdarg, not VA_* macros. * vsnprintf.c (checkit): Use stdarg, not VA_* macros. 10 سال پیش
at-file.texi 5209596cca * at-file.texi: Fix typo. 19 سال پیش
atexit.c 9334f9c6cd merge from gcc 19 سال پیش
basename.c fa99459db0 merge from gcc 19 سال پیش
bcmp.c 14a88c496b merge from gcc 19 سال پیش
bcopy.c 3ac01eb265 merge from gcc 18 سال پیش
bsearch.c d4d868a280 libiberty: documentation markup and order fixes. 14 سال پیش
bzero.c 14a88c496b merge from gcc 19 سال پیش
calloc.c 9334f9c6cd merge from gcc 19 سال پیش
choose-temp.c abdef8eb90 Sync libiberty from GCC 10 سال پیش
clock.c 979c05d324 Update the address and phone number of the FSF organization. 19 سال پیش
concat.c 281e9aa624 [PATCH] include * ansidecl.h (ANSI_PROTOTYPES, PTRCONST, LONG_DOUBLE, PARAMS) (VPARAMS, VA_START, VA_OPEN, VA_CLOSE, VA_FIXEDARG, CONST) (VOLATILE, SIGNED, PROTO, EXFUN, DEFUN, DEFUN_VOID, AND, DOTS) (NOARGS): Don't define. * libiberty.h (expandargv, writeargv): Don't use PARAMS. libiberty * _doprint.c (checkit): Use stdarg, not VA_* macros. * asprintf.c (asprintf): Use stdarg, not VA_* macros. * concat.c (concat_length, concat_copy, concat_copy2, concat) (reconcat): Use stdarg, not VA_* macros. * snprintf.c (snprintf): Use stdarg, not VA_* macros. * vasprintf.c (checkit): Use stdarg, not VA_* macros. * vsnprintf.c (checkit): Use stdarg, not VA_* macros. 10 سال پیش
config.h-vms bc426d7a8b merge from gcc 15 سال پیش
config.in f91ca6bc00 Sync libiberty from GCC, replaying updates to configure scripts 9 سال پیش
configure 8a643cc36c Sync config/warnings.m4 with GCC 9 سال پیش
configure.ac f91ca6bc00 Sync libiberty from GCC, replaying updates to configure scripts 9 سال پیش
configure.com e06ae0d430 2009-09-01 Tristan Gingold <gingold@adacore.com> 15 سال پیش
copying-lib.texi 5afcec7379 merge from gcc 12 سال پیش
copysign.c 9334f9c6cd merge from gcc 19 سال پیش
cp-demangle.c 6899683948 Resync files in the binutils repository that are maintained in the gcc repository. 9 سال پیش
cp-demangle.h 492e19d098 Fix demangler to handle conversion operators correctly. 11 سال پیش
cp-demint.c 4ff224cb8d merge from gcc 13 سال پیش
cplus-dem.c b55f967878 Sync libiberty with upstream GCC. 10 سال پیش
crc32.c d4d868a280 libiberty: documentation markup and order fixes. 14 سال پیش
d-demangle.c 3037929188 PR gdb/18669 libiberty demangle.test failure: strtod() on sparc-sun-solaris2.9 9 سال پیش
dwarfnames.c fa66ec5377 merge from gcc 12 سال پیش
dyn-string.c ca938790c1 merge from gcc 15 سال پیش
fdmatch.c 979c05d324 Update the address and phone number of the FSF organization. 19 سال پیش
ffs.c 49b1fae430 merge from gcc 19 سال پیش
fibheap.c 0dc69033a0 merge from gcc 15 سال پیش
filename_cmp.c abdef8eb90 Sync libiberty from GCC 10 سال پیش
floatformat.c f91ca6bc00 Sync libiberty from GCC, replaying updates to configure scripts 9 سال پیش
fnmatch.c abf6a75b42 merge from gcc 19 سال پیش
fnmatch.txh d4d868a280 libiberty: documentation markup and order fixes. 14 سال پیش
fopen_unlocked.c d4d868a280 libiberty: documentation markup and order fixes. 14 سال پیش
functions.texi 7c89917ffa Sync with gcc/libiberty. 10 سال پیش
gather-docs d4d868a280 libiberty: documentation markup and order fixes. 14 سال پیش
getcwd.c 49b1fae430 merge from gcc 19 سال پیش
getopt.c 55060c0b16 merge from gcc 19 سال پیش
getopt1.c 2349f55700 merge from gcc 19 سال پیش
getpagesize.c 49b1fae430 merge from gcc 19 سال پیش
getpwd.c abf6a75b42 merge from gcc 19 سال پیش
getruntime.c 979c05d324 Update the address and phone number of the FSF organization. 19 سال پیش
gettimeofday.c 0e867e7957 merge from gcc 19 سال پیش
hashtab.c 3ecb733811 merge from gcc 11 سال پیش
hex.c 6dd7f013b4 merge from gcc 18 سال پیش
index.c aa55ccb120 merge from gcc 19 سال پیش
insque.c d4d868a280 libiberty: documentation markup and order fixes. 14 سال پیش
lbasename.c 59e11e1703 merge from gcc 14 سال پیش
libiberty.texi eea302037a merge from gcc 11 سال پیش
lrealpath.c abf6a75b42 merge from gcc 19 سال پیش
maint-tool 3f48575af8 PR sanitizer/56781 lto-plugin/ * Makefile.am (CFLAGS, LDFLAGS): Filter out -fsanitize=address. (liblto_plugin_la_LIBADD, liblto_plugin_la_LDFLAGS, liblto_plugin_la_DEPENDENCIES): Prefer ../libiberty/noasan/libiberty.a over ../libiberty/pic/libiberty.a if the former exists. * Makefile.in: Regenerated. libiberty/ * maint-tool: Also emit rule for noasan/ subdirectory. * configure.ac (NOASANFLAG): Set and substitute. * Makefile.in: Regenerated. (NOASANFLAG): Set. (all, $(TARGETLIB), mostlyclean): Handle noasan subdir like pic subdir. (stamp-noasandir): New goal. * configure: Regenerated. 10 سال پیش
make-relative-prefix.c 1712e1d4f7 * make-relative-prefix.c (make_relative_prefix_1): Avoid warning 13 سال پیش
make-temp-file.c abdef8eb90 Sync libiberty from GCC 10 سال پیش
makefile.vms bc771b3b8d 2013-07-09 Tristan Gingold <gingold@adacore.com> 11 سال پیش
md5.c fe4b0b4632 PR other/543413 11 سال پیش
memchr.c d4d868a280 libiberty: documentation markup and order fixes. 14 سال پیش
memcmp.c d4d868a280 libiberty: documentation markup and order fixes. 14 سال پیش
memcpy.c d4d868a280 libiberty: documentation markup and order fixes. 14 سال پیش
memmem.c d4d868a280 libiberty: documentation markup and order fixes. 14 سال پیش
memmove.c d4d868a280 libiberty: documentation markup and order fixes. 14 سال پیش
mempcpy.c d4d868a280 libiberty: documentation markup and order fixes. 14 سال پیش
memset.c d4d868a280 libiberty: documentation markup and order fixes. 14 سال پیش
mkstemps.c 519b5f619b libiberty/mkstemps.c: Include <time.h> if <sys/time.h> not available. 9 سال پیش
msdos.c 252b5132c7 19990502 sourceware import 25 سال پیش
objalloc.c 995b61fe5b merge from gcc 12 سال پیش
obstack.c 979c05d324 Update the address and phone number of the FSF organization. 19 سال پیش
obstacks.texi eea302037a merge from gcc 11 سال پیش
partition.c 1c7a49d207 merge from gcc 19 سال پیش
pex-common.c b55f967878 Sync libiberty with upstream GCC. 10 سال پیش
pex-common.h b55f967878 Sync libiberty with upstream GCC. 10 سال پیش
pex-djgpp.c b55f967878 Sync libiberty with upstream GCC. 10 سال پیش
pex-msdos.c 4ff224cb8d merge from gcc 13 سال پیش
pex-one.c 979c05d324 Update the address and phone number of the FSF organization. 19 سال پیش
pex-unix.c b55f967878 Sync libiberty with upstream GCC. 10 سال پیش
pex-win32.c b55f967878 Sync libiberty with upstream GCC. 10 سال پیش
pexecute.c 96f4851a80 merge from gcc 19 سال پیش
pexecute.txh d4d868a280 libiberty: documentation markup and order fixes. 14 سال پیش
physmem.c 979c05d324 Update the address and phone number of the FSF organization. 19 سال پیش
putenv.c 979c05d324 Update the address and phone number of the FSF organization. 19 سال پیش
random.c d4d868a280 libiberty: documentation markup and order fixes. 14 سال پیش
regex.c a2d010462c * regex.c (bzero) [!_LIBC]: Cast the call to memcpy to (void). 10 سال پیش
rename.c 1e45deed6a merge from gcc 19 سال پیش
rindex.c aa55ccb120 merge from gcc 19 سال پیش
safe-ctype.c 979c05d324 Update the address and phone number of the FSF organization. 19 سال پیش
setenv.c dfc0f57b74 libiberty/setenv.c: Do not declare environ if defined as a macro. 9 سال پیش
setproctitle.c eb2722c12c merge from gcc 13 سال پیش
sha1.c 0f5f799a26 merge from gcc 11 سال پیش
sigsetmask.c d3d7100a0d Fix gnu11 fallout on Solaris 10+ 10 سال پیش
simple-object-coff.c f9e6589d87 merge from gcc 14 سال پیش
simple-object-common.h 07a8e9f036 merge from gcc 12 سال پیش
simple-object-elf.c b55f967878 Sync libiberty with upstream GCC. 10 سال پیش
simple-object-mach-o.c eea302037a merge from gcc 11 سال پیش
simple-object-xcoff.c 07a8e9f036 merge from gcc 12 سال پیش
simple-object.c c3c3c691f2 2014-04-01 Richard Biener <rguenther@suse.de> 10 سال پیش
simple-object.txh d4d868a280 libiberty: documentation markup and order fixes. 14 سال پیش
snprintf.c 281e9aa624 [PATCH] include * ansidecl.h (ANSI_PROTOTYPES, PTRCONST, LONG_DOUBLE, PARAMS) (VPARAMS, VA_START, VA_OPEN, VA_CLOSE, VA_FIXEDARG, CONST) (VOLATILE, SIGNED, PROTO, EXFUN, DEFUN, DEFUN_VOID, AND, DOTS) (NOARGS): Don't define. * libiberty.h (expandargv, writeargv): Don't use PARAMS. libiberty * _doprint.c (checkit): Use stdarg, not VA_* macros. * asprintf.c (asprintf): Use stdarg, not VA_* macros. * concat.c (concat_length, concat_copy, concat_copy2, concat) (reconcat): Use stdarg, not VA_* macros. * snprintf.c (snprintf): Use stdarg, not VA_* macros. * vasprintf.c (checkit): Use stdarg, not VA_* macros. * vsnprintf.c (checkit): Use stdarg, not VA_* macros. 10 سال پیش
sort.c abf6a75b42 merge from gcc 19 سال پیش
spaces.c 4ff224cb8d merge from gcc 13 سال پیش
splay-tree.c d4d868a280 libiberty: documentation markup and order fixes. 14 سال پیش
stack-limit.c 24e829d007 merge from gcc 12 سال پیش
stpcpy.c 979c05d324 Update the address and phone number of the FSF organization. 19 سال پیش
stpncpy.c d4d868a280 libiberty: documentation markup and order fixes. 14 سال پیش
strcasecmp.c 1e45deed6a merge from gcc 19 سال پیش
strchr.c 1e45deed6a merge from gcc 19 سال پیش
strdup.c 1e45deed6a merge from gcc 19 سال پیش
strerror.c 1f99f6d068 strerror.c: Do not declare sys_nerr or sys_errlist if already macros 9 سال پیش
strncasecmp.c 49b1fae430 merge from gcc 19 سال پیش
strncmp.c d4d868a280 libiberty: documentation markup and order fixes. 14 سال پیش
strndup.c abf6a75b42 merge from gcc 19 سال پیش
strnlen.c 995b61fe5b merge from gcc 12 سال پیش
strrchr.c 49b1fae430 merge from gcc 19 سال پیش
strsignal.c 02d1f5acc5 merge from gcc 13 سال پیش
strstr.c aa55ccb120 merge from gcc 19 سال پیش
strtod.c d4d868a280 libiberty: documentation markup and order fixes. 14 سال پیش
strtol.c d4d868a280 libiberty: documentation markup and order fixes. 14 سال پیش
strtoll.c abdef8eb90 Sync libiberty from GCC 10 سال پیش
strtoul.c 49b1fae430 merge from gcc 19 سال پیش
strtoull.c abdef8eb90 Sync libiberty from GCC 10 سال پیش
strverscmp.c a9479c3f88 2005-08-17 Kelley Cook <kcook@gcc.gnu.org> 19 سال پیش
timeval-utils.c 514c97d3e0 merge from gcc 13 سال پیش
tmpnam.c 49b1fae430 merge from gcc 19 سال پیش
unlink-if-ordinary.c 979c05d324 Update the address and phone number of the FSF organization. 19 سال پیش
vasprintf.c 7c89917ffa Sync with gcc/libiberty. 10 سال پیش
vfork.c 49b1fae430 merge from gcc 19 سال پیش
vfprintf.c 49b1fae430 merge from gcc 19 سال پیش
vprintf-support.c 7c89917ffa Sync with gcc/libiberty. 10 سال پیش
vprintf-support.h 7c89917ffa Sync with gcc/libiberty. 10 سال پیش
vprintf.c d4d868a280 libiberty: documentation markup and order fixes. 14 سال پیش
vsnprintf.c 281e9aa624 [PATCH] include * ansidecl.h (ANSI_PROTOTYPES, PTRCONST, LONG_DOUBLE, PARAMS) (VPARAMS, VA_START, VA_OPEN, VA_CLOSE, VA_FIXEDARG, CONST) (VOLATILE, SIGNED, PROTO, EXFUN, DEFUN, DEFUN_VOID, AND, DOTS) (NOARGS): Don't define. * libiberty.h (expandargv, writeargv): Don't use PARAMS. libiberty * _doprint.c (checkit): Use stdarg, not VA_* macros. * asprintf.c (asprintf): Use stdarg, not VA_* macros. * concat.c (concat_length, concat_copy, concat_copy2, concat) (reconcat): Use stdarg, not VA_* macros. * snprintf.c (snprintf): Use stdarg, not VA_* macros. * vasprintf.c (checkit): Use stdarg, not VA_* macros. * vsnprintf.c (checkit): Use stdarg, not VA_* macros. 10 سال پیش
vsprintf.c 979c05d324 Update the address and phone number of the FSF organization. 19 سال پیش
waitpid.c aa55ccb120 merge from gcc 19 سال پیش
xasprintf.c 7c89917ffa Sync with gcc/libiberty. 10 سال پیش
xatexit.c fa99459db0 merge from gcc 19 سال پیش
xexit.c 979c05d324 Update the address and phone number of the FSF organization. 19 سال پیش
xmalloc.c abf6a75b42 merge from gcc 19 سال پیش
xmemdup.c d4d868a280 libiberty: documentation markup and order fixes. 14 سال پیش
xstrdup.c de8a05ff34 * xstrdup.c: Include <sys/types.h> after "config.h". 16 سال پیش
xstrerror.c abf6a75b42 merge from gcc 19 سال پیش
xstrndup.c abf6a75b42 merge from gcc 19 سال پیش
xvasprintf.c 7c89917ffa Sync with gcc/libiberty. 10 سال پیش

README

This directory contains the -liberty library of free software.
It is a collection of subroutines used by various GNU programs.
Current members include:

getopt -- get options from command line
obstack -- stacks of arbitrarily-sized objects
strerror -- error message strings corresponding to errno
strtol -- string-to-long conversion
strtoul -- string-to-unsigned-long conversion

We expect many of the GNU subroutines that are floating around to
eventually arrive here.

The library must be configured from the top source directory. Don't
try to run configure in this directory. Follow the configuration
instructions in ../README.

Please report bugs to "gcc-bugs@gcc.gnu.org" and send fixes to
"gcc-patches@gcc.gnu.org". Thank you.

ADDING A NEW FILE
=================

There are two sets of files: Those that are "required" will be
included in the library for all configurations, while those
that are "optional" will be included in the library only if "needed."

To add a new required file, edit Makefile.in to add the source file
name to CFILES and the object file to REQUIRED_OFILES.

To add a new optional file, it must provide a single function, and the
name of the function must be the same as the name of the file.

* Add the source file name to CFILES in Makefile.in and the object
file to CONFIGURED_OFILES.

* Add the function to name to the funcs shell variable in
configure.ac.

* Add the function to the AC_CHECK_FUNCS lists just after the
setting of the funcs shell variable. These AC_CHECK_FUNCS calls
are never executed; they are there to make autoheader work
better.

* Consider the special cases of building libiberty; as of this
writing, the special cases are newlib and VxWorks. If a
particular special case provides the function, you do not need
to do anything. If it does not provide the function, add the
object file to LIBOBJS, and add the function name to the case
controlling whether to define HAVE_func.

Finally, in the build directory of libiberty, configure with
"--enable-maintainer-mode", run "make maint-deps" to update
Makefile.in, and run 'make stamp-functions' to regenerate
functions.texi.

The optional file you've added (e.g. getcwd.c) should compile and work
on all hosts where it is needed. It does not have to work or even
compile on hosts where it is not needed.

ADDING A NEW CONFIGURATION
==========================

On most hosts you should be able to use the scheme for automatically
figuring out which files are needed. In that case, you probably
don't need a special Makefile stub for that configuration.

If the fully automatic scheme doesn't work, you may be able to get
by with defining EXTRA_OFILES in your Makefile stub. This is
a list of object file names that should be treated as required
for this configuration - they will be included in libiberty.a,
regardless of whatever might be in the C library.