From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) by sourceware.org (Postfix) with ESMTPS id 86E493860C32 for ; Sat, 1 May 2021 21:11:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 86E493860C32 Received: by mail-pj1-x102d.google.com with SMTP id u14-20020a17090a1f0eb029014e38011b09so1136370pja.5 for ; Sat, 01 May 2021 14:11:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ShmEn8h0RwDjmdZdLu/6t793fk1d/pLcven8em9tUIo=; b=gstOh+V9H+zhDgHjtrNsWqLM4N9v3PCPtkX88OEd4Tehq4G7+YE/l2HigiY5opwIey xa4E4G1D3WxBWM8s1KMArSUOyTvOOHtyUX1g03a6WpTZqt2Nu4Qzn46olWGl0MMPgVj/ ye+RrGWdFlMjMSua5OS99KadT4sCXmDJehWCVP8vYwmojtTQT38eJyW3TWLdc3zSBZk8 iiYQ5sJjK8FtugU3XvafiEni5zL1Ej1XdCD69gs90B+9HFs0Uime5B5xOTeYrlJP16Iu bjxbb4EnJw9YAckbj8se6L9cpbL41DEctsiMjBS6SFvmlkTal95pgMibwFQ+dzWzNQVu xgCw== X-Gm-Message-State: AOAM530QtbwbPDqe3HZqVsRPXpSahEqD7UPU+fZ/NZOh2mflsubBVh74 68mBqjjt+OdlP7Q+alCTpDcPn6jVGIA= X-Google-Smtp-Source: ABdhPJznUmlJLhLsaE1X6c7WkLa28HB2Q7gYFZQ1MZGeMfMEcXHf/EYcaZ/PrOnWPhQNHtIkJzZ5aA== X-Received: by 2002:a17:90b:1bc3:: with SMTP id oa3mr18991372pjb.159.1619903510222; Sat, 01 May 2021 14:11:50 -0700 (PDT) Received: from localhost (g17.222-224-135.ppp.wakwak.ne.jp. [222.224.135.17]) by smtp.gmail.com with ESMTPSA id v22sm5225985pff.105.2021.05.01.14.11.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 May 2021 14:11:49 -0700 (PDT) From: Stafford Horne To: GCC patches Cc: Richard Henderson , Openrisc , giulio.benetti@benettiengineering.com, Stafford Horne Subject: [PATCH v2 0/2] OpenRISC support for cmodel=large Date: Sun, 2 May 2021 06:11:43 +0900 Message-Id: <20210501211145.2980164-1-shorne@gmail.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 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.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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, 01 May 2021 21:11:53 -0000 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 -- 2.26.2