head 1.2; access; symbols; locks; strict; comment @// @; 1.2 date 2026.06.13.15.58.32; author js; state dead; branches; next 1.1; commitid 6mKpx9Vn1opdBEJG; 1.1 date 2026.04.04.01.29.42; author js; state Exp; branches; next ; commitid g4qx9XNb89mE2AAG; desc @@ 1.2 log @Update cross/ppc-morphos-gcc to 15.2.0 This updates to the version from the MorphOS 3.20 SDK. @ text @$NetBSD: patch-gcc_config_rs6000_rs6000.cc,v 1.1 2026/04/04 01:29:42 js Exp $ Also use baserel for const - after all, something in a const might refer to something that gets relocated, so needs to be accessed baserel as well. --- gcc/config/rs6000/rs6000.cc.orig 2026-04-04 01:09:46.269295661 +0000 +++ gcc/config/rs6000/rs6000.cc @@@@ -20973,7 +20973,6 @@@@ rs6000_elf_encode_section_info (tree dec rtx symbol = XEXP (rtl, 0); if(TREE_CODE (decl) == VAR_DECL && - !TREE_READONLY(decl) && GET_CODE (symbol) == SYMBOL_REF) { const char *name = DECL_SECTION_NAME (decl); @ 1.1 log @cross/ppc-morphos-gcc: One more baserel fix Also use baserel for const - after all, something in a const might refer to something that gets relocated, so needs to be accessed baserel as well. @ text @d1 1 a1 1 $NetBSD$ @