Message ID | 20220922105533.1837026-1-jcmvbkbc@gmail.com |
---|---|
State | New, archived |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5044:0:0:0:0:0 with SMTP id h4csp129330wrt; Thu, 22 Sep 2022 03:56:32 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6dxOQOGcotap/bXpEhaT7gftv9i+IR1AMoTL7wKyD5K0Wvo0M/lDPNy0Ptam4reYrqrtXc X-Received: by 2002:a17:907:1c03:b0:77b:9d77:c5 with SMTP id nc3-20020a1709071c0300b0077b9d7700c5mr2250993ejc.225.1663844192167; Thu, 22 Sep 2022 03:56:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663844192; cv=none; d=google.com; s=arc-20160816; b=UmsihJ6D0or9iAbCEbAhY+6fCTjAqCGFCQFyfTx/QH5h+4MQo1JRjV558ShK6gyGKG +D+6ycOFq2EQAwfZcq3u26COCRuTUqHEdU/DEfjF5MxkH45qQb8Q3T2uhV4OA+5pjlFw TFz7u8y7tP9OGE9jMLzLKcW1Fey56zAA0iw/z1a+jppmlLShe6XEm7a7wAGG/lIEbEXe AEodoRDCtd3Va9Zlp0NFfbY9A0bfOufGTgJQM9bEmjkfpNhKWr3l9HM/uO9fiyhdqi5x ViW0w5tbeAHRiVomgOznubtIW0uwl0hHFw+MlcwJe7sFi+8/VEz/PDLNAWTyvkznnGHh ZUKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:message-id:date:subject:to :dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=AkIkQRlx4wfflsSyNXNUCNToIwlmrhJ7ZGPiVODyE8M=; b=ClkuxYh+xviGt6dLRHpXHC6YdgDoLpGedfT4UqVG2kHjwEwxqQzHK4jvx4dAiLhSft XK7Q9+cYfPeJLMOI3ZdR4VYcYixMLm04btmOlKDO8EANVSmN/alWFFU4zm/nrzBA+388 QG2nuaK+O43IG1M72v1iPgFNXZhqhg1QoTVu+Ypk/DaIRchXEXjkOSi49rqJevDMQfZM ASRgxBbt7ta9gWlFZndS2zE76LTFOsY+yuwpy1E59Utv53SWpH0F8LHv0qtsA2H2/cIP uyL34Ti7F/gX0zSskSd2g3YjVx6oiTiJl5kC83hCzm9tdT2WIG2tU+2TNWgieioSz/ii gFvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=usofXcvY; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id g22-20020a1709065d1600b0077f4fcfe49csi6214601ejt.905.2022.09.22.03.56.31 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Sep 2022 03:56:32 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=usofXcvY; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 1EE72385801A for <ouuuleilei@gmail.com>; Thu, 22 Sep 2022 10:56:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1EE72385801A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1663844191; bh=AkIkQRlx4wfflsSyNXNUCNToIwlmrhJ7ZGPiVODyE8M=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=usofXcvYoVC5AklgN4q3tqBi+fGV5hNN73Pj6pBmvYSS0qEDvY5oev2CmrVW0q7y2 59EzcZfwRgFn37+E4pzaDvnF1f6XqVxbs30Gtx6eupcrAr8oxabei8JGfNE+zZgc4F xd0tSeIallVnZiP1aezSm8k7qar6vs3nlPhc4BZs= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-pf1-x429.google.com (mail-pf1-x429.google.com [IPv6:2607:f8b0:4864:20::429]) by sourceware.org (Postfix) with ESMTPS id 452923858422 for <gcc-patches@gcc.gnu.org>; Thu, 22 Sep 2022 10:55:44 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 452923858422 Received: by mail-pf1-x429.google.com with SMTP id e5so8934589pfl.2 for <gcc-patches@gcc.gnu.org>; Thu, 22 Sep 2022 03:55:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date; bh=AkIkQRlx4wfflsSyNXNUCNToIwlmrhJ7ZGPiVODyE8M=; b=psZY2HUlyktlH9+Ez7Vj5/il0rnUCsv58ICgDKrodyEyq2Q4hCFcteSqK23968M1I1 Ivm10CwXnicv81qFkLlOxx10bF/hbb1DkpWZEogIV5d3BTirT5YcIvLaP7XbyHefy9Uh jVgc1Qhg0rugUJVBpBvOUYHoZ5LuoB4sZVeh6AtTfBGPigw+KVcZSxT+FbNyhO+r8JL/ 8uIdruqIQWtDwhM2I4nrfd6IfhY52xTiQfsARDpdstG63e3VHghpf/WJLZb0Ipq44KfS gx1kUzYtZrCKIkhJagyRxmKNaK2QsP2NQ+1dsP1Ey0F/xPCNgYO3IxLMn1Qa8ltuOAiY dGnQ== X-Gm-Message-State: ACrzQf3yWDlfWtebEQsaWMUkUAYGO5kO5/wm1AU6grM0c1WXfIr995Rq a7eN+aWHEycgkeeihUzGf5Pj1BIoLMNfPQ== X-Received: by 2002:a63:5a63:0:b0:42f:e143:80d4 with SMTP id k35-20020a635a63000000b0042fe14380d4mr2573015pgm.456.1663844142955; Thu, 22 Sep 2022 03:55:42 -0700 (PDT) Received: from octofox.metropolis (c-24-130-93-68.hsd1.ca.comcast.net. [24.130.93.68]) by smtp.gmail.com with ESMTPSA id g6-20020aa79dc6000000b00540b3be3bf6sm4047075pfq.196.2022.09.22.03.55.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Sep 2022 03:55:42 -0700 (PDT) To: gcc-patches@gcc.gnu.org Subject: [COMMITTED] xtensa: gcc: enable section anchors support Date: Thu, 22 Sep 2022 03:55:33 -0700 Message-Id: <20220922105533.1837026-1-jcmvbkbc@gmail.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-8.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, FROM_LOCAL_NOVOWEL, GIT_PATCH_0, HK_RANDOM_ENVFROM, HK_RANDOM_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP 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: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> From: Max Filippov via Gcc-patches <gcc-patches@gcc.gnu.org> Reply-To: Max Filippov <jcmvbkbc@gmail.com> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1744667087340617387?= X-GMAIL-MSGID: =?utf-8?q?1744667087340617387?= |
Series |
[COMMITTED] xtensa: gcc: enable section anchors support
|
|
Commit Message
Max Filippov
Sept. 22, 2022, 10:55 a.m. UTC
gcc/ * config/xtensa/xtensa.cc (TARGET_MAX_ANCHOR_OFFSET): New definition. --- gcc/config/xtensa/xtensa.cc | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/gcc/config/xtensa/xtensa.cc b/gcc/config/xtensa/xtensa.cc index e5abd356a745..828c7642b7cb 100644 --- a/gcc/config/xtensa/xtensa.cc +++ b/gcc/config/xtensa/xtensa.cc @@ -366,6 +366,9 @@ static rtx xtensa_delegitimize_address (rtx); #undef TARGET_ASM_OUTPUT_MI_THUNK #define TARGET_ASM_OUTPUT_MI_THUNK xtensa_output_mi_thunk +#undef TARGET_MAX_ANCHOR_OFFSET +#define TARGET_MAX_ANCHOR_OFFSET 1020 + struct gcc_target targetm = TARGET_INITIALIZER;