From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpcmd0651.aruba.it (smtpcmd0651.aruba.it [62.149.156.51]) by sourceware.org (Postfix) with ESMTP id 990C9385800E for ; Sat, 14 Aug 2021 21:01:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 990C9385800E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=benettiengineering.com Authentication-Results: sourceware.org; spf=none smtp.mailfrom=benettiengineering.com Received: from [192.168.47.129] ([141.136.135.234]) by Aruba Outgoing Smtp with ESMTPSA id F0mKm47wgxC2nF0mKmdrFC; Sat, 14 Aug 2021 23:01:18 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aruba.it; s=a1; t=1628974878; bh=dy0iXp2qz+A8i+VxcxPS8Qj9ibFoV+Q2H6VEhZrdwZ8=; h=Subject:To:From:Date:MIME-Version:Content-Type; b=SYibwq+hPhyjQobcg8rJCcqSeGC60x6Af07N7Mo9OYZZ1JeqISzgxcIvB9MWjT5cg RmaIOyo71hF4NYPzfBHJ9jzXjq6aFt3an2zjKLV4RdfqrUh4noFCdkX2LzETvhx0nh f85BqzeNqDr9qwPmxtnE+cvxc+wKqBJVFVqKweLrI9b/51VYiF1/T2s2DjUOkv8WXs Ud4p7GyGLJEulIEB5TXUNQNTK7KP3eKbEB0DO9KeEeLGzW0mWG+FiOUw7GbeZatRs0 0D4zaf/lJ/Yv3oSbfhS5CvAd1UP4NocvR7smI4xr//7aaORIDjdEmjJo1boxi6aHUz b+6UWWmL39nOg== Subject: Re: [PATCH v2 0/2] OpenRISC support for cmodel=large To: Stafford Horne , GCC patches Cc: Richard Henderson , Openrisc References: <20210501211145.2980164-1-shorne@gmail.com> From: Giulio Benetti Message-ID: Date: Sat, 14 Aug 2021 23:01:16 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210501211145.2980164-1-shorne@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfFRjJ6ZXOm+pKYq9Wt2zm8p7TrAPzN1P0xAP/+JrKoH/gioe5hLzKlLvS3uPwZg4Ekj/nPeZBTv+MixEfSiC3VKuNrWIRleDBUnFydH5TX4zsOgPnkrT M2ZEsQFitXymcASZVrPsw6E8kbDcn+Lk1cb1i5lf1mcvuQwBqx8I+ahxK3GuxK2QUxwLjEjiBuj07wRXcgTwMwlUX63sN4iqYp/Zipl+epdbBRCKpsDsfuFx 76+nKEutqHQQ81xi4xBZdYDXSgxiciymB0fqT90nr5OyfD19k/X06IKL8v4oqYFlbZnonO2cc8aph6IqpNgq1w== X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00, DKIMWL_WL_MED, DKIM_SIGNED, DKIM_VALID, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, 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 21:01:30 -0000 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? Best regards -- Giulio Benetti Benetti Engineering sas