You copied the Doc URL to your clipboard.


Specifies default settings for use when creating ARM Linux applications.


You can also specify a GNU ld script with the --linker_script option.


ELF files produced with the --arm_linux option are demand-paged compliant.


The following default settings are automatically specified:

  • --add_needed.

  • --add_shared_references.

  • --no_as_needed.

  • --gnu_linker_defined_syms.

  • --keep=*(.init).

  • --keep=*(.init_array).

  • --keep=*(.fini).

  • --keep=*(.fini_array).

  • --linux_abitag=2.6.12.

  • --muldefweak.

  • --no_ref_cpp_init.

  • --no_scanlib.

  • --no_startup.

  • --prelink_support.

  • --sysv.

When migrating from a toolchain earlier than RealView Compiler Tools (RVCT) v4.0, you can replace all these defaults with a single --arm_linux option.

To override any of the default settings, specify them separately after the --arm_linux option.


This option does not support scatter-loading.