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

baratharon at caesar dot elte.hu gcc-bugzilla@gcc.gnu.org
Mon Mar 23 07:24:31 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94236

--- Comment #7 from Aron <baratharon at caesar dot elte.hu> ---
(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 used the -ffreestanding -nostdlib -nostdinc combination,
but they did not made any difference on the output object file, so I removed
them in post #1. On x86_64 and armv7 we already have target (cross) gcc, but we
just started to work on aarch64. Either Linux target or Threos target, CALL26
would be also an issue. It seems, I have to mock with the target gcc first
before we can ran anything on the HW to include the long calls patch. Still, I
would be happy if the mainline gcc have the -mlong-calls for aarch64.


More information about the Gcc-bugs mailing list