04.01.2015 Views

RealView Compilation Tools - ARM Information Center

RealView Compilation Tools - ARM Information Center

RealView Compilation Tools - ARM Information Center

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Compiler Command-line Options<br />

Usage<br />

Use --remove_unneeded_entities to reduce debug object and image file sizes. Faster<br />

linkage times can also be achieved.<br />

Caution<br />

Although --remove_unneeded_entities can help to reduce the amount of debug<br />

information generated per file, it has the disadvantage of reducing the number of debug<br />

sections that are common to many files. This reduces the number of common debug<br />

sections that the linker is able to remove at final link time, and can result in a final debug<br />

image that is larger than necessary. For this reason, use --remove_unneeded_entities<br />

only when necessary.<br />

Restrictions<br />

The effects of these options are restricted to debug information.<br />

Default<br />

Removal of unneeded entities is disabled by default.<br />

See also<br />

• The DWARF Debugging Standard, http://dwarfstd.org/<br />

2.1.142 --restrict, --no_restrict<br />

This option enables or disables the use of the C99 keyword restrict.<br />

Note<br />

The alternative keywords __restrict and __restrict__ are supported as synonyms for<br />

restrict. These alternative keywords are always available, regardless of the use of the<br />

--restrict option.<br />

Default<br />

When compiling ISO C99 source code, use of the C99 keyword restrict is enabled by<br />

default.<br />

When compiling ISO C90 or ISO C++ source code, use of the C99 keyword restrict<br />

is disabled by default.<br />

2-112 Copyright © 2007-2010 <strong>ARM</strong>. All rights reserved. <strong>ARM</strong> DUI 0348C<br />

Non-Confidential,<br />

ID101213

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!