You copied the Doc URL to your clipboard.

Backwards compatibility issues

Some Arm® Compiler 5 options produce objects that are not compatible with Arm Compiler 6.


Linking with legacy objects that contain ELF sections with the legacy SHF_COMDEF ELF section flag is deprecated. Use the GRP_COMDAT ELF section group instead of the legacy SHF_COMDEF ELF section flag by:

  • Replacing the COMDEF section attribute of the legacy armasm syntax AREA directive with the COMGROUP=symbol_name section attribute.
  • Rebuilding incompatible legacy objects using one of the following:
    • Arm Compiler 5 but with the --dwarf3 option. Other incompatibilities might still exist.
    • Arm Compiler 6.