From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) by sourceware.org (Postfix) with ESMTPS id A993D385AC38 for ; Sat, 14 Aug 2021 22:03:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A993D385AC38 Received: by mail-pj1-x1029.google.com with SMTP id w13-20020a17090aea0db029017897a5f7bcso21311881pjy.5 for ; Sat, 14 Aug 2021 15:03:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=22ffdNYgeQpiseJtizxDu/0vV/PD6imvoewCGmFTB1w=; b=DiGlFa383Yf9uALeBOiepUuTvFonFLe+T2T4XMGrLzgpEBqeLlhpJTi2WPGapYK+Vv 9CY3kgcBXDy+hwfjD/scBAA8dzeT1pqZpkfRd3UV5wufK7pI9EYU30WLKYZ2C+fqaKZ3 AshETMrx7QFIFkeuPO3kV+TSHxHB325/z/Oh4JO6auxsrFGUQTf6jdp4bNOuGeya/r2f ZpvYaWKbwrnqM04e2TLL8EamaXtQ7VKpJ2ZtmCsAWhEJeJ5cM1sSkgbEX0JS59ShXeOX xr5Z9FT88hzIoZLMiCn0bJ10d2QyT/7aOQkpvZ+hhajXbm3vzhiGEOgoPeexq1xHWwmz bRDg== X-Gm-Message-State: AOAM532F+0jukKz1dfU3zYWF56td/V4srg9GAZE9bdfRLZdGMNAQY25d ZKSV53kXi9rHws+ikapJ2DM= X-Google-Smtp-Source: ABdhPJziT/v6N/pV1+bvpOfx60Ow+DKfTloxYVYqKRNf+28QEgolyUDHI69oDHXZz0Fs8lglUdeYlA== X-Received: by 2002:aa7:810b:0:b029:2fe:decd:c044 with SMTP id b11-20020aa7810b0000b02902fedecdc044mr8634865pfi.15.1628978636599; Sat, 14 Aug 2021 15:03:56 -0700 (PDT) Received: from localhost (g195.61-45-49.ppp.wakwak.ne.jp. [61.45.49.195]) by smtp.gmail.com with ESMTPSA id c2sm7799692pgh.82.2021.08.14.15.03.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Aug 2021 15:03:55 -0700 (PDT) Date: Sun, 15 Aug 2021 07:03:53 +0900 From: Stafford Horne To: Giulio Benetti Cc: GCC patches , Richard Henderson , Openrisc Subject: Re: [PATCH v2 0/2] OpenRISC support for cmodel=large Message-ID: References: <20210501211145.2980164-1-shorne@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Aug 2021 22:04:08 -0000 On Sat, Aug 14, 2021 at 11:01:16PM +0200, Giulio Benetti wrote: > Hi All, > > On 5/1/21 11:11 PM, Stafford Horne wrote: > > Changes from v1: > > - Added patch to enabled cmodle=large on crtstuff > > > > This series fixes some bugs found when linking large binaries, both in buildroot > > and glibc testing. > > > > Stafford Horne (2): > > or1k: Add mcmodel option to handle large GOTs > > or1k: Use cmodel=large when building crtstuff > > > > gcc/config/or1k/or1k-opts.h | 30 ++++++++++++++++++++++++++++++ > > gcc/config/or1k/or1k.c | 11 +++++++++-- > > gcc/config/or1k/or1k.h | 7 +++++++ > > gcc/config/or1k/or1k.opt | 19 +++++++++++++++++++ > > gcc/doc/invoke.texi | 12 +++++++++++- > > libgcc/config.host | 4 ++-- > > libgcc/config/or1k/t-crtstuff | 2 ++ > > 7 files changed, 80 insertions(+), 5 deletions(-) > > create mode 100644 gcc/config/or1k/or1k-opts.h > > create mode 100644 libgcc/config/or1k/t-crtstuff > > > > I've tested this patchset and works as expected. > It fixed libgeos build failure in conjunction with: > https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=3c3de29b048bca6b4aa4235c647b9328e71801b6 > > Hope this helps to commit it upstream since I still don't see it, or am I > wrong? You are not wrong, I did not push the changed to GCC yet. I will do soon. -Stafford