Skip to content

AROS: Switch from ABIv1 to ABIv11 for AROS target x86_64

magorium requested to merge magorium/fpc-source:AROS-ABIv11-switch into main

The commits of this MR:

  • cleans up some of the inconsistant ifdef casing
  • adds necessary ifdefs for ABIv11 support in units/RTL
  • simplifies some of the nested ifdefs
  • switches the extra define for target AROS-x86_64 from ABIv1 to ABIv11

And thus the compiler is now able to compile code compliant to ABIv11 instead of ABIv1 for target AROS-x86_64.

By introducing the (additional) ABIv11 ifdefs it is still possible to switch (back) to ABIv1 at any given time, although (reinstating) support for ABIv1 requires more work.

This MR is required in order to let the compiler create a working executable (without any additional/custom defines) for at least one of the forementioned ABI's (as commit 568d4de7 broke support for ABIv1 and ABIv11 was not (fully) supported yet).

Merge request reports

Loading