gcc/libatomic
Rainer Orth 35b05a02de build: Derive object names in make_sunver.pl
The recent move of libgfortran object files to subdirs and the resulting
breakage of libgfortran.so symbol exports demonstrated how fragile
deriving object and archive names from their libtool counterparts in the
Makefiles is.  Therefore, this patch moves that step into
make_sunver.pl, considerably simplifying the Makefile rules to create
the version scripts.

Bootstrapped without regressions on i386-pc-solaris2.11 and
sparc-sun-solaris2.11, verifying that the version scripts are identical
except for the input filenames.

2024-05-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	contrib:
	* make_sunver.pl: Use File::Basename;
	Skip -lLIB args.
	Convert libtool object/archive names to underlying
	objects/archives.

	libatomic:
	* Makefile.am [LIBAT_BUILD_VERSIONED_SHLIB_SUN]
	(libatomic.map-sun): Pass $(libatomic_la_OBJECTS),
	$(libatomic_la_LIBADD) to make_sunver.pl unmodified.
	* Makefile.in: Regenerate.

	libffi:
	* Makefile.am [LIBFFI_BUILD_VERSIONED_SHLIB_SUN] (libffi.map-sun):
	Pass $(libffi_la_OBJECTS), $(libffi_la_LIBADD) to make_sunver.pl
	unmodified.
	* Makefile.in: Regenerate.

	libgfortran:
	* Makefile.am [LIBGFOR_USE_SYMVER_SUN} (gfortran.ver-sun): Pass
	$(libgfortran_la_OBJECTS), $(libgfortran_la_LIBADD) to
	make_sunver.pl unmodified.
	* Makefile.in: Regenerate.

	libgomp:
	* Makefile.am [LIBGOMP_BUILD_VERSIONED_SHLIB_SUN]
	(libgomp.ver-sun): Pass $(libgomp_la_OBJECTS),
	$(libgomp_la_LIBADD) to make_sunver.pl unmodified.
	* Makefile.in: Regenerate.

	libitm:
	* Makefile.am [LIBITM_BUILD_VERSIONED_SHLIB_SUN] (libitm.map-sun):
	Pass $(libitm_la_OBJECTS), $(libitm_la_LIBADD) to make_sunver.pl
	unmodified.
	* Makefile.in: Regenerate.

	libquadmath:
	* Makefile.am [LIBQUAD_USE_SYMVER_SUN] (quadmath.map-sun): Pass
	$(libquadmath_la_OBJECTS), $(libquadmath_la_LIBADD) to
	make_sunver.pl unmodified.
	* Makefile.in: Regenerate.

	libssp:
	* Makefile.am [LIBSSP_USE_SYMVER_SUN] (ssp.map-sun): Pass
	$(libssp_la_OBJECTS), $(libssp_la_LIBADD) to make_sunver.pl
	unmodified.
	* Makefile.in: Regenerate.

	libstdc++-v3:
	* src/Makefile.am [ENABLE_SYMVERS_SUN]
	(libstdc++-symbols.ver-sun): Pass $(libstdc___la_OBJECTS),
	$(libstdc___la_LIBADD) to make_sunver.pl unmodified.
	* src/Makefile.in: Regenerate.
2024-05-07 13:14:05 +02:00
..
config libatomic: Cleanup macros in atomic_16.S 2024-04-26 18:11:29 +01:00
testsuite Update copyright years. 2024-01-03 12:19:35 +01:00
.gitignore
acinclude.m4 libatomic: Fix build for --disable-gnu-indirect-function [PR113986] 2024-04-04 22:28:58 +01:00
aclocal.m4 Add `--with-toolexeclibdir=' configuration option 2020-01-24 11:24:25 +00:00
auto-config.h.in libatomic: Enable LSE128 128-bit atomics for Armv9.4-a 2024-01-28 20:02:01 +00:00
cas_n.c Update copyright years. 2024-01-03 12:19:35 +01:00
ChangeLog Daily bump. 2024-04-27 00:18:05 +00:00
configure libatomic: Regenerate configure properly 2024-04-05 12:15:06 +02:00
configure.ac libatomic: Enable LSE128 128-bit atomics for Armv9.4-a 2024-01-28 20:02:01 +00:00
configure.tgt libatomic: Provide FPU exception defines for __hppa__ 2024-02-03 15:44:29 +00:00
exch_n.c Update copyright years. 2024-01-03 12:19:35 +01:00
fadd_n.c Update copyright years. 2024-01-03 12:19:35 +01:00
fand_n.c
fence.c Update copyright years. 2024-01-03 12:19:35 +01:00
fenv.c Update copyright years. 2024-01-03 12:19:35 +01:00
fior_n.c
flag.c Update copyright years. 2024-01-03 12:19:35 +01:00
fnand_n.c
fop_n.c Update copyright years. 2024-01-03 12:19:35 +01:00
fsub_n.c
fxor_n.c
gcas.c Update copyright years. 2024-01-03 12:19:35 +01:00
gexch.c Update copyright years. 2024-01-03 12:19:35 +01:00
glfree.c Update copyright years. 2024-01-03 12:19:35 +01:00
gload.c Update copyright years. 2024-01-03 12:19:35 +01:00
gstore.c Update copyright years. 2024-01-03 12:19:35 +01:00
host-config.h Update copyright years. 2024-01-03 12:19:35 +01:00
init.c
libatomic_i.h Update copyright years. 2024-01-03 12:19:35 +01:00
libatomic.map
load_n.c Update copyright years. 2024-01-03 12:19:35 +01:00
Makefile.am build: Derive object names in make_sunver.pl 2024-05-07 13:14:05 +02:00
Makefile.in build: Derive object names in make_sunver.pl 2024-05-07 13:14:05 +02:00
store_n.c Update copyright years. 2024-01-03 12:19:35 +01:00
tas_n.c Update copyright years. 2024-01-03 12:19:35 +01:00