Lines Matching refs:sysroot
718 // If the default sysroot is relocatable, try relocating it based on
737 // Return the default sysroot. This is set by the --with-sysroot
745 const char* sysroot = TARGET_SYSTEM_ROOT;
746 if (*sysroot == '\0')
758 return sysroot;
948 // Add the sysroot, if any, to the search paths.
953 if (this->sysroot() == NULL || this->sysroot()[0] == '\0')
956 if (this->sysroot() == NULL || this->sysroot()[0] == '\0')
960 char* canonical_sysroot = lrealpath(this->sysroot());
965 p->add_sysroot(this->sysroot(), canonical_sysroot);
1199 sysroot to all directories
1211 // sysroot path). Once those are fixed we can enable.
1321 // This is called if we have a sysroot. Apply the sysroot if
1322 // appropriate. Record whether the directory is in the sysroot.
1325 Search_directory::add_sysroot(const char* sysroot,
1328 gold_assert(*sysroot != '\0');
1332 && !IS_DIR_SEPARATOR(sysroot[strlen(sysroot) - 1]))
1334 this->name_ = sysroot + this->name_;
1339 // Check whether this entry is in the sysroot. To do this