06.02.2013 Views

ARM Compiler toolchain Using the Linker - ARM Information Center

ARM Compiler toolchain Using the Linker - ARM Information Center

ARM Compiler toolchain Using the Linker - 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.

2.3 <strong>Linker</strong> command-line options listed in groups<br />

See <strong>the</strong> following command-line options in <strong>the</strong> <strong>Linker</strong> Reference:<br />

Overview of <strong>the</strong> linker<br />

Controlling library files and paths<br />

• --add_needed, --no_add_needed on page 2-6<br />

• --add_shared_references, --no_add_shared_references on page 2-7<br />

• --libpath=pathlist on page 2-96<br />

• --library=name on page 2-97<br />

• --library_type=lib on page 2-98<br />

• --reduce_paths, --no_reduce_paths on page 2-129<br />

• --runpath=pathlist on page 2-138<br />

• --scanlib, --no_scanlib on page 2-141<br />

• --search_dynamic_libraries, --no_search_dynamic_libraries on page 2-144<br />

• --thumb2_library, --no_thumb2_library on page 2-172<br />

• --userlibpath=pathlist on page 2-179.<br />

Controlling <strong>the</strong> linking of object files<br />

• --match=crossmangled on page 2-109<br />

• --strict on page 2-156<br />

• --strict_ph, --no_strict_ph on page 2-159<br />

• --strict_relocations, --no_strict_relocations on page 2-160<br />

• --sysroot=path on page 2-169<br />

• --unresolved=symbol on page 2-176.<br />

Controlling <strong>the</strong> output<br />

• --base_platform on page 2-18<br />

• --bpabi on page 2-24<br />

• --combreloc, --no_combreloc on page 2-33<br />

• --dll on page 2-49<br />

• --ldpartial on page 2-94<br />

• --output=file on page 2-114<br />

• --partial on page 2-119<br />

• --prelink_support, --no_prelink_support on page 2-125<br />

• --reloc on page 2-132<br />

• --shared on page 2-146<br />

• --sysv on page 2-170.<br />

Specifying <strong>the</strong> image memory map<br />

• --autoat, --no_autoat on page 2-17<br />

• --fpic on page 2-74<br />

• --linker_script=ld_script on page 2-100<br />

• --predefine="string" on page 2-123<br />

• --ro_base=address on page 2-135<br />

• --ropi on page 2-136<br />

• --rosplit on page 2-137<br />

• --rw_base=address on page 2-139<br />

• --rwpi on page 2-140<br />

• --scatter=file on page 2-142<br />

• --split on page 2-154<br />

<strong>ARM</strong> DUI 0474C Copyright © 2010-2011 <strong>ARM</strong>. All rights reserved. 2-5<br />

ID080411 Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!