REQUIRE

The REQUIRE command creates a DT_NEEDED tag in the dynamic array. DT_NEEDED tags specify dependencies to other shared objects used by the application, for example, a shared library.

Show/hideSyntax

REQUIRE pattern [ ,pattern]

where:

pattern

is a string representing a filename. No wild characters are permitted.

Show/hideUsage

The linker inserts a DT_NEEDED tag with the value of pattern into the dynamic array. This tells the dynamic loader that the file it is currently loading requires pattern to be loaded.

Note

DT_NEEDED tags inserted as a result of a REQUIRE command are added after DT_NEEDED tags generated from shared objects or dynamically linked libraries (DLLs) placed on the command line.

Show/hideSee also

Concepts

Using the Linker:

Copyright © 2008, 2011-2012 ARM. All rights reserved.ARM DUI 0458C
Non-ConfidentialID062912