gcc/libcc1
H.J. Lu 9c7797a8c2
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.

ChangeLog:

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

config/ChangeLog:

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

gcc/ChangeLog:

	* configure: Regenerate.

libatomic/ChangeLog:

	* configure: Regenerate.

libbacktrace/ChangeLog:

	* configure: Regenerate.

libcc1/ChangeLog:

	* configure: Regenerate.

libffi/ChangeLog:

	* configure: Regenerate.

libgfortran/ChangeLog:

	* configure: Regenerate.

libgm2/ChangeLog:

	* configure: Regenerate.

libgomp/ChangeLog:

	* configure: Regenerate.

libiberty/ChangeLog:

	* configure: Regenerate.

libitm/ChangeLog:

	* configure: Regenerate.

libobjc/ChangeLog:

	* configure: Regenerate.

libphobos/ChangeLog:

	* configure: Regenerate.

libquadmath/ChangeLog:

	* configure: Regenerate.

libsanitizer/ChangeLog:

	* configure: Regenerate.

libssp/ChangeLog:

	* configure: Regenerate.

libstdc++-v3/ChangeLog:

	* configure: Regenerate.

libvtv/ChangeLog:

	* configure: Regenerate.

lto-plugin/ChangeLog:

	* configure: Regenerate.

zlib/ChangeLog:

	* configure: Regenerate.
2023-08-07 22:59:37 +02:00
..
ChangeLog Daily bump. 2023-05-19 00:17:43 +00:00
Makefile.am Update copyright years. 2023-01-16 11:52:17 +01:00
Makefile.in Darwin, libcc1: Handle hosts with mdynamic-no-pic support. 2021-08-17 20:03:56 +01:00
aclocal.m4 libcc1: Enable Intel CET on Intel CET enabled host 2020-05-12 09:12:37 -07:00
callbacks.cc Update copyright years. 2023-01-16 11:52:17 +01:00
callbacks.hh Update copyright years. 2023-01-16 11:52:17 +01:00
cc1plugin-config.h.in
compiler-name.hh Update copyright years. 2023-01-16 11:52:17 +01:00
compiler.cc Update copyright years. 2023-01-16 11:52:17 +01:00
compiler.hh Update copyright years. 2023-01-16 11:52:17 +01:00
configure GCC: Check if AR works with --plugin and rc 2023-08-07 22:59:37 +02:00
configure.ac Update copyright years. 2023-01-16 11:52:17 +01:00
connection.cc Update copyright years. 2023-01-16 11:52:17 +01:00
connection.hh Update copyright years. 2023-01-16 11:52:17 +01:00
context.cc Update copyright years. 2023-01-16 11:52:17 +01:00
context.hh Update copyright years. 2023-01-16 11:52:17 +01:00
deleter.hh Update copyright years. 2023-01-16 11:52:17 +01:00
findcomp.cc Update copyright years. 2023-01-16 11:52:17 +01:00
findcomp.hh Update copyright years. 2023-01-16 11:52:17 +01:00
gdbctx.hh Update copyright years. 2023-01-16 11:52:17 +01:00
libcc1.cc Update copyright years. 2023-01-16 11:52:17 +01:00
libcc1.sym Introduce C++ support in libcc1 2017-01-31 01:02:03 +00:00
libcc1plugin.cc c: use _P() defines from tree.h 2023-05-18 21:50:46 +02:00
libcc1plugin.sym
libcp1.cc Update copyright years. 2023-01-16 11:52:17 +01:00
libcp1plugin.cc c: use _P() defines from tree.h 2023-05-18 21:50:46 +02:00
libcp1plugin.sym Introduce C++ support in libcc1 2017-01-31 01:02:03 +00:00
marshall-cp.hh Update copyright years. 2023-01-16 11:52:17 +01:00
marshall.cc Update copyright years. 2023-01-16 11:52:17 +01:00
marshall.hh Update copyright years. 2023-01-16 11:52:17 +01:00
names.cc Update copyright years. 2023-01-16 11:52:17 +01:00
names.hh Update copyright years. 2023-01-16 11:52:17 +01:00
rpc.hh Update copyright years. 2023-01-16 11:52:17 +01:00
status.hh Update copyright years. 2023-01-16 11:52:17 +01:00