Re: [fpc-devel] Capability CPUARM_HAS_BLX_LABEL with ARM instruction set

2016-01-05 Thread Garry Wood
>>While it's true that BLX always changes instructions set, I've heard some >>reports indicating that some assembler/linker combinations on OSX (apparently >>clang based?) have been behaving >>strangely with this lately. >>GCC+binutils have always been following the "emit blx and let the linker

Re: [fpc-devel] Capability CPUARM_HAS_BLX_LABEL with ARM instruction set

2015-12-16 Thread Garry Wood
On 12/16/2015 10:13 AM, Jonas Maebe wrote: >> The compiler and assembler mark which code is ARM and which is Thumb. >> Normally, when the linker processes the object files, it will replace >> the blx instructions with bl if they go from ARM to ARM or from Thumb >> to Thumb. The reason that a com

Re: [fpc-devel] Capability CPUARM_HAS_BLX_LABEL with ARM instruction set

2015-12-16 Thread Jeppe Johansen
On 12/16/2015 10:13 AM, Jonas Maebe wrote: Anthony Walter wrote: Because these devices have a fairly large amount of memory I have been using ARM instruction set (-CIARM option) to simplify the assembler code required for the low level interfaces, however early on I noticed that if I specify the

Re: [fpc-devel] Capability CPUARM_HAS_BLX_LABEL with ARM instruction set

2015-12-16 Thread Sven Barth
On 16.12.2015 20:06, Anthony Walter wrote: Sven, the FPC community is not that large as that of C, or Java, or Go. Our figurative slice of potential users is reduced further when qualified as FPC on the Raspberry Pi. My response to Garry was a sort of "Hey we both like FPC and Pi, maybe some of u

Re: [fpc-devel] Capability CPUARM_HAS_BLX_LABEL with ARM instruction set

2015-12-16 Thread Anthony Walter
Sven, the FPC community is not that large as that of C, or Java, or Go. Our figurative slice of potential users is reduced further when qualified as FPC on the Raspberry Pi. My response to Garry was a sort of "Hey we both like FPC and Pi, maybe some of us can band together to benefit FPC on Pi". My

Re: [fpc-devel] Capability CPUARM_HAS_BLX_LABEL with ARM instruction set

2015-12-16 Thread Sven Barth
Am 16.12.2015 10:06 schrieb "Anthony Walter" : > > Hello Gary and thanks go out to both the FPC and Lazarus teams as well. I don't want to hijack your thread, but I too am using FPC on the Pi, albeit not to the level you've gone. Then why did you hijack this thread with a completely unrelated topi

Re: [fpc-devel] Capability CPUARM_HAS_BLX_LABEL with ARM instruction set

2015-12-16 Thread Jonas Maebe
Anthony Walter wrote: Because these devices have a fairly large amount of memory I have been using ARM instruction set (-CIARM option) to simplify the assembler code required for the low level interfaces, however early on I noticed that if I specify the options -CpARMV7A (or -CpARMV6) and –CIARM

Re: [fpc-devel] Capability CPUARM_HAS_BLX_LABEL with ARM instruction set

2015-12-16 Thread Anthony Walter
Hello Gary and thanks go out to both the FPC and Lazarus teams as well. I don't want to hijack your thread, but I too am using FPC on the Pi, albeit not to the level you've gone. I believe the FPC community has the opportunity to expand to a new younger audience with the Pi. With this in mind I be

[fpc-devel] Capability CPUARM_HAS_BLX_LABEL with ARM instruction set

2015-12-14 Thread Garry Wood
Hello, I have been working on some embedded (no OS) development on ARMv6 and ARMv7 (Raspberry Pi and Raspberry Pi 2) using FPC 3.1.1 trunk. Because these devices have a fairly large amount of memory I have been using ARM instruction set (-CIARM option) to simplify the assembler code required fo