Commit e764ce79 authored by Ben Avison's avatar Ben Avison
Browse files

CC/objasm options now customised for ROM builds

Detail:
  The pièce de résistance of the last few commits - the default CC and objasm
  options are now set appropriately for the target platform. For C code, this
  should mean better code (uses LDRH, UMULL etc) and for OMAP3 builds means
  that there should be no more reliance on pre-v6 unaligned load behaviour
  (except for a few components that are held in the repository in binary or
  object form). Sadly, the effect is blunted a little by the fact that we
  can't turn CC up to its highest level (v6) because in some cases it is used
  for its assembler output which is then fed through objasm - but objasm
  doesn't know v6 instructions like SBFX yet. At least it proves that the
  v6 disassembly new in CC 5.67 is working...
Admin:
  Tested in an OMAP3 ROM build. Appears to still work on a rev B7 beagleboard
  (as far as it can reasonably be tested without a working USB system).

Version 1.33. Tagged as 'Library-1_33'
parent 827caae7
......@@ -15,8 +15,19 @@
| Tool options for APCS-32
|
Set Alias$CC %%CC -APCS 3/32bit/fpe3 %%*0
Set Alias$ObjAsm %%ObjAsm -APCS 3/32bit %%*0
Set Alias$CC %%CC -APCS 3/32bit/fpe3 -memaccess -L22-S22-L41 %%*0
If "<Machine>"="Archimedes" then Set Alias$CC %%CC -APCS 3/32bit/fpe3 -memaccess -L22-S22+L41 %%*0
If "<Machine>"="Any32" then Set Alias$CC %%CC -APCS 3/32bit/fpe3 -cpu 3 -memaccess -L22-S22-L41 %%*0
If "<Machine>"="32" then Set Alias$CC %%CC -APCS 3/32bit/fpe3 -cpu 3 -memaccess -L22-S22+L41 %%*0
If "<Machine>"="Tungsten" then Set Alias$CC %%CC -APCS 3/32bit/fpe3 -cpu 5 -memaccess +L22+S22+L41 %%*0
If "<Machine>"="CortexA8" then Set Alias$CC %%CC -APCS 3/32bit/fpe3 -cpu 5 -memaccess +L22+S22-L41 %%*0
If "<Machine>"="CortexA9" then Set Alias$CC %%CC -APCS 3/32bit/fpe3 -cpu 6 -memaccess +L22+S22-L41 %%*0
Set Alias$ObjAsm %%ObjAsm -APCS 3/32bit %%*0
if "<Machine>"="Any32" then Set Alias$ObjAsm %%ObjAsm -APCS 3/32bit -cpu 3 %%*0
if "<Machine>"="32" then Set Alias$ObjAsm %%ObjAsm -APCS 3/32bit -cpu 3 %%*0
if "<Machine>"="Tungsten" then Set Alias$ObjAsm %%ObjAsm -APCS 3/32bit -cpu 5TE %%*0
if "<Machine>"="CortexA8" then Set Alias$ObjAsm %%ObjAsm -APCS 3/32bit -cpu 5TEJ %%*0
if "<Machine>"="CortexA9" then Set Alias$ObjAsm %%ObjAsm -APCS 3/32bit -cpu 5TEJ %%*0
Set Alias$CMHG %%CMHG -32bit %%*0
Set Alias$ResGen %%ResGen -32bit %%*0
Set Alias$DefMod %%DefMod -32bit %%*0
......
/* (1.32)
/* (1.33)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 1.32
#define Module_MajorVersion_CMHG 1.33
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 07 Jun 2009
#define Module_Date_CMHG 14 Jun 2009
#define Module_MajorVersion "1.32"
#define Module_Version 132
#define Module_MajorVersion "1.33"
#define Module_Version 133
#define Module_MinorVersion ""
#define Module_Date "07 Jun 2009"
#define Module_Date "14 Jun 2009"
#define Module_ApplicationDate "07-Jun-09"
#define Module_ApplicationDate "14-Jun-09"
#define Module_ComponentName "Library"
#define Module_ComponentPath "mixed/RiscOS/Library"
#define Module_FullVersion "1.32"
#define Module_HelpVersion "1.32 (07 Jun 2009)"
#define Module_LibraryVersionInfo "1:32"
#define Module_FullVersion "1.33"
#define Module_HelpVersion "1.33 (14 Jun 2009)"
#define Module_LibraryVersionInfo "1:33"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment