acadia-newlib/config
H.J. Lu 88d86e5970 GCC: Check if AR works with --plugin and rc
AR from older binutils doesn't work with --plugin and rc:

[hjl@gnu-cfl-2 bin]$ touch foo.c
[hjl@gnu-cfl-2 bin]$ ar --plugin /usr/libexec/gcc/x86_64-redhat-linux/10/liblto_plugin.so rc libfoo.a foo.c
[hjl@gnu-cfl-2 bin]$ ./ar --plugin /usr/libexec/gcc/x86_64-redhat-linux/10/liblto_plugin.so rc libfoo.a foo.c
./ar: no operation specified
[hjl@gnu-cfl-2 bin]$ ./ar --version
GNU ar (Linux/GNU Binutils) 2.29.51.0.1.20180112
Copyright (C) 2018 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) any later version.
This program has absolutely no warranty.
[hjl@gnu-cfl-2 bin]$

Check if AR works with --plugin and rc before passing --plugin to AR and
RANLIB.

	PR ld/27173
	* configure: Regenerated.
	* libtool.m4 (_LT_CMD_OLD_ARCHIVE): Check if AR works with
	--plugin and rc before enabling --plugin.

config/

	PR ld/27173
	* gcc-plugin.m4 (GCC_PLUGIN_OPTION): Check if AR works with
	--plugin and rc before enabling --plugin.

libiberty/

	PR ld/27173
	* configure: Regenerated.

zlib/

	PR ld/27173
	* configure: Regenerated.
2022-01-12 08:43:14 -05:00
..
ChangeLog Sync with upstream gcc. 2016-06-23 15:54:55 -04:00
acinclude.m4 Sync toplevel with upstream GCC. 2016-03-22 10:25:20 +01:00
acx.m4 * configure: Regenerate. 2011-12-18 10:20:52 +00:00
asmcfi.m4 Resync config/ from GCC. 2012-05-29 15:58:15 +00:00
bitfields.m4 Sync toplevel with upstream GCC. 2016-03-22 10:25:20 +01:00
bootstrap-O1.mk ChangeLog: 2009-05-12 18:16:01 +00:00
bootstrap-O3.mk ChangeLog: 2009-05-12 18:16:01 +00:00
bootstrap-asan.mk Sync toplevel with upstream GCC. 2016-03-22 10:25:20 +01:00
bootstrap-debug-big.mk ChangeLog: 2009-09-07 00:44:08 +00:00
bootstrap-debug-ckovw.mk ChangeLog: 2009-09-07 00:44:08 +00:00
bootstrap-debug-lean.mk ChangeLog: 2009-09-07 00:44:08 +00:00
bootstrap-debug-lib.mk ChangeLog: 2009-09-07 00:44:08 +00:00
bootstrap-debug.mk ChangeLog: 2009-09-07 00:44:08 +00:00
bootstrap-lto-noplugin.mk Sync toplevel with upstream GCC. 2016-03-22 10:25:20 +01:00
bootstrap-lto.mk Sync toplevel with upstream GCC. 2016-03-22 10:25:20 +01:00
bootstrap-mpx.mk Sync toplevel with upstream GCC. 2016-03-22 10:25:20 +01:00
bootstrap-time.mk ChangeLog: 2009-09-07 00:44:08 +00:00
bootstrap-ubsan.mk Sync toplevel with upstream GCC. 2016-03-22 10:25:20 +01:00
cloog.m4 * configure: Regenerate after syncing config/. 2013-02-04 23:31:16 +00:00
codeset.m4 Merge from gcc 2004-09-23 19:43:47 +00:00
depstand.m4 2007-02-09 Paolo Bonzini <bonzini@gnu.org> 2007-02-09 19:24:42 +00:00
dfp.m4 Sync toplevel with upstream GCC. 2016-03-22 10:25:20 +01:00
elf.m4 Sync with upstream gcc. 2016-06-23 15:54:55 -04:00
enable.m4 * enable.m4: New file. 2005-09-23 17:28:31 +00:00
extensions.m4 config/ 2009-07-30 19:43:16 +00:00
futex.m4 * futex.m4: New file. 2008-01-08 17:29:24 +00:00
gc++filt.m4 * gc++filt.m4: New file. 2010-07-02 11:58:19 +00:00
gcc-plugin.m4 GCC: Check if AR works with --plugin and rc 2022-01-12 08:43:14 -05:00
gettext-sister.m4 Richard Earnshaw <rearnsha@arm.com> 2006-06-13 08:02:20 +00:00
gettext.m4 Sync toplevel with upstream GCC. 2016-03-22 10:25:20 +01:00
glibc21.m4 Merge from gcc 2004-09-23 19:43:47 +00:00
gthr.m4 Add gthr.m4 2012-11-03 23:53:02 +00:00
gxx-include-dir.m4 Sync from GCC 2006-07-25 08:39:57 +00:00
iconv.m4 Sync toplevel with upstream GCC. 2016-03-22 10:25:20 +01:00
intdiv0.m4 Merge from gcc 2004-09-23 19:43:47 +00:00
inttypes-pri.m4 Merge from gcc 2004-09-23 19:43:47 +00:00
inttypes.m4 Merge from gcc 2004-09-23 19:43:47 +00:00
inttypes_h.m4 Merge from gcc 2004-09-23 19:43:47 +00:00
isl.m4 Sync toplevel with upstream GCC. 2016-03-22 10:25:20 +01:00
largefile.m4 config: 2009-11-30 16:46:38 +00:00
lcmessage.m4 Merge from gcc 2004-09-23 19:43:47 +00:00
ld-symbolic.m4 2007-01-14 H.J. Lu <hongjiu.lu@intel.com> 2007-01-14 15:39:41 +00:00
lead-dot.m4 Sync config/ from GCC: 2009-08-16 12:49:48 +00:00
lib-ld.m4 Merge from gcc 2004-09-23 19:43:47 +00:00
lib-link.m4 Merge from gcc 2004-09-23 19:43:47 +00:00
lib-prefix.m4 Merge from gcc 2004-09-23 19:43:47 +00:00
libstdc++-raw-cxx.m4 Remove "-I" from LIBSTDCXX_RAW_CXX_LDFLAGS 2013-01-07 18:25:13 +00:00
lthostflags.m4 PR target/40125 2010-12-06 01:40:20 +00:00
math.m4 Resync config/ from GCC. 2012-05-29 15:58:15 +00:00
mh-alpha-linux Sync toplevel with upstream GCC. 2016-03-22 10:25:20 +01:00
mh-cygwin 2011-03-24 Paolo Bonzini <bonzini@gnu.org> 2011-03-24 17:31:20 +00:00
mh-darwin Sync toplevel with upstream GCC. 2016-03-22 10:25:20 +01:00
mh-djgpp sync with gcc 2002-04-12 01:23:53 +00:00
mh-mingw * mh-cygwin (LDFLAGS): Turn up stack allocation to 12MB. 2010-12-02 23:36:59 +00:00
mh-pa 2008-07-30 Paolo Bonzini <bonzini@gnu.org> 2008-07-30 15:03:57 +00:00
mh-pa-hpux10 2008-07-30 Paolo Bonzini <bonzini@gnu.org> 2008-07-30 15:03:57 +00:00
mh-ppc-aix Resync config/ from GCC. 2012-05-29 15:58:15 +00:00
mmap.m4 Resync config/ from GCC. 2012-05-29 15:58:15 +00:00
mt-alphaieee Resync config/ from GCC. 2012-05-29 15:58:15 +00:00
mt-d30v 19990502 sourceware import 1999-05-03 07:29:06 +00:00
mt-gnu Sync toplevel with upstream GCC. 2016-03-22 10:25:20 +01:00
mt-mips-elfoabi * configure.ac (mips*-*-*linux*, mips*-*-gnu*): Use mt-mips-gnu. 2008-08-16 06:47:17 +00:00
mt-mips-gnu * configure.ac (mips*-*-*linux*, mips*-*-gnu*): Use mt-mips-gnu. 2008-08-16 06:47:17 +00:00
mt-mips16-compat * configure.ac (mips*-*-*linux*, mips*-*-gnu*): Use mt-mips-gnu. 2008-08-16 06:47:17 +00:00
mt-nios2-elf 2014-05-14 Sandra Loosemore <sandra@codesourcery.com> 2014-05-14 23:24:37 +00:00
mt-ospace Sync toplevel with upstream GCC. 2016-03-22 10:25:20 +01:00
mt-sde 2012-09-19 Steve Ellcey <sellcey@mips.com> 2012-09-19 21:22:33 +00:00
mt-spu * mt-spu (all-ld): Update for ld Makefile changes. 2008-08-03 03:38:07 +00:00
multi.m4 ChangeLog: 2009-05-12 18:16:01 +00:00
nls.m4 Merge from gcc 2004-09-23 19:43:47 +00:00
no-executables.m4 config/ 2009-07-30 19:43:16 +00:00
override.m4 Bump to autoconf 2.69 and automake 1.15.1 2022-01-12 07:05:02 -05:00
picflag.m4 Sync with upstream gcc. 2016-06-23 15:54:55 -04:00
plugins.m4 Sync toplevel with upstream GCC. 2016-03-22 10:25:20 +01:00
po.m4 Sync toplevel with upstream GCC. 2016-03-22 10:25:20 +01:00
proginstall.m4 * configure.ac: m4_include config/proginstall.m4. 2008-03-17 22:17:29 +00:00
progtest.m4 Import from gcc repository: 2003-07-14 18:38:36 +00:00
sjlj.m4 Sync toplevel with upstream GCC. 2016-03-22 10:25:20 +01:00
stdint.m4 Sync toplevel with upstream GCC. 2016-03-22 10:25:20 +01:00
stdint_h.m4 Merge from gcc 2004-09-23 19:43:47 +00:00
target-posix Sync toplevel with upstream GCC. 2016-03-22 10:25:20 +01:00
tcl.m4 Sync toplevel with upstream GCC. 2016-03-22 10:25:20 +01:00
tls.m4 sync changelog with gcc, plus commit the following patch: 2010-06-10 16:01:32 +00:00
uintmax_t.m4 Merge from gcc 2004-09-23 19:43:47 +00:00
ulonglong.m4 Merge from gcc 2004-09-23 19:43:47 +00:00
unwind_ipinfo.m4 Sync config/ from GCC: 2009-08-16 12:49:48 +00:00
warnings.m4 Sync toplevel with upstream GCC. 2016-03-22 10:25:20 +01:00
weakref.m4 Resync config/ from GCC. 2012-05-29 15:58:15 +00:00
zlib.m4 Sync toplevel with upstream GCC. 2016-03-22 10:25:20 +01:00