Re: ARM/Thumb function attribute

2008-03-23 Thread Daniel Jacobowitz
On Sun, Mar 23, 2008 at 01:19:35PM -0400, Albert Cahalan wrote: > Another way to solve the problem would be to have > some way to make gcc emit the symbol, perhaps by > an attribute that declares the address. Just make it a longcall symbol. Either define it to be at 0x2718|1 in the linker scr

Re: ARM/Thumb function attribute

2008-03-23 Thread Paul Brook
On Sunday 23 March 2008, Albert Cahalan wrote: > On Sat, Mar 22, 2008 at 8:24 PM, Paul Brook <[EMAIL PROTECTED]> wrote: > > This list is for development of gcc, not gcc users. In future gcc-help, > > or some other arm specific list is the correct place to ask such > > questions. > > I guess it wasn

Re: ARM/Thumb function attribute

2008-03-23 Thread Albert Cahalan
On Sat, Mar 22, 2008 at 8:24 PM, Paul Brook <[EMAIL PROTECTED]> wrote: > This list is for development of gcc, not gcc users. In future gcc-help, or > some other arm specific list is the correct place to ask such questions. I guess it wasn't clear that I'm requesting a new attribute. I want to for

Re: ARM/Thumb function attribute

2008-03-22 Thread Paul Brook
This list is for development of gcc, not gcc users. In future gcc-help, or some other arm specific list is the correct place to ask such questions. > As far as I can tell, there is no way to declare > that a particular function pointer will point at > plain ARM code or at Thumb code. I'm more > t

ARM/Thumb function attribute

2008-03-22 Thread Albert Cahalan
As far as I can tell, there is no way to declare that a particular function pointer will point at plain ARM code or at Thumb code. I'm more than a little surprised actually, so maybe I just missed something. How can I do this? Some background: The function is in ROM. I'm using a linker script to g