You copied the Doc URL to your clipboard.

Arm Compiler Migration and Compatibility Guide : Backwards compatibility issues

Backwards compatibility issues

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

SHF_COMDEF ELF sections

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.
Was this page helpful? Yes No