Jan-Benedict Glaw
abdef8eb90
Sync libiberty from GCC
2014-11-17 03:30:13 +01:00
Iain Buclaw
b55f967878
Sync libiberty with upstream GCC.
...
include/ChangeLog
* libiberty.h (PEX_STDOUT_APPEND): New flag.
(PEX_STDERR_APPEND): Likewise.
* demangle.h (DMGL_DLANG): New macro.
(DMGL_STYLE_MASK): Add DMGL_DLANG.
(demangling_styles): Add dlang_demangling.
(DLANG_DEMANGLING_STYLE_STRING): New macro.
(DLANG_DEMANGLING): New macro.
(dlang_demangle): New prototype.
* longlong.h: Add __udiv_w_sdiv prototype.
libiberty/ChangeLog
* cp-demangle.c (d_substitution): Handle abi tags on abbreviation.
* pex-common.h (struct pex_funcs): Add new parameter for open_write field.
* pex-unix.c (pex_unix_open_write): Add support for new parameter.
* pex-djgpp.c (pex_djgpp_open_write): Likewise.
* pex-win32.c (pex_win32_open_write): Likewise.
* pex-common.c (pex_run_in_environment): Likewise.
* Makefile.in (CFILES): Add d-demangle.c.
(REQUIRED_OFILES): Add d-demangle.o.
* cplus-dem.c (libiberty_demanglers): Add dlang_demangling case.
(cplus_demangle): Likewise.
* d-demangle.c: New file.
* testsuite/Makefile.in (really-check): Add check-d-demangle.
* testsuite/d-demangle-expected: New file.
* simple-object-elf.c (simple_object_elf_write_ehdr): Correctly
handle objects with more than SHN_LORESERVE sections.
(simple_object_elf_write_shdr): Add sh_link parameter.
(simple_object_elf_write_to_file): Correctly handle objects with
more than SHN_LORESERVE sections.
* cp-demangle.c (d_dump): Only access field from s_fixed part of
the union for DEMANGLE_COMPONENT_FIXED_TYPE.
(d_count_templates_scopes): Likewise.
* testsuite/demangler-fuzzer.c: New file.
* testsuite/Makefile.in (fuzz-demangler): New rule.
(demangler-fuzzer): Likewise.
(mostlyclean): Clean up demangler fuzzer.
2014-10-11 10:29:10 +01:00
jakub
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.
...
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209476 138bc75d-0d04-0410-961f-82ee72b054a4
2014-05-08 10:18:30 -06:00
DJ Delorie
a4818a052e
merge from gcc
2013-06-01 01:01:44 +00:00
DJ Delorie
07a8e9f036
merge from gcc
2013-01-07 20:28:44 +00:00
DJ Delorie
995b61fe5b
merge from gcc
2012-10-10 03:11:33 +00:00
DJ Delorie
fa66ec5377
merge from gcc
2012-04-27 18:03:26 +00:00
DJ Delorie
cf185ad7a9
merge from gcc
2011-11-02 22:02:55 +00:00
DJ Delorie
26ac12805d
merge from gcc
2011-07-22 14:37:58 +00:00
Ralf Wildenhues
9b980aa1ed
PR other/46202: implement install-strip.
...
/:
PR other/46202
* configure.ac: Fix just-built in-tree STRIP name to be
binutils/strip-new.
* configure: Regenerate.
* Makefile.def (install-strip-gcc, install-strip-binutils)
(install-strip-opcodes, install-strip-ld, install-strip-itcl)
(install-strip-sid): Mirror dependencies on non-strip variants
of these targets on the respective -strip prerequisites.
* Makefile.tpl (install-strip, install-strip-host)
(install-strip-target): New targets.
(install-strip-[+module+], install-strip-target-[+module+]):
New targets.
* Makefile.in: Regenerate.
etc/:
* Makefile.in (install-strip): New target.
libiberty/:
PR other/46202
* Makefile.in (install-strip): New phony target.
(install): Also mark as phony.
2010-11-20 19:37:58 +00:00
DJ Delorie
ffa54e5c48
merge from gcc
2010-11-02 15:20:47 +00:00
DJ Delorie
9711ae4d9f
merge from gcc
2010-10-06 23:01:30 +00:00
DJ Delorie
497462ef9e
merge from gcc
2010-09-09 17:39:52 +00:00
DJ Delorie
2cd2156f48
merge from gcc
2010-04-24 01:03:21 +00:00
DJ Delorie
178bead7ef
merge from gcc
2010-03-15 17:33:40 +00:00
DJ Delorie
664aa91f58
merge from gcc
2009-10-02 18:23:01 +00:00
H.J. Lu
7a0801a904
2009-08-23 H.J. Lu <hongjiu.lu@intel.com>
...
PR ld/10536
* Makefile.in (install-html-recursive): Removed.
2009-08-23 19:03:58 +00:00
DJ Delorie
626aaf8909
merge from gcc
2009-08-13 17:04:01 +00:00
DJ Delorie
6e88169156
merge from gcc
2009-07-25 00:01:58 +00:00
DJ Delorie
e1ad6b9af7
merge from gcc
2009-04-26 02:25:10 +00:00
DJ Delorie
10e1b6bb90
merge from gcc
2009-03-27 23:07:30 +00:00
Daniel Jacobowitz
bb52de30f4
PR gdb/921
...
PR gdb/1646
PR gdb/2175
PR gdb/2176
* Makefile.def (flags_to_pass): Add CPPFLAGS_FOR_BUILD and CPPFLAGS.
* Makefile.tpl (BUILD_EXPORTS): Set CPPFLAGS.
(EXTRA_BUILD_FLAGS): Correct typo. Pass CPPFLAGS.
(HOST_EXPORTS): Pass CPPFLAGS.
(CPPFLAGS_FOR_BUILD, CPPFLAGS, CPPFLAGS_FOR_TARGET): Define.
(LDFLAGS_FOR_TARGET): Initialize from configure script.
(EXTRA_TARGET_FLAGS): Set CPPFLAGS.
* Makefile.in, configure: Regenerated.
* configure.ac: Set CPPFLAGS_FOR_TARGET, LDFLAGS_FOR_TARGET,
and CPPFLAGS_FOR_BUILD.
libiberty/
* Makefile.in (CPPFLAGS): Define.
(FLAGS_TO_PASS, COMPILE.c): Add CPPFLAGS.
2008-10-22 13:35:30 +00:00
DJ Delorie
eff85da5fb
merge from gcc
2008-10-16 02:47:08 +00:00
DJ Delorie
b7d9aef1b3
merge from gcc
2008-07-24 13:51:49 +00:00
Paolo Bonzini
c779bab85b
2008-03-27 Paolo Bonzini <bonzini@gnu.org>
...
* Makefile.tpl (PICFLAG, PICFLAG_FOR_TARGET): Remove.
* Makefile.in: Regenerate.
config:
2008-03-27 Paolo Bonzini <bonzini@gnu.org>
* extensions.m4: New.
2008-03-27 Paolo Bonzini <bonzini@gnu.org>
* mh-armpic: Remove.
* mh-i370pic: Remove.
* mh-m68kpic: Remove.
* mh-ppcpic: Remove.
* mh-sparcpic: Remove.
* mh-ia64pic: Remove.
* mh-papic: Remove.
* mh-s390pic: Remove.
* mh-x86pic: Remove.
libiberty:
2008-03-27 Paolo Bonzini <bonzini@gnu.org>
* configure.ac (frags): Don't set, use frag instead.
(PICFLAG): Set here and substitute.
* Makefile.in (PICFLAG): Substitute from autoconf.
* configure: Regenerate.
2008-03-27 14:16:55 +00:00
DJ Delorie
b68965a0fa
merge from gcc
2008-03-25 01:02:13 +00:00
Ben Elliston
642c7534bd
* Makefile.in (CFILES): Remove ternary.c.
...
(REQUIRED_OFILES): Remove ./ternary.o.
(INSTALLED_HEADERS): Remove ternary.h.
(ternary.o): Remove.
* ternary.c: Remove.
2007-07-25 06:36:27 +00:00
Alexandre Oliva
a590e8e71d
* maint-tool (deps): Output stamp-h instead of config.h.
...
* Makefile.in: Rebuild deps.
(maintainer-clean-subdir): Depend on stamp-h rather than config.h.
2007-07-12 02:24:41 +00:00
Joel Brobecker
73bdefcfe0
* filename_cmp.c: Replace include of ctype.h by include of
...
safe-ctype.h.
(filename_cmp): Use TOLOWER instead of tolower for conversions
that are locale-independent.
* Makefile.in (filename_cmp.o): Add dependency on safe-ctype.h.
2007-05-03 23:40:11 +00:00
DJ Delorie
9c577e8950
merge from gcc
2007-03-29 21:03:48 +00:00
DJ Delorie
d7831e7c47
merge from gcc
2007-03-05 22:15:41 +00:00
Eric Botcazou
563d09a555
PR other/16513
...
* Makefile.in: Install library under $(MULTIOSDIR), not $(MULTISUBDIR).
Install headers in multilib independent location.
2007-03-01 15:32:57 +00:00
DJ Delorie
bff368bd19
merge from gcc
2006-10-11 00:29:35 +00:00
Alexandre Oliva
6816f9950e
ChangeLog:
...
* ltconfig: chmod 644 before ranlib during install.
libiberty/ChangeLog:
* Makefile.in: chmod 644 before ranlib during install.
2006-07-04 20:31:03 +00:00
DJ Delorie
545c9aee9b
merge from gcc
2006-04-07 00:01:28 +00:00
Mark Mitchell
7b17bc2995
* libiberty.h (expandargv): New function.
...
* argv.c (safe-ctype.h): Include it.
(ISBLANK): Remove.
(stdio.h): Include.
(buildargv): Use ISSPACE instead of ISBLANK.
(expandargv): New function.
* Makefile.in: Regenerated.
2005-09-26 21:02:59 +00:00
Kelley Cook
4cf896a535
2005-07-07 Kelley Cook <kcook@gcc.gnu.org>
...
* config.table: Delete file. Move former contents into ...
* configure.ac: ... here and escape any brackets for m4.
* Makefile.in (config.status): Remove dependency on config.table.
* configure: Regenerate.
2005-07-07 02:21:57 +00:00
Geoffrey Keating
67f3cb056f
Index: include/ChangeLog
...
2005-06-20 Geoffrey Keating <geoffk@apple.com>
* libiberty.h (strverscmp): Prototype.
Index: libiberty/ChangeLog
2005-06-20 Geoffrey Keating <geoffk@apple.com>
* strverscmp.c: New.
* Makefile.in (CFILES): Add strverscmp.c.
(CONFIGURED_OFILES): Add strverscmp.o.
(strverscmp.o): New rule.
(stamp-functions): Add $(srcdir) to files in source directory.
* configure.ac (funcs): Add strverscmp.
(AC_CHECK_FUNCS): Add strverscmp.
* configure: Regenerate.
* functions.texi: Regenerate.
2005-06-21 00:28:25 +00:00
DJ Delorie
75919f948c
merge from gcc
2005-05-11 02:10:00 +00:00
Nick Clifton
979c05d324
Update the address and phone number of the FSF organization.
2005-05-10 15:33:34 +00:00
DJ Delorie
ac119ae83b
merge from gcc
2005-04-11 19:32:04 +00:00
Ian Lance Taylor
b109e79adc
libiberty:
...
* pex-common.c: New file.
* pex-one.c: New file.
* pexecute.c: New file.
* pex-common.h: Include <stdio.h>.
(struct pex_obj): Define.
(struct pex_funcs): Define.
(pex_init_common): Declare.
* pex-unix.c: Rewrite.
* pex-win32.c: Rewrite.
* pex-djgpp.c: Rewrite.
* pex-msdos.c: Rewrite.
* testsuite/text-pexecute.c: New file.
* pexecute.txh: Rewrite.
* configure.ac: Check for wait3 and wait4. Set CHECK to
really-check rather than check-cplus-dem.
* functions.texi: Rebuild.
* Makefile.in: Rebuild dependencies.
(CFILES): Add pexecute.c, pex-common.c, pex-one.c.
(REQUIRED_OFILES): Add pexecute.o, pex-common.o, pex-one.o.
* testsuite/Makefile.in (really-check): New target.
(check-pexecute, test-pexecute): New targets.
* configure: Rebuild.
include:
* libiberty.h: Include <stdio.h>.
(PEX_RECORD_TIMES, PEX_USE_PIPES, PEX_SAVE_TEMPS): Define.
(PEX_LAST, PEX_SEARCH, PEX_SUFFIX, PEX_STDERR_TO_STDOUT): Define.
(PEX_BINARY_INPUT, PEX_BINARY_OUTPUT): Define.
(pex_init, pex_run, pex_read_output): Declare.
(pex_get_status, pex_get_times, pex_free, pex_one): Declare.
(struct pex_time): Define.
2005-03-29 02:15:24 +00:00
DJ Delorie
0fad4bdb8e
merge from gcc
2005-03-25 04:57:08 +00:00
DJ Delorie
8ec3272396
merge from gcc
2005-03-10 01:06:07 +00:00
Ian Lance Taylor
27ff88367a
* pex-os2.c: Remove.
...
* configure.ac: Remove *-*-os2-emx* case when setting pexecute.
* Makefile.in (CFILES): Remove pex-os2.c.
(CONFIGURED_OFILES): Remove pex-os2.o.
(pex-os2.o): Remove target.
* configure: Rebuild.
2005-03-09 21:28:10 +00:00
DJ Delorie
20cfcaee85
merge from gcc
2005-03-07 23:20:07 +00:00
DJ Delorie
190eb1370b
merge from gcc
2005-03-01 14:33:00 +00:00
DJ Delorie
46a100497f
merge from gcc
2004-12-27 21:39:28 +00:00
DJ Delorie
11a338da34
merge from gcc
2004-12-20 04:20:34 +00:00
H.J. Lu
96e00b336a
2004-12-18 H.J. Lu <hongjiu.lu@intel.com>
...
* Makefile.in (top_builddir): Set to `.'.
(OUTPUT_OPTION): Removed.
(LIBTOOL): New.
(LTLIBOBJS): New.
(EXTRA_LTOFILES): New.
(FLAGS_TO_PASS): Add EXTRA_LTOFILES.
(all): Remove stamp-picdir.
(LTCOMPILE): New.
(.c.lo): New rule.
(REQUIRED_LTOFILES): New.
(CONFIGURED_LTOFILES): New.
($(TARGETLIB)): Check .libs for PIC object files. Depend on
$(REQUIRED_LTOFILES) $(EXTRA_LTOFILES) $(LTLIBOBJS).
(stamp-picdir): Completely removed.
(maint-missing): Pass $(REQUIRED_LTOFILES)
$(CONFIGURED_LTOFILES) instead of (REQUIRED_OFILES)
$(CONFIGURED_OFILES)
(maint-buildall): Depend on $(REQUIRED_LTOFILES)
$(CONFIGURED_LTOFILES).
(mostlyclean): Also remove *.lo .libs.
Run "make maint-deps".
* aclocal.m4: Include ../libtool.m4.
* config.table: Don't check --enable-shared.
* configure.ac (AC_PROG_LIBTOOL): Add.
(AC_PROG_CC_C_O): Removed.
(OUTPUT_OPTION): Removed.
(NO_MINUS_C_MINUS_O): Removed.
(ltpexecute): New substitute.
(LIBOBJS): Cleanup.
* configure: Regenerated.
* maint-tool: Updated for .lo/libtool.
2004-12-18 16:46:03 +00:00