Enables the linker to treat any absolute paths found from library scripts to be treated as relative to the specified path.
is location that is to be treated as the
GCC and GNU ld are configured against a common sysroot. This means that where ld scripts refer to their subordinate libraries using an absolute path, the path is still relative to sysroot.
Because implicit ld scripts are going to be enabled only in
this only takes effect when targeting ARM Linux. Relative paths must still search
userlibpath list for the file.
This option affects the following ld script commands:
If sysroot is not NULL:
Any absolute paths in
SEARCH_DIRcommands have sysroot prepended.
Any paths beginning with the
=character have that character replaced by sysroot, but only for
The linker removes the
=character if no sysroot is configured.