package/gcc: add upstream patches that introduce -mcmodel=large option for or1k
authorGiulio Benetti <giulio.benetti@benettiengineering.com>
Mon, 3 May 2021 11:13:44 +0000 (13:13 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Fri, 21 May 2021 08:37:20 +0000 (10:37 +0200)
commitf8367664f8aea1e962c111df0432014d744fd00f
treeae02ff8f0c49a57e53611ef3d3ed027d4e548170
parent394c62b21b1988b103ba61eb1b4dee534072fab4
package/gcc: add upstream patches that introduce -mcmodel=large option for or1k

Let's add upstream patches introducing -mcmodel=large or1k gcc option that
works in conjunction with previous binutils patch. That option fix binutils
bug 21464[1] allowing to build libgeos with no problem. This way we can
consider buildroot toolchain binutils bug 21464 free.

[1]: https://sourceware.org/bugzilla/show_bug.cgi?id=21464

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[Arnout: remove the PATCH M/N parts - cfr. check-package]
package/gcc/10.3.0/0002-or1k-Add-mcmodel-option-to-handle-large-GOTs.patch [new file with mode: 0644]
package/gcc/10.3.0/0003-or1k-Use-cmodel-large-when-building-crtstuff.patch [new file with mode: 0644]
package/gcc/9.3.0/0006-or1k-Add-mcmodel-option-to-handle-large-GOTs.patch [new file with mode: 0644]
package/gcc/9.3.0/0007-or1k-Use-cmodel-large-when-building-crtstuff.patch [new file with mode: 0644]