[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ARM/THUMB long calls stubs
From: |
Andy Green |
Subject: |
ARM/THUMB long calls stubs |
Date: |
Tue, 06 Aug 2002 16:57:48 +0100 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0) Gecko/20020530 |
To anyone who can help(!),
I have hit an issue with long calls on arm gcc (version 3.0.4 with the
long-calls patch). I see someone else reported this issue on 30 April,
has there been a resolution?
The issue is as follows:
void FnHi() __attribute__((section("high"))) __attribute__((long_call));
void FnLo() __attribute__((section("low"))) __attribute__((long_call));
I can call FnHi() from anywhere within the "low" section, however I
cannot call FnLo() from the "high" section because the _call_via_rX stub
is located in "low", and hence the call to _call_via_rX gets truncated
by the linker.
Is there a way to get gcc to generate the stubs in all sections?
Andy
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- ARM/THUMB long calls stubs,
Andy Green <=