ARM VERSION 1.2 User Manual

Page 82

Advertising
background image

Assembler Reference

3-4

Copyright © 2000, 2001 ARM Limited. All rights reserved.

ARM DUI 0068B

-md

instructs the assembler to write source file dependency lists to

inputfile.d

.

-errors errorfile

instructs the assembler to output error messages to

errorfile

.

-fpu name

this option selects the target floating-point unit (FPU) architecture. If you
specify this option it overrides any implicit FPU set by the

-cpu

option.

Floating-point instructions produce either errors or warnings if
assembled for the wrong target FPU.

The assembler sets a build attribute corresponding to

name

in the object

file. The linker determines compatibility between object files, and
selection of libraries, accordingly.

The assembler sets a build attribute corresponding to

name

in the object

file. The linker determines compatibility between object files, and
selection of libraries, accordingly.

Valid options are:

none

Selects no floating-point option. This makes your assembled
object file compatible with any other object file.

vfp

This is a synonym for

-fpu vfpv1

.

vfpv1

Selects hardware vector floating-point unit conforming to
architecture VFPv1.

vfpv2

Selects hardware vector floating-point unit conforming to
architecture VFPv2.

fpa

Selects hardware Floating Point Accelerator.

softvfp+vfp

Selects hardware Vector Floating Point unit.

To

armasm

, this is identical to

-fpu vfpv1

. See the C and C++

Compilers chapter in ADS Compilers and Libraries Guide for
details of the effect on software library selection at link time.

softvfp

Selects software floating-point library (FPLib) with
pure-endian doubles. This is the default if no

-fpu

option is

specified.

softfpa

Selects software floating-point library with mixed-endian
doubles.

-g

instructs the assembler to generate DWARF2 debug tables. For
backwards compatibility, the following command line option is
permitted, but not required:

-dwarf2

Advertising