From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7562 invoked by alias); 18 Oct 2002 08:02:44 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 7512 invoked from network); 18 Oct 2002 08:02:42 -0000 Received: from unknown (HELO d06lmsgate-4.uk.ibm.COM) (195.212.29.4) by sources.redhat.com with SMTP; 18 Oct 2002 08:02:42 -0000 Received: from d06relay02.portsmouth.uk.ibm.com (d06relay02.portsmouth.uk.ibm.com [9.166.84.148]) by d06lmsgate-4.uk.ibm.COM (1.0.0) with ESMTP id IAA89664 for ; Fri, 18 Oct 2002 08:44:04 +0100 Received: from mschwid3 (dhcp166221.boeblingen.de.ibm.com [9.164.166.221]) by d06relay02.portsmouth.uk.ibm.com (8.12.3/NCO/VER6.4) with ESMTP id g9I82drs061384 for ; Fri, 18 Oct 2002 09:02:39 +0100 Content-Type: text/plain; charset="us-ascii" From: Martin Schwidefsky Organization: IBM Deutschland GmbH To: binutils@sources.redhat.com Subject: s390 gas bug. Date: Fri, 18 Oct 2002 01:02:00 -0000 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200210181000.49418.schwidefsky@de.ibm.com> X-SW-Source: 2002-10/txt/msg00433.txt.bz2 Hi I just checked in a small bug fix for the s390 assembler. The biarch switch -m31 sets s390_arch_size to 31 instead of 32. This caused the relocation for _GLOBAL_OFFSET_TABLE_ to go wrong for biarch compiles. blue skies, Martin. 2002-10-18 Urlich Weigand * config/tc-s390.c (md_parse_option): Set s390_arch_size to 32 for option -m31. Index: tc-s390.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/src/src/gas/config/tc-s390.c,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- tc-s390.c 5 Sep 2002 00:01:18 -0000 1.21 +++ tc-s390.c 18 Oct 2002 07:30:06 -0000 1.22 @@ -375,7 +375,7 @@ warn_areg_zero =3D TRUE; =20 else if (arg !=3D NULL && strcmp (arg, "31") =3D=3D 0) - s390_arch_size =3D 31; + s390_arch_size =3D 32; =20 else if (arg !=3D NULL && strcmp (arg, "64") =3D=3D 0) s390_arch_size =3D 64;