gcc/contrib
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
..
gcc-changelog contrib/gcc-changelog/git_check_commit.py: Implement --num-commits 2024-05-06 10:08:33 -07:00
header-tools
legacy Update copyright years. 2024-01-03 12:19:35 +01:00
mdcompact
reghunt Update copyright years. 2024-01-03 12:19:35 +01:00
regression Update copyright years. 2024-01-03 12:19:35 +01:00
testsuite-management Update copyright years. 2024-01-03 12:19:35 +01:00
unicode libstdc++: Fix Python scripts to output the correct filename 2024-03-19 15:20:07 +00:00
vim-gcc-dev Update copyright years. 2024-01-03 12:19:35 +01:00
analyze_brprob_spec.py contrib: Remove C-style comments from Python files 2024-01-05 13:57:05 +00:00
analyze_brprob.py contrib: Remove C-style comments from Python files 2024-01-05 13:57:05 +00:00
bench-stringop Update copyright years. 2024-01-03 12:19:35 +01:00
ChangeLog Daily bump. 2024-05-07 00:18:28 +00:00
ChangeLog.jit
ChangeLog.tree-ssa
check_GNU_style_lib.py contrib: Remove C-style comments from Python files 2024-01-05 13:57:05 +00:00
check_GNU_style.py contrib: Remove C-style comments from Python files 2024-01-05 13:57:05 +00:00
check_GNU_style.sh Update copyright years. 2024-01-03 12:19:35 +01:00
check_makefile_deps.sh Update copyright years. 2024-01-03 12:19:35 +01:00
check_warning_flags.sh Update copyright years. 2024-01-03 12:19:35 +01:00
check-internal-format-escaping.py
check-MAINTAINERS.py Update copyright years. 2024-01-03 12:19:35 +01:00
check-params-in-docs.py contrib/check-params-in-docs.py: Ignore target-specific params 2024-04-12 09:55:05 +02:00
clang-format Update copyright years. 2024-01-03 12:19:35 +01:00
compare_tests compare_tests: distinguish c-c++-common results by tool 2023-12-21 01:02:41 -03:00
compare_two_ftime_report_sets Update copyright years. 2024-01-03 12:19:35 +01:00
compare-all-tests Update copyright years. 2024-01-03 12:19:35 +01:00
compare-debug Update copyright years. 2024-01-03 12:19:35 +01:00
compare-lto Update copyright years. 2024-01-03 12:19:35 +01:00
compareSumTests3 Update copyright years. 2024-01-03 12:19:35 +01:00
config-list.mk Add nios2*-*-* to the list of obsolete targets 2024-04-18 20:06:23 +00:00
dg-cmp-results.sh Update copyright years. 2024-01-03 12:19:35 +01:00
dg-extract-results.py dg-extract-results.py: Ignore case in header line 2024-01-11 17:46:12 +01:00
dg-extract-results.sh contrib: Improve dg-extract-results.sh's Python detection [PR109668] 2024-03-08 15:24:20 +01:00
dg-out-generator.pl Update copyright years. 2024-01-03 12:19:35 +01:00
dglib.pm Update copyright years. 2024-01-03 12:19:35 +01:00
download_prerequisites Update copyright years. 2024-01-03 12:19:35 +01:00
filter_gcc_for_doxygen
filter_knr2ansi.pl
filter_params.py
filter-clang-warnings.py contrib: Remove C-style comments from Python files 2024-01-05 13:57:05 +00:00
gcc_build Update copyright years. 2024-01-03 12:19:35 +01:00
gcc_update gcc_update: Add missing generated files 2024-03-18 14:29:15 +00:00
gcc-git-customization.sh contrib: add git gcc-style alias 2023-12-20 18:08:16 -05:00
gcc.doxy
gen_autofdo_event.py contrib: Remove C-style comments from Python files 2024-01-05 13:57:05 +00:00
gennews Update gennews for GCC 14. 2024-05-07 08:48:19 +02:00
git-add-user-branch.sh
git-add-vendor-branch.sh
git-backport.py Update copyright years. 2024-01-03 12:19:35 +01:00
git-commit-mklog.py Update copyright years. 2024-01-03 12:19:35 +01:00
git-descr.sh
git-fetch-vendor.sh
git-fix-changelog.py Update copyright years. 2024-01-03 12:19:35 +01:00
git-undescr.sh
gthr_supp_vxw_5x.c
index-prop
jit-coverage-report.py Update copyright years. 2024-01-03 12:19:35 +01:00
make_sunver.pl build: Derive object names in make_sunver.pl 2024-05-07 13:14:05 +02:00
make-obstacks-texi.pl
mark_spam.py contrib: Remove C-style comments from Python files 2024-01-05 13:57:05 +00:00
mklog.py contrib: mklog: Use present tense in ChangeLog 2024-03-01 16:21:46 +01:00
paranoia.cc
patch_tester.sh Update copyright years. 2024-01-03 12:19:35 +01:00
prepare_patch.sh Update copyright years. 2024-01-03 12:19:35 +01:00
prepare-commit-msg Update copyright years. 2024-01-03 12:19:35 +01:00
prerequisites.md5 *: add modern gettext 2023-11-14 00:47:11 +01:00
prerequisites.sha512 *: add modern gettext 2023-11-14 00:47:11 +01:00
repro_fail
test_installed contrib: Fill in HOST{CC,CFLAGS,CXX,CXXFLAGS} in test_installed 2024-02-05 18:57:45 +01:00
test_mklog.py contrib: Update test_mklog to correspond to mklog 2024-03-07 13:23:49 +01:00
test_recheck
test_summary
texi2pod.pl Update copyright years. 2024-01-03 12:19:35 +01:00
uninclude
unused_functions.py Update copyright years. 2024-01-03 12:19:35 +01:00
update-copyright.py Small tweaks for update-copyright.py 2024-01-03 12:11:32 +01:00
vimrc Update copyright years. 2024-01-03 12:19:35 +01:00
warn_summary