From patchwork Wed Nov 22 06:39:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: YunQiang Su X-Patchwork-Id: 168112 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2b07:b0:403:3b70:6f57 with SMTP id io7csp1132971vqb; Tue, 21 Nov 2023 22:40:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IGym7S0+l0QJl/ebDdHrfe9W5U2wclDXSjCueMCIMQSpN6mTwnaUIILTtNV6DSNoiC4nk0g X-Received: by 2002:a05:622a:144d:b0:410:ab30:d568 with SMTP id v13-20020a05622a144d00b00410ab30d568mr1546346qtx.68.1700635205047; Tue, 21 Nov 2023 22:40:05 -0800 (PST) ARC-Seal: i=3; a=rsa-sha256; t=1700635205; cv=pass; d=google.com; s=arc-20160816; b=0/egPS53etI14JfBUkAEURtMXvG4gOZwQPRApYieWGzkPTU/IROTQonPTQDpMwFiCy EL9lOpa3Mt44FaocBoq5u5PGAYqBZh6dtfqXN/sqNhqyv8L5e9yGRoXUez2kWmotPzjE +kvjFg340UwEHg4uoYPN4LeyvtGfzsPf/rhWbpf1IBXQIpP3FhxMWUuDuYHhZRuzGZ0Y g6tBwuJBQBm44+pTtL3xML6tNlVD0XNZYoRuod5z2SZGnrfBJFm6moaDv3q5YFg3gtte IZ49y+vpFiS3vxD0mJdfRVPZ1zPhL6oaJRk01cz5vkJnhZ8esd4X/lGSmGxqBq/9a8pv 9Akw== 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=bv8gqmkcoJm80ucjWsnObm9z2i4DzHNJrqQpNnXOjwc=; fh=zgn+771X4ysB7j9hSn7g/xv3tY8yVpzPfpfJXx/EswI=; b=HYaVMKI39ktHCCclxZT79W0eEZ86S198wQaw5EYHH56NwmiAt9wMb7CMBl48mMeK6w UPzBqINwQCPK83IRnSrehBkrE2Mkf/uLfaq5dwf8RFFJ2RPZIq1Ch+AvwCryPadzy3gf 8lHfSZltkzKMCE0Ucxu1esxCFZH3hdUDngDGHWq0Cky9zkNS9PF/+v3BtXg8N+E64EHa OqLpBLnvLx/0DHqytnNLjmToCyxK0uNEE2VXkM5NDSjnQ8PBfZC73or3Jer4D3t1rifY r2sZBSsgVyNFhUXwX9ns3czDspFR7/BNbjU7go4NHEds7T0FIzeZOk8xigw8xx5PLh22 YGvQ== ARC-Authentication-Results: i=3; mx.google.com; dkim=pass header.i=@cipunited.onmicrosoft.com header.s=selector1-cipunited-onmicrosoft-com header.b=Q5IVXgpe; arc=pass (i=2); spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org" Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id b21-20020ac87fd5000000b0041cb5fb21b2si10827393qtk.149.2023.11.21.22.40.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 22:40:05 -0800 (PST) Received-SPF: pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@cipunited.onmicrosoft.com header.s=selector1-cipunited-onmicrosoft-com header.b=Q5IVXgpe; arc=pass (i=2); spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 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 C9807385842E for ; Wed, 22 Nov 2023 06:40:04 +0000 (GMT) X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01on2093.outbound.protection.outlook.com [40.107.215.93]) by sourceware.org (Postfix) with ESMTPS id 3660A3858CDB for ; Wed, 22 Nov 2023 06:39:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3660A3858CDB 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 3660A3858CDB Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=40.107.215.93 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1700635200; cv=pass; b=O2gBxpynPgT/mbne3YDw2qf5uYiqchI3fjJiXUqNlz6XZCQ3czfH8os7+/NqmQJxKy0g7aij9sEKHmBfFVuxMcqyh+PlCd7xwbPlQsuR1IiR82C+rnA+j0mNcPqm/x/8tyZDNQPa7KrujHnEgaBDGZ8O921vgmWNTl50kz6hiEI= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1700635200; c=relaxed/simple; bh=TVNBkoxmyryCwBkqT4tvhou4HAGWAGpy1J7Ch4Vo6fE=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=jKRtdR+VWK2goENe77m8C9mQmQJe+iSB2YUDGE61VXBwe5XHgt2asb3/MlQncGqUNHq2A58h2/T/yfaQsQzddI2LiLrMOAvn+6GqbuLuDEUlCVAREwOCopfFEjG1l+olkmnXtcwW3UNJsfQnIShlBu3DlWFryU1ld+C0kJoSImA= ARC-Authentication-Results: i=2; server2.sourceware.org ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QwPjdgUvBluduwc89YMSTJg3rXQPO2WH671P11G4S7l8BRq1BZeQE/uJFMf71jczctnfHBMDQArE0vT0H1u+HNMvjDsoc4M5xTGeI6Nla5+nKy1tkJlpCcWr1VFWVNClnCaAZ78ErsjS0QT7eL89CeADNz/rRlxaLS8NIXgFJ4x65/3oB2BNS1nmE/AY4xGUGz6zCXxjOvohAl+tvH4v49eK6P4YIzHOBP7IUa5ZGs4EwCpQjkM14PDn7+q8d2xD0rnUZkEYY8rOWwRsIP8V60f/FIIorNsxhim77RrldHZuWxmOjMuT1O7Rrs/NBpFpld6KdsW0ZV0SFOiJT+YTsw== 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=bv8gqmkcoJm80ucjWsnObm9z2i4DzHNJrqQpNnXOjwc=; b=C288g/S8UXLIulhTCpddUy+2+KkvgHjXMbWY7d3eK5QsrCRAj7P5I4eLu5KOWsLR50ZKVgyzJbezuzOgIS4wJEu5gh1qr+YecsKfM+BUevh6d6KMYryYKOpLOKsGa/OwYbnoO3RR8W9NgEB4v8y9R9qT2W7+aS+dz5K99GvFFcC4q8fc3sgy8tjwTEsaqXA/kfPzvngj7u5PuZTZcy4BkBuUbxr14YJukV3kNYTDb4IMaE+YD7Kgvuhza/l0SNXca510dCKu5iTbfmg9bIha6uoQLqjWa5m/f0tnvyv3KICC+Ao7d2Oen2l5h9y/6sxd9N2jdUHjI5tojbyxPAYjPA== 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=bv8gqmkcoJm80ucjWsnObm9z2i4DzHNJrqQpNnXOjwc=; b=Q5IVXgpe9kzDnpzjTZK803/jww26kMxdiUbeSKuKK6+gDQxRGxK7FtAp4IVQOTItg7Ic+qUpjzabqqPjwD8YLzhu5jqLkTqJ1GCX4lt27Bsw619OY5GfbK8BXXXIFL1JjcPoNPIbaJ5cYe7edwY7GPOqGayzfcyatjp40/ZpkIk= 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 TYZPR04MB7665.apcprd04.prod.outlook.com (2603:1096:405:45::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7025.18; Wed, 22 Nov 2023 06:39:54 +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.7025.017; Wed, 22 Nov 2023 06:39:54 +0000 From: YunQiang Su To: nickc@redhat.com Cc: binutils@sourceware.org, YunQiang Su Subject: [PATCH] MIPS/GAS: Use addiu instead of addi in test elf-rel Date: Wed, 22 Nov 2023 14:39:29 +0800 Message-Id: <20231122063929.1178834-1-yunqiang.su@cipunited.com> X-Mailer: git-send-email 2.39.2 X-ClientProxiedBy: SI2PR01CA0028.apcprd01.prod.exchangelabs.com (2603:1096:4:192::21) To TYZPR04MB6117.apcprd04.prod.outlook.com (2603:1096:400:25a::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYZPR04MB6117:EE_|TYZPR04MB7665:EE_ X-MS-Office365-Filtering-Correlation-Id: 8c924c64-b7d2-41d2-efc0-08dbeb25d5f1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: z+Du4fLBp1OnhhBOEe9O4BcelvMLpDYKKGiXJM6Acv9OBUewP1ByB8SiMHMKtSYG2Srdzez+qaQL7j7jZsMYmzSZu6CSvXDjipn7XrHcMXiuCRYEzwFSNyGaN0aor16jk0Nk0VS41HUJ8OK+fO31sT5nVQMjDs0oX5JKlxrxp/Oz0TVAOMXrrTkdK+q7euxspD7j9RcRBRwvqo82GZWt0Pgpkeyok70pgUrkaAvH3S8DsX1MR6i8YMRU0BAZbUYM+LQrhqVvZBSMU/a3ZyYuAHRqeGKMBmYjuA4+ZMQTe3U3vRhWoa2YIZbo+IYkqlCI/oCTnIjVP3YqjI5YL+mbxibBcDfFaZicqNUkvO4rwn+cGFCdEn0oqnVdClTZJojK8qshPxv7MSNfPB56/LBSLqiQP0fZVc6T30BgRO7LmS1PHAlLK54I3ZmQWcdkLyR4Ir9uHcdUOyhR1VWPBQNfMh9FZNCIPttb6F/3txachkUkRPToXWCrhcv7eMiB7RhfrSEiZwF7TyJz7LJyKoNWfDP4brm6AOzeNt7qjQkg1PkFUESNRFj0/lpQtnZMqjrSgJIJaukCoP2yQtYRamKHOA+zEfCQBNpn64Ix/Dj1cbRDUDvsusUkLjsKy/+hC2Xx 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)(136003)(376002)(396003)(366004)(39830400003)(346002)(230922051799003)(1800799012)(186009)(451199024)(64100799003)(6666004)(8936002)(8676002)(4326008)(36756003)(86362001)(6916009)(316002)(478600001)(38350700005)(52116002)(6506007)(66556008)(66476007)(66946007)(6486002)(6512007)(5660300002)(107886003)(1076003)(2616005)(26005)(83380400001)(2906002)(41300700001)(38100700002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: rTQXmmi8sXFlqvzen6a6ccTV7hBjeXFx1YUuzVsoIhqbv2QTxiELPFUr0NhInL9uAH3Wwl8SKx0S+THWi+M6CopFo/oiziZZb35Fdz2+27Zhr6mruYiY02zmBc47DIi9+1Soqg+XU4K1q32yjOmEz8XWAH8Qnsi49kzPft9rXT+6Bqw5wIfqpBA3+d15U8pqIEEhBhM4c+lpYcJ2KIQw2Nsadcc4UXbGXlqpFRrD26z3uwjWh6TNktrm3ZjDgXNzRajxba9nhzmgdJAJikFNWFgnUaNjZobO0MMKmzMN/Ldk4bNutQxIFdJ5pROqYoWrYkXBdCJ873JBwG38jUa3S1PpoD9g31FaRx4BWMfYRbTV5kLouR133A5uunS47qNldcB/W9TU3LQuJsmPctP0SHF31NPpMSNlVVQbc3VYsrx5QrXtOn/DXU0mV273h+0wJE0IGpVKAa8dUuSb/vddjDu2yIKi9UiiXCtDSE6+lVk0/vFB4LCEnywK9fUnYxcS56dTJH5G5/0EfWC8xdc6FcDQ4ncnvraC2CqfTgusTY/u3bwR/cJmTIdgwWBTcIYC9yPDDy3DLmt/jCBrqJQNpL8pFclD53NumaDxiSLFokWpZ24kAi08tNj487c+zelzld5OvvOy3qE9ZGw+eQAJT7DwNODsEgeQtbDzqN+UbcQiQ96NbXnzwJRDiQ+CeBjGjz/NS+ZNDnOUwYDq2t000Z3CCMQeERjRJYHCibhnzei7a49mImioChpgAjwVWhKxwCA3nxr2ucvbyjfvLzZiDHso72lyuBsoqZ4UxZx5As1454w+xpuZ2S2Iqsq9XL9/zwq9Z6EAiJSCNUJtndfnzr7ZWcBvq907tOWoDIvu7Tuf6KrtnH0V3UmOuqB1153J+pO60b13WeDVuxtWxFKZOVzlXbTpoWB1DEwRGfqe9nTf1MlkCWINL9i4dsGDZgKH55tb51ca97b+XCHVXEMfwytIoGq1ST1uDtWeq1v1cy3OGoYv8r2nHMc54g0cUYLvU5L+zYZtn0g7G6/wQwV2u6XbCvaVTV7AFA8Uc5ZfGT/1BJZYvZDFa4QTw86RE7Jzj0TKzJvMmONbbEQcu+7Kx9ToVYXIhtBfAJhPaAO7ksBA52+vQNjIxg24wwiXIjzfwpyBTLMy8tPRLrrMOikTadlR+gv251RxpVkr8sumOUfBIB5LFnRkltNTriu6p/8z7UBfPu30zzBwAKqehkya3aDA99rfpqkuaGlMRqD5SfKQ67mxCzPGvjhWg4orZSqTUquYbQhaQFNTOXV7E1TWLWipVlE+K+NV+GGBC2jixKAsUN0gyWJ8VW/64YY6qMwaNJ1NNSLTzYR0kgbe9CVn9pX5JqpcFdNjsn7N+dwS+XCU1zXTyTIFQDHcYnVDhXA9I5Wm0KQfFtocd37xlswM69YCmzatBtd8ohAlV48j7FGOVdNtRQ8lZMy26e7iwy5T5HBE1I8FF51FGTZldvSEfZMbBlqJIJh9AGJ2DXCP19TCFsLenyq7dOGJWCBe2U4aA3gYxOqiFA9ecGTQ2besmZ4Nm30JkZS5DGs5bc7gy0DUZ/A0RwSe8RNqcuFNKigreIig9GekBcu5koLXBg0qOg== X-OriginatorOrg: cipunited.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8c924c64-b7d2-41d2-efc0-08dbeb25d5f1 X-MS-Exchange-CrossTenant-AuthSource: TYZPR04MB6117.apcprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Nov 2023 06:39:54.1158 (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: dZ/US1tKxGnqLgEvUYJYSnF7kluzeH+NQXw7zlUQcRjpxSQ7a7IJxoOVceMBuZjSL1wblYvAdfyApmdb+VUcy55VOAreYpR2YsAuWaFBjJk= X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR04MB7665 X-Spam-Status: No, score=-13.2 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: 1783245260688818413 X-GMAIL-MSGID: 1783245260688818413 ADDI has been removed in MIPSr6, and thus these cases fail. For all releases, ADDIU is recommended. The only difference between ADDI and ADDIU, is that ADDI will trap if overflow, and ADDIU won't. This patch can fix a test failure on MIPSr6 default triples: MIPS ELF reloc --- gas/testsuite/gas/mips/elf-rel.d | 12 +++++----- gas/testsuite/gas/mips/elf-rel.s | 36 +++++++++++++++--------------- gas/testsuite/gas/mips/elfel-rel.d | 12 +++++----- 3 files changed, 30 insertions(+), 30 deletions(-) diff --git a/gas/testsuite/gas/mips/elf-rel.d b/gas/testsuite/gas/mips/elf-rel.d index bb7077eb771..27d3d8848d4 100644 --- a/gas/testsuite/gas/mips/elf-rel.d +++ b/gas/testsuite/gas/mips/elf-rel.d @@ -48,12 +48,12 @@ OFFSET +TYPE +VALUE Contents of section \.text: 0000 3c010000 3c010000 3c010001 3c010001 .* - 0010 3c010000 3c010001 20210018 2021001c .* - 0020 20210018 2021001c 20218018 2021fffc .* + 0010 3c010000 3c010001 24210018 2421001c .* + 0020 24210018 2421001c 24218018 2421fffc .* 0030 3c010001 3c010001 3c010002 3c010002 .* - 0040 3c010001 3c010001 2021bffe 2021c002 .* - 0050 2021bffe 2021c002 20213ffe 2021bffa .* + 0040 3c010001 3c010001 2421bffe 2421c002 .* + 0050 2421bffe 2421c002 24213ffe 2421bffa .* 0060 3c010001 3c010001 3c010002 3c010002 .* - 0070 3c010001 3c010001 2021bffe 2021c002 .* - 0080 2021bffe 2021c002 20213ffe 2021bffa .* + 0070 3c010001 3c010001 2421bffe 2421c002 .* + 0080 2421bffe 2421c002 24213ffe 2421bffa .* #pass diff --git a/gas/testsuite/gas/mips/elf-rel.s b/gas/testsuite/gas/mips/elf-rel.s index 873bc5fd86a..06c67a659bf 100644 --- a/gas/testsuite/gas/mips/elf-rel.s +++ b/gas/testsuite/gas/mips/elf-rel.s @@ -12,12 +12,12 @@ l2 = l0+49150 lui $at,%hi(l0-4) lui $at,%hi(l1+0x8000) l1: - addi $at,$at,%lo(l1) - addi $at,$at,%lo(l1+0x10004) - addi $at,$at,%lo(l1+0x10000) - addi $at,$at,%lo(l1+4) - addi $at,$at,%lo(l1+0x8000) - addi $at,$at,%lo(l0-4) + addiu $at,$at,%lo(l1) + addiu $at,$at,%lo(l1+0x10004) + addiu $at,$at,%lo(l1+0x10000) + addiu $at,$at,%lo(l1+4) + addiu $at,$at,%lo(l1+0x8000) + addiu $at,$at,%lo(l0-4) lui $at,%hi(l2) lui $at,%hi(l2+4) @@ -25,12 +25,12 @@ l1: lui $at,%hi(l2+0x10004) lui $at,%hi(l2-4) lui $at,%hi(l2+0x8000) - addi $at,$at,%lo(l2) - addi $at,$at,%lo(l2+4) - addi $at,$at,%lo(l2+0x10000) - addi $at,$at,%lo(l2+0x10004) - addi $at,$at,%lo(l2+0x8000) - addi $at,$at,%lo(l2-4) + addiu $at,$at,%lo(l2) + addiu $at,$at,%lo(l2+4) + addiu $at,$at,%lo(l2+0x10000) + addiu $at,$at,%lo(l2+0x10004) + addiu $at,$at,%lo(l2+0x8000) + addiu $at,$at,%lo(l2-4) lui $at,%hi((l2)) lui $at,%hi(((l2+4))) @@ -38,9 +38,9 @@ l1: lui $at,%hi(((((l2+0x10004))))) lui $at,%hi((((((l2-4)))))) lui $at,%hi(((((((l2+0x8000))))))) - addi $at,$at,%lo((l2)) - addi $at,$at,%lo(((l2+4))) - addi $at,$at,%lo((((l2+0x10000)))) - addi $at,$at,%lo(((((l2+0x10004))))) - addi $at,$at,%lo((((((l2+0x8000)))))) - addi $at,$at,%lo(((((((l2-4))))))) + addiu $at,$at,%lo((l2)) + addiu $at,$at,%lo(((l2+4))) + addiu $at,$at,%lo((((l2+0x10000)))) + addiu $at,$at,%lo(((((l2+0x10004))))) + addiu $at,$at,%lo((((((l2+0x8000)))))) + addiu $at,$at,%lo(((((((l2-4))))))) diff --git a/gas/testsuite/gas/mips/elfel-rel.d b/gas/testsuite/gas/mips/elfel-rel.d index 7a9a3b92bfb..11fc7ad2157 100644 --- a/gas/testsuite/gas/mips/elfel-rel.d +++ b/gas/testsuite/gas/mips/elfel-rel.d @@ -49,12 +49,12 @@ OFFSET +TYPE +VALUE Contents of section \.text: 0000 0000013c 0000013c 0100013c 0100013c .* - 0010 0000013c 0100013c 18002120 1c002120 .* - 0020 18002120 1c002120 18802120 fcff2120 .* + 0010 0000013c 0100013c 18002124 1c002124 .* + 0020 18002124 1c002124 18802124 fcff2124 .* 0030 0100013c 0100013c 0200013c 0200013c .* - 0040 0100013c 0100013c febf2120 02c02120 .* - 0050 febf2120 02c02120 fe3f2120 fabf2120 .* + 0040 0100013c 0100013c febf2124 02c02124 .* + 0050 febf2124 02c02124 fe3f2124 fabf2124 .* 0060 0100013c 0100013c 0200013c 0200013c .* - 0070 0100013c 0100013c febf2120 02c02120 .* - 0080 febf2120 02c02120 fe3f2120 fabf2120 .* + 0070 0100013c 0100013c febf2124 02c02124 .* + 0080 febf2124 02c02124 fe3f2124 fabf2124 .* #pass