APCS-3/32 support
Stewart Brodie
stewart.brodie at pace.co.uk
Mon Mar 27 11:09:36 BST 2000
In message <Marcel-1.53-0325135756-3136#xE at druck.freeuk.com>
"David J. Ruck" <druck at freeuk.com> wrote:
> On a slighly different note; everyone should be thinking ARM 32 bit mode
> conversion from now on. Its going to be a vast amount of work for every
> RISC OS developer, and one of the things we need to rely on is that
> essential libraries such as OSLib, will be both 32bit ready and cater for
> all existing API's and new extensions. Removing potential problems such as
> os_f now, will mean a lot less work over the cirtical times to come.
I would be willing to apply my diffs to the current version if people would
find that useful.
revision 1.1.1.1
date: 1999/11/18 11:10:46; author: sbrodie; state: Exp; lines: +0 -0
Summary:
Initial import of the sources of the "defmod" tool, used to build OSLib.
These sources represent the GPLed version of defmod available with OSLib
5.5, with modifications to support -26bit and -32bit options to choose the
APCS variant being used.
Detail:
The code has been reorganised to remove dependencies on path variables
which are not appropriate for our build structure. The sources directory
contains the main code sources; the bs directory contains bootstrap headers
to enable defmod to be build without OSLib headers being available; the
support directory contains derivatives of JCoxhead's support library.
Code changes are a switch in support.s.riscosa to support 32-bit builds of
defmod itself; sources.y.defmod includes VersionNum and uses Module_Date
and Module_FullVersion in the -help output; sources.c.objasm has a new
apcs32 flag which controls MOV vs. MOVS and LDM vs. LDM^ for veneer exits.
The Makefile is a complete rewrite.
Do not define __GNUC__ as zero even if the compiler wants you to - it
breaks other things (due to inconsistent use of #ifdef and #if)
Admin:
Checked output is correct by inspecting AOF files generated by ToolAction.
This tool sits in the GNU sources directory as it is released the GPL.
This tool exports its binary to the Library.Build directory because that
is where it lives in the library at the moment.
Tagged as defmod-5_50_prerelease
--
Stewart Brodie, Senior Software Engineer (Views expressed are my own and
Pace Micro Technology PLC not those of my employer)
645 Newmarket Road
Cambridge, CB5 8PB, United Kingdom WWW: http://www.pacemicro.com/
More information about the oslib-team
mailing list