From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from aserp2120.oracle.com (aserp2120.oracle.com [141.146.126.78]) by sourceware.org (Postfix) with ESMTPS id 5E887386F803 for ; Wed, 22 Jul 2020 09:39:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 5E887386F803 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 06M9bWw0024967 for ; Wed, 22 Jul 2020 09:39:34 GMT Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by aserp2120.oracle.com with ESMTP id 32bs1mj3wh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Wed, 22 Jul 2020 09:39:34 +0000 Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 06M9dQok129705 for ; Wed, 22 Jul 2020 09:39:34 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userp3030.oracle.com with ESMTP id 32ejwd87xa-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Wed, 22 Jul 2020 09:39:33 +0000 Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 06M9dXRJ021046 for ; Wed, 22 Jul 2020 09:39:33 GMT Received: from loom.srvr.nix (/81.187.191.129) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 22 Jul 2020 02:39:32 -0700 From: Nick Alcock To: binutils@sourceware.org Subject: [PATCH 0/4] fallout of various portability testing Date: Wed, 22 Jul 2020 10:39:22 +0100 Message-Id: <20200722093926.309568-1-nick.alcock@oracle.com> X-Mailer: git-send-email 2.27.0.247.g3dff7de930 In-Reply-To: <20200630233146.338613-1-nick.alcock@oracle.com> References: <20200630233146.338613-1-nick.alcock@oracle.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9689 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 phishscore=0 bulkscore=0 malwarescore=0 suspectscore=1 mlxlogscore=999 mlxscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2007220072 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9689 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 bulkscore=0 adultscore=0 lowpriorityscore=0 mlxlogscore=999 malwarescore=0 clxscore=1015 spamscore=0 mlxscore=0 impostorscore=0 phishscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2007220072 X-Spam-Status: No, score=-6.1 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2020 09:39:36 -0000 These patches are non-fixups that fell out of tests on bigendian Linux, 64-bit Cygwin, and 32- and 64-bit MinGW tests (accompanying the fixups I just posted, but not applying to patches in the deduplicator series, or things I think should be separate commits). A cross of x86_64-pc-cygwin64 -> x86_64-pc-linux-gnu is building at the moment so I can try to actually test the CTF deduplicator on 64-bit Windows, even if only in cross. That's because unfortunately it seems that more linker work is needed before non-ELF platforms (like Cygwin and mingw) will actually emit CTF sections: right now the deduplicator runs and the linker never emits the section afterwards. I'll get to that, but for now just (temporarily) suppress CTF tests, even with a suitable compiler, unless this is an ELF platform, on the grounds that if PE is failing to emit the .ctf section, everything else I haven't paid attention to yet is likely to as well. Nick Alcock (4): ld, testsuite: do not run CTF tests at all on non-ELF for now libctf, binutils: fix big-endian libctf archive opening libctf: fix isspace casts libctf: fixes for systems on which sizeof (void *) > sizeof (long) ld/testsuite/ld-ctf/ctf.exp | 5 +++++ libctf/ctf-archive.c | 2 +- libctf/ctf-create.c | 16 ++++++++++------ libctf/ctf-hash.c | 2 +- libctf/ctf-lookup.c | 6 +++--- libctf/ctf-types.c | 2 +- 6 files changed, 21 insertions(+), 12 deletions(-) -- 2.27.0.247.g3dff7de930