From patchwork Tue Nov 14 10:03:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: YunQiang Su X-Patchwork-Id: 164801 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b909:0:b0:403:3b70:6f57 with SMTP id t9csp1756404vqg; Tue, 14 Nov 2023 02:03:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IFV9Xi3Zo1OZK71Sah9246uBy4QU0lLAevRiavrKq3Gh2wnGS3W6Wu8ip0WM0wFdd8E0b+f X-Received: by 2002:a05:620a:2889:b0:775:c0fc:3c4b with SMTP id j9-20020a05620a288900b00775c0fc3c4bmr1632251qkp.7.1699956229967; Tue, 14 Nov 2023 02:03:49 -0800 (PST) ARC-Seal: i=3; a=rsa-sha256; t=1699956229; cv=pass; d=google.com; s=arc-20160816; b=mcgfbd6eFH/YqeIP/nAfRzrcJw9CrcsIstCt8dD3kGM7jUz/gRnit/z1/zoLHWHUpT JO7X5jLM/s00g7xASFNmVTR7ciucvEQjkJzjYa9eNV6VtOKCnkJDXFbiyF3a3Y9uc3QT amHCVRcQzrDebUhe79S5PHg+m9INY6CCm/L0iRBYkW/kl9h7H8GPgysgX/5g5zxSTcXV kcWtQelT/l7oPYeJv+Jyt2ayijiSBVKfBokzrAmo14rtUruxy+fVn20Q653rizYA22E1 GMhiC6SZhMLryTqq8UiOiFbLn8mA4vR06v6hL3dDjgP4/HymNJlicna2ca6aZxi6AO1F bW9w== ARC-Message-Signature: i=3; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version :content-transfer-encoding:message-id:date:subject:cc:to:from :dkim-signature:arc-filter:dmarc-filter:delivered-to; bh=CQq61HZW/56h98HMbKI73qbXFv9MadmeelOtNFshZMA=; fh=zgn+771X4ysB7j9hSn7g/xv3tY8yVpzPfpfJXx/EswI=; b=V8AEZ+T/aC0h4iymRBvP3Kc6I/RYCGtanqfliAHHgl2j692UtGAKU/LXXZ6Yj7dPpY RecRk9HFEyx8ObNqtOcxnBwzWvygU9MmvgIhaPE0av7qvLmtjxZtdlSHzMWenQWNYmcC 6HJ0xFrV3Bd0GdAmd11iNIS5OqkVaFNt4JRATopyW/5GvbhGzzDCLB4BCA6vWo9kkThN XqSHkXz9NWOfbV7Di5DLwNIBQt8GzDdnAHj2Oqm2kLF55TVLrMZkz1CDdIqVOXcewpyw 8gLe73GcUCYWmEPL8/UKMhqbE/wLck96eQej/7SUs/Wpe7oYrgqxcVQmkxcylJUvzuTo QbIw== ARC-Authentication-Results: i=3; mx.google.com; dkim=pass header.i=@cipunited.onmicrosoft.com header.s=selector1-cipunited-onmicrosoft-com header.b=S4Vf8aU3; arc=pass (i=2); spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org" Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id 4-20020a05620a048400b0077a1d96f63fsi6349436qkr.356.2023.11.14.02.03.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Nov 2023 02:03:49 -0800 (PST) Received-SPF: pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@cipunited.onmicrosoft.com header.s=selector1-cipunited-onmicrosoft-com header.b=S4Vf8aU3; arc=pass (i=2); spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id AF7EC38582A4 for ; Tue, 14 Nov 2023 10:03:49 +0000 (GMT) X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01on2122.outbound.protection.outlook.com [40.107.215.122]) by sourceware.org (Postfix) with ESMTPS id C1CC23858D20 for ; Tue, 14 Nov 2023 10:03:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C1CC23858D20 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=cipunited.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=cipunited.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C1CC23858D20 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=40.107.215.122 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1699956224; cv=pass; b=dBtUV5n9D0zV/+OTQxK0zBuFUQiiatByNxefXdVrOYs7OOy64gqz9UXxg4oNs0SlrzlWQCbq/LzZZw8v8oJIPSai0th+G4TvwkX41Zgbmtz4fmTszmM6OrVZ7CRgABIoGBabaIozFg+7ByXrNC9BTlldkoPnjRz1iL2cO4lLniI= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1699956224; c=relaxed/simple; bh=yi+rzleKkDnxAV+eZ9rnPvQTC6IVKo9tCmm2RlLzHCs=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=GRSZb3f321pNpw7RYnm1oWmVLF70UTsmjqIXz1MrLHCWIGSqSn/8tttTjoelinohR6+ykmQRVeExMEc5GugJwTSlNo+e3Sa3M+gdBmVIkNGKUlWO2RBUHm0FCi+Z2iBsr+bjUE/9I/cBlXQH2IURxUxZSEfgdMSXn+i/XRBCSrw= ARC-Authentication-Results: i=2; server2.sourceware.org ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JZqhOxZQUBSUwMiA3DDAD6QwOplTNQhM574x4pEX4dY5tCWAcdCzsxJLQ0yfBMNK55c4xkJaxRZRGTScWeFDIzgZas5dAfl1zo3CoXf0sS9X0QHgxO/2x5yZdkz964uqg0u75HbNRKAOsB7XkVOo3rM5br0yxworryXiYI2oAW18FX2UBVkAbtp8veea8dNyhckLJgTxuHG1ked+X0xngwRd84Nxal80v/trUx1hOUJZnkzm7BQmBFCqImm8S474DnIRDZ0Fjr5bvSTYO+zBiZNc9nPc+fGLqeFo1HcD896av3PcXZrxqIOdv7dDDiJfmcZkPAgO/Mgkpy6OXMiU9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=CQq61HZW/56h98HMbKI73qbXFv9MadmeelOtNFshZMA=; b=dcSGfUSeMwQvaA1iycnhb85jWe/9sWYJvhKf8EyB/qp8pyAt+TfR3VkHc8XjjRn10GO9uTsmpKyW8PeD6+3AeXqo38TpQGlrZR6931tMgM1tvaX1fdlSXwB2mHc5uXQMJbQF9v+EcaRxeLjDDctCycjLXNQy37hz/2lpn0vmmTBqoPnDoygNTFEsWGQMWa33D4n6gAhx7Ptbj41mKwRlmPH9anMm0Xz/vUITWawM90JBihdRK8GtM7XwvPHMcmuW15uUA6jZJWbDUegLpYdTcvRmNZ39G3QbKrwUQI1ivyxEwNBr2mTYQvzoVDlWXe2ppMJuBNhzfXmTAIXNoTy1bw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cipunited.com; dmarc=pass action=none header.from=cipunited.com; dkim=pass header.d=cipunited.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cipunited.onmicrosoft.com; s=selector1-cipunited-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=CQq61HZW/56h98HMbKI73qbXFv9MadmeelOtNFshZMA=; b=S4Vf8aU3xXqDKCL5l+4gry9ko1JzSfyc/BYJc0BOcgJeT9TZPg3UW/jCqntYYrhaaz7qVMnJKoaw9fr3Be+TvmzQbnonedppVk8TFwq+/bJDI3WlkXJjJfL4h1wcrRApvapqKXoplec6E3pq188WSYuo/kCyJomNzwhPkVtfbzQ= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=cipunited.com; Received: from TYZPR04MB6117.apcprd04.prod.outlook.com (2603:1096:400:25a::9) by TYZPR04MB4174.apcprd04.prod.outlook.com (2603:1096:400:2d::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6977.31; Tue, 14 Nov 2023 10:03:27 +0000 Received: from TYZPR04MB6117.apcprd04.prod.outlook.com ([fe80::41df:8aa2:5d9c:5f88]) by TYZPR04MB6117.apcprd04.prod.outlook.com ([fe80::41df:8aa2:5d9c:5f88%5]) with mapi id 15.20.6977.029; Tue, 14 Nov 2023 10:03:26 +0000 From: YunQiang Su To: nickc@redhat.com Cc: binutils@sourceware.org, YunQiang Su Subject: [PATCH] MIPS: Fix Irix gas testcases about pdr section Date: Tue, 14 Nov 2023 18:03:05 +0800 Message-Id: <20231114100305.1501344-1-yunqiang.su@cipunited.com> X-Mailer: git-send-email 2.39.2 X-ClientProxiedBy: MW4PR03CA0107.namprd03.prod.outlook.com (2603:10b6:303:b7::22) To TYZPR04MB6117.apcprd04.prod.outlook.com (2603:1096:400:25a::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYZPR04MB6117:EE_|TYZPR04MB4174:EE_ X-MS-Office365-Filtering-Correlation-Id: 97eb6e9c-7857-45da-8fa4-08dbe4f8f1d3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ZVl50f7bGPoNffhA7OhfpQ7b5H/KYlBriXiFpF8Qq4gF7X52o0pgEa5e5CSHn4GjJMMl/ZtVGwk3rmzfw6csjUkODQ5c+2ocBzJV7pjiwcxoTWSHBPrtd68owRNjLhUyRDMK90tCfj6havOTB7oHX9KxLq/ltPGt4cw/ppAYyH8xa5oWodYxWXZ2JIUSsczxRSB+c4HmrxZu9F8FcLrDT7LxF7Cr3iQfVjvjpmzCwaigpcMKSWZgKq66RjCA24dKof5IwlrjFHxOtmziK2s6lpciZE44bPTFshRkGkDbnmVWrwgfdcHJSWZzpNI1bsFNKTJvhK0PjKosIEBWMTDmQgeCzwTnRawG5f6I3b0+iyZ6iLq8V6SSoGT8d82V3vMBdjPYOEE41e1ybY9otGcBrxoY/rUiPvaaTVXnFE7d54idMDW/8OBBaecmB8Wa/cnlnwsiyvyBgCmgx6pdOOnOILmOCsyJmGWYeDABpyZpE7Omh0O55jEdShjFDTRoctyMSdsQf3GKnl0P5Vi41uxGIn2KmhOy3kpuE8OGc4bdC/fHdoVxXGc+3kiDTxQ3i7Pe8dzDtKfqPZ87VGmVc3GTFyIwsaQ5JtDOqKyyCHzJu89wNQcDqTmxuUkGaO9ilzhd X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:TYZPR04MB6117.apcprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(366004)(136003)(39830400003)(376002)(346002)(396003)(230922051799003)(1800799009)(186009)(451199024)(64100799003)(6666004)(38100700002)(83380400001)(8936002)(6512007)(1076003)(2616005)(6506007)(52116002)(38350700005)(41300700001)(5660300002)(2906002)(86362001)(8676002)(4326008)(36756003)(66556008)(66946007)(66476007)(6916009)(316002)(478600001)(26005)(6486002)(107886003); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: T9LNiOvBtB4UG4RQHUcQ8w90l2cQOXd+4/42QNotb43cfCJKmzRrLoHov+fZooop/zGbMaQDI2YJ6XL6Z6nVqI9xTO83sOaJ/NWntjnyltL014O9oZLo5oFGKvH2e8Zg88WKibm+WA8sJ/rzO9aTmrKss1+ET6ujkHfkmJ2lEXsCRW/jaXYs8DkEHn+Puzj9Q5W0maniDxif3Jvm4XS7PdYNUVsYCeQirKdeX7B+ZQ0CDdB+sGt2Q/0COhZgEd7+kk8wZB3wmnW37l5r7Cyy5sZ3U4Fjb7mG7Zvm6lZsds4ddUMGsks0fP2V+CBcqSCMySlcIAeIgnSrQAzWKB+w186K7svs27nOtWF3nXYm5TGb5e+moacPzFxYcvJULPlXuLrlLt/fJehkPU+PmnUDYc7SYo0wLlBFQ5bCwRCJ86r5YVUKMzggyn/8b7oKG6MXc9akENni5gmEVMOyUu0YoWjJkVKSa3e5gkIemTVC95AGRmRY9dwY0Iv5jQWmpdJ52RVaGCouduztk5G4RRAS95gzOaFGnoRiCxINorpKX325pG62lK14jgSbvcphhQhGkga4GtyIZ+qZeZW2DizdCJRkzdBScBDnAfnIiM2V2ddxy2B/9uPmKh2w5Hf5T3di+8lRsBOoW530KyG9nIkBNtvSHx3bRUmRfA2YH2e4ngcXUFaiNrzVgxIcBUV5KSDgX3FXythbaDiEzYAgzDEv8lb3X8PjXnzR9xmGJ8SPtVsMHeRCzAkHOG32lCunCgO+espUnX6TiC8ir9o7h1qZo1mO3d1QJN/MmTdk1lv+v2zEH1Um5TNSYEwkl7XwysIF8932yg3bqSVdUrVf3yB5Fhb7kGksrGGJTbAu1kv85Uvy0EPd67Eb+/0MVP+0NSyeD0mfjrLvKr0/duUpxObEQRyNtwqrwYDU9DdnBaOiua+LJvjFqS5WrCNd0QljnDbFjLkd5NENAuAfiqnuQvUG4skFPLD2SvlzYyn1yBhSVyuq+PuGflcle//Q3SxIDEdLeMlvmn+Igizg9qqnhROzbaPliVMw4AJ8zgaVla1uE81HOrTN8Y44hTCUEuSeJ0ZrOE/jWPEiek8alRfKMR0MvUCophP7N3w8DsOBpDw9FmzxlBxlsuqKjgGqiKGSHuiEEGdvta+tsWJhAVhhI6KzvUQvATGcqyrU9kyeh3sEYprWHToKuJzgPUn+weyP57bdR2zShG0fcr25ve5wI+i52RVXo4vNKHoS5H50aSQ0sie+WCBJHffmML/bHtaAWX68qnRqm3wSDR7Ed4tTXzWQ0Qj6wHar9GfpANVYeYxZYjOLjZ4g5JlV1lz+dRqcrTJ68hGkA3NQSga0ruFnQx4V/P3STzOR4ecArANsRHVx1TXqxRO/9k9uo9eurH7ZfrqSXQFLHIjwuceBfhMGKXNYNujoJAb3hgNXEhUoo6p0iA02TwdS6tisY9aiNbUGwCt5H6t6qYpNZLeOIz70GfG0Lpml1EUBrDelQgBJCeGOzZuP3+FRsg/c+VLz+7kN7UoOuGPPFTN4SA3zdI3/wtQfLT766VKd0rNqY52kdOWjZIFd6+mnUqhrQ8YHbtIg417Eu47EJRcEONWM9WpSwIlfYQ== X-OriginatorOrg: cipunited.com X-MS-Exchange-CrossTenant-Network-Message-Id: 97eb6e9c-7857-45da-8fa4-08dbe4f8f1d3 X-MS-Exchange-CrossTenant-AuthSource: TYZPR04MB6117.apcprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Nov 2023 10:03:26.4412 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e31cf5b5-ee69-4d5f-9c69-edeeda2458c0 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: wuzUqs7m+K3S/XxlFlKbithPFfJDE30MUN7w+ljtinNaQ2T0A3lv6fg+pl7SeyVkasDIWgEy5UoLnIdXTlXJFPUfzbvCNNiIlZm7EiV4qlY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR04MB4174 X-Spam-Status: No, score=-13.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: binutils-bounces+ouuuleilei=gmail.com@sourceware.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1782533303946500690 X-GMAIL-MSGID: 1782533303946500690 1. Add -mpdr option to cases, which expect .pdr section existing. Gas doesn't generate .pdr section for Irix objects by default. See `int mips_flag_pdr` in tc-mips.c. Add -mpdr into #as section: mips/mips16-e.d, mips/mips16-f.d mips/elf-rel26.d, mips16-hilo-match; Add -mpdr if target is mips*-*-irix*: elf/elf.exp. 2. Add irix-no-pdr.d testcase to make sure no .pdr section is generated for Irix by default. --- gas/testsuite/gas/elf/elf.exp | 4 ++++ gas/testsuite/gas/mips/elf-rel26.d | 2 +- gas/testsuite/gas/mips/irix-no-pdr.d | 8 ++++++++ gas/testsuite/gas/mips/mips.exp | 7 ++++++- gas/testsuite/gas/mips/mips16-e.d | 2 +- gas/testsuite/gas/mips/mips16-f.d | 2 +- gas/testsuite/gas/mips/mips16-hilo-match.d | 2 +- 7 files changed, 22 insertions(+), 5 deletions(-) create mode 100644 gas/testsuite/gas/mips/irix-no-pdr.d diff --git a/gas/testsuite/gas/elf/elf.exp b/gas/testsuite/gas/elf/elf.exp index c42cef8160e..d85fdddc841 100644 --- a/gas/testsuite/gas/elf/elf.exp +++ b/gas/testsuite/gas/elf/elf.exp @@ -208,6 +208,10 @@ if { [is_elf_format] } then { riscv*-*-* { set as_flags "$as_flags -march-attr" } + mips*-*-irix* { + # Irix has no pdr section by default. + set as_flags "$as_flags -mpdr" + } } run_elf_list_test "section2" "$target_machine" "$as_flags" "-s" "" } diff --git a/gas/testsuite/gas/mips/elf-rel26.d b/gas/testsuite/gas/mips/elf-rel26.d index aeb4e16d178..71fbe83d4b6 100644 --- a/gas/testsuite/gas/mips/elf-rel26.d +++ b/gas/testsuite/gas/mips/elf-rel26.d @@ -1,4 +1,4 @@ -#as: -mips32 -32 -EL -KPIC +#as: -mips32 -32 -EL -KPIC -mpdr #readelf: --relocs #name: MIPS ELF reloc 26 diff --git a/gas/testsuite/gas/mips/irix-no-pdr.d b/gas/testsuite/gas/mips/irix-no-pdr.d new file mode 100644 index 00000000000..7268e020c9f --- /dev/null +++ b/gas/testsuite/gas/mips/irix-no-pdr.d @@ -0,0 +1,8 @@ +#objdump: -rst +#name: Irix has no .pdr section +#as: -32 -mips32 +#source: sync.s + +#failif +.*\.pdr.* +#pass diff --git a/gas/testsuite/gas/mips/mips.exp b/gas/testsuite/gas/mips/mips.exp index 0611273cac6..40f10953623 100644 --- a/gas/testsuite/gas/mips/mips.exp +++ b/gas/testsuite/gas/mips/mips.exp @@ -1545,7 +1545,6 @@ if { [istarget mips*-*-vxworks*] } { [mips_arch_list_matching mips1 !singlefloat] run_dump_test "mips16-vis-1" - run_dump_test "call-nonpic-1" run_dump_test "mips32-sync" run_dump_test_arches "mips32r2-sync" [lsort -dictionary -unique [concat \ [mips_arch_list_matching mips32r2] \ @@ -2174,4 +2173,10 @@ if { [istarget mips*-*-vxworks*] } { run_dump_test "global-local-symtab-sort-n32${tmips}" run_dump_test "global-local-symtab-sort-n64${tmips}" } + + # Gas doesn't generate .pdr section for Irix objects by default. + # See `int mips_flag_pdr` in tc-mips.c. + if [istarget *-*-irix*] { + run_dump_test "irix-no-pdr" + } } diff --git a/gas/testsuite/gas/mips/mips16-e.d b/gas/testsuite/gas/mips/mips16-e.d index d64b882c81c..0f954e8e25c 100644 --- a/gas/testsuite/gas/mips/mips16-e.d +++ b/gas/testsuite/gas/mips/mips16-e.d @@ -1,6 +1,6 @@ #objdump: -rst --special-syms -mips16 #name: MIPS16 reloc -#as: -32 -mips16 +#as: -32 -mips16 -mips1 -mpdr # Check MIPS16 reloc processing diff --git a/gas/testsuite/gas/mips/mips16-f.d b/gas/testsuite/gas/mips/mips16-f.d index 9605b6f183e..0ed246cfbba 100644 --- a/gas/testsuite/gas/mips/mips16-f.d +++ b/gas/testsuite/gas/mips/mips16-f.d @@ -1,6 +1,6 @@ #objdump: -rst -mips16 #name: MIPS16 reloc 2 -#as: -32 -mips16 +#as: -32 -mips16 -mips32 -mpdr # Check MIPS16 reloc processing diff --git a/gas/testsuite/gas/mips/mips16-hilo-match.d b/gas/testsuite/gas/mips/mips16-hilo-match.d index 76ad7b39cdd..7b42f6946c1 100644 --- a/gas/testsuite/gas/mips/mips16-hilo-match.d +++ b/gas/testsuite/gas/mips/mips16-hilo-match.d @@ -1,5 +1,5 @@ #objdump: -r -#as: -mabi=32 -march=mips1 +#as: -mabi=32 -march=mips1 -mpdr #name: MIPS16 mips16-hilo-match .*: +file format .*mips.*