[PATCH] s390: Use 64bit branch relative on count instruction in strncpy-z900.S [BZ #34398]

Andreas K. Huettel dilfridge@gentoo.org
Tue Jul 14 09:52:26 GMT 2026


> > diff --git a/sysdeps/s390/strncpy-z900.S b/sysdeps/s390/strncpy-z900.S
> > index 6d954cf402..141cba2294 100644
> > --- a/sysdeps/s390/strncpy-z900.S
> > +++ b/sysdeps/s390/strncpy-z900.S
> > @@ -56,7 +56,7 @@ ENTRY(STRNCPY_Z900)
> >  	jz    .L10
> >  	stg   %r0,0(%r2,%r3)	    # store all eight to dest.
> >  	la    %r3,8(%r3)
> > -	brct  %r4,.L0
> > +	brctg %r4,.L0
> >  .L1:	ltgr  %r1,%r1
> >  	jz    .Lexit
> >  .L2:	icm   %r0,1,0(%r3)
> 
> Hi Andreas,
> 
> can I just push this to master before the release?

Given that 
 * you're the relevant machine maintainer
 * it's a one-liner
 * and it's a clear bugfix, 
sure, go ahead. 

Cheers & thanks, Andreas

> 
> Bye,
> Stefan
> 


-- 
PD Dr. Andreas K. Hüttel
dilfridge@gentoo.org
Gentoo Linux developer 
(council, comrel, toolchain, base-system, perl, libreoffice)
https://wiki.gentoo.org/wiki/User:Dilfridge
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 870 bytes
Desc: This is a digitally signed message part.
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20260714/00baf17d/attachment-0001.sig>


More information about the Libc-alpha mailing list