[Bug target/94236] -mcmodel=large does not work on aarch64

2021-01-25 Thread wilco at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94236 Wilco changed: What|Removed |Added Resolution|--- |INVALID CC|

[Bug target/94236] -mcmodel=large does not work on aarch64

2020-03-23 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94236 --- Comment #8 from Richard Earnshaw --- (In reply to Andrew Pinski from comment #6) > Note for Threos OS, please don't reuse the same target triplet as elf or > linux; use your own triplet. Also adding long calls is not hard and such. The corr

[Bug target/94236] -mcmodel=large does not work on aarch64

2020-03-23 Thread baratharon at caesar dot elte.hu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94236 --- Comment #7 from Aron --- (In reply to Andrew Pinski from comment #6) > Note for Threos OS, please don't reuse the same target triplet as elf or > linux; use your own triplet. Also adding long calls is not hard and such. As a simple start, I

[Bug target/94236] -mcmodel=large does not work on aarch64

2020-03-23 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94236 --- Comment #6 from Andrew Pinski --- Note for Threos OS, please don't reuse the same target triplet as elf or linux; use your own triplet. Also adding long calls is not hard and such.

[Bug target/94236] -mcmodel=large does not work on aarch64

2020-03-23 Thread baratharon at caesar dot elte.hu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94236 --- Comment #5 from Aron --- (In reply to Andrew Pinski from comment #4) > Do you have a source where you run into a relocation overflowing? > Or is there a specific reason why you need long calls here? The current form of Threos OS requires suc

[Bug target/94236] -mcmodel=large does not work on aarch64

2020-03-20 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94236 --- Comment #4 from Andrew Pinski --- Do you have a source where you run into a relocation overflowing? Or is there a specific reason why you need long calls here?

[Bug target/94236] -mcmodel=large does not work on aarch64

2020-03-20 Thread baratharon at caesar dot elte.hu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94236 --- Comment #3 from Aron --- (In reply to Andrew Pinski from comment #1) > -mcmodel=large does not control long calls. Sadly, aarch64 lacks -mlong-calls which I use on armv7, therefore I thought based on the specification -mcmodel=large would ha

[Bug target/94236] -mcmodel=large does not work on aarch64

2020-03-20 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94236 --- Comment #2 from Andrew Pinski --- A patch for -mlong-calls was posted a long time ago but never made it in: https://gcc.gnu.org/legacy-ml/gcc-patches/2014-10/msg02933.html You should not need -mlong-calls really because the linker should ins

[Bug target/94236] -mcmodel=large does not work on aarch64

2020-03-20 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94236 --- Comment #1 from Andrew Pinski --- -mcmodel=large does not control long calls.