https://sourceware.org/bugzilla/show_bug.cgi?id=34125
--- Comment #5 from Sourceware Commits <cvs-commit at gcc dot gnu.org> --- The binutils-2_46-branch branch has been updated by H.J. Lu <[email protected]>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=1d74be61a50257fb78ff9f3081a746d82bcc64a5 commit 1d74be61a50257fb78ff9f3081a746d82bcc64a5 Author: Mark Wielaard <[email protected]> Date: Sat May 2 18:56:52 2026 +0200 ld: Fix calls to strchr that discard or use wrong const qualifiers PR binutils/34125 * ld/emultempl/pe.em (pe_fixup_stdcalls): Make at a const char *. (gldEMULATION_NAME_after_open): Make pnt a const char *. (gldEMULATION_NAME_place_orphan): Make dollar a const char *. * ld/emultempl/pep.em (pep_fixup_stdcalls): Make at a const char *. Introduce at2 as non-const char *. (gldEMULATION_NAME_after_open): Make pnt a const char *. (gldEMULATION_NAME_place_orphan): Make dollar a const char *. * ld/emultempl/spuelf.em (spu_elf_load_ovl_mgr): Make p a const char *. Introduce np as char *. * ld/ldelf.c (ldelf_search_needed): Call strchr on freeme, so slash is non-const, then assign freeme to replacement. (cherry picked from commit 34ca322d8a2b55e4ee193492a489aaa68195cffb) -- You are receiving this mail because: You are on the CC list for the bug.
