head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2026.07.22.19.28.27; author he; state Exp; branches; next ; commitid 0u5lNjmDZTsRtGOG; desc @@ 1.1 log @lang/gcc15: Add changes to make this build on NetBSD/macppc 11.0_RC6. This pulls over changes to config/rs6000/ and gcc/config.gcc from our in-tree gcc instance of gcc14, while preserving existing Homebrew- related changes to gcc/config.gcc. The most important fix is that on NetBSD/powerpc, -msecure-plt is enabled by default, so that resulting executables can be run with PAX_MPROTECT active. Otherwise, we end up with executables with sections which have both "write" and "execute" turned on, which PAX_MPROTECT rejects. Fixes PR#60439. Bump PKGREVISION for both gcc15 and gcc15-libs, to adhere to rules in comments, even though this *should* be a single-arch build fix, since I had to merge the patch to gcc/config.gcc. @ text @$NetBSD: patch-gcc_config_rs6000_t-rs6000,v 1.1 2026/07/20 08:02:51 he Exp $ Carry over changes from in-tree gcc in an attempt at making this build on NetBSD/powerpc. --- gcc/config/rs6000/t-rs6000.orig 13 Sep 2025 23:45:31 -0000 1.1.1.13 +++ gcc/config/rs6000/t-rs6000 14 Sep 2025 00:07:23 -0000 1.11 @@@@ -93,6 +93,8 @@@@ $(srcdir)/config/rs6000/rs6000-tables.opt: $(srcdir)/config/rs6000/genopt.sh \ $(srcdir)/config/rs6000/rs6000-cpus.def + @@echo "NOT REBUILDING $@@" +NetBSD_DISABLED_rs6000-tables.opt: $(SHELL) $(srcdir)/config/rs6000/genopt.sh $(srcdir)/config/rs6000 > \ $(srcdir)/config/rs6000/rs6000-tables.opt @