Skip to content

OpenRISC support for cmodel=large

Giulio Benetti openrisc 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 4/40 of 2 patches 0 repliesNew
  2. v2 posting 3/40 of 2 patches 0 repliesSuperseded
  3. v2 posting 2/40 of 2 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v2 posting 1/40 of 2 patches0 repliesSuperseded

Patches in v2 posting 4/4 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [OpenRISC] [PATCH v2 0/2] OpenRISC support for cmodel=large
Quoted 26 lines · Stafford Horne
Quoted 25 lines · Giulio Benetti

Hi All,

Quoted 21 lines · Stafford Horne

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

Quoted 8 lines
Quoted 6 lines

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.

Ah ok, you're the maintainer :-) I thought there was someone else who needed to push it :-)

Best regards

Signature · 2 lines
Giulio Benetti
Benetti Engineering sas