summaryrefslogtreecommitdiff
path: root/linker/linker.cpp
diff options
context:
space:
mode:
authorRyan Prichard <rprichard@google.com>2020-03-26 19:55:05 -0700
committerRyan Prichard <rprichard@google.com>2020-03-27 18:46:28 -0700
commit146620b6443f84d955697cae1c40b9f1b9bd3928 (patch)
tree5122c860a18266e92f8e650ee8480dd83ce98093 /linker/linker.cpp
parent323d7dfe90352ab93306bbc6cbd6a7b1c88c4dd3 (diff)
Fix DL_WARN_documented_change URL
The doc_link argument is really a URL fragment within the android-changes-for-ndk-developers.md document, not a filename at the root of the bionic repository. Test: manual Bug: none Change-Id: I1b542e47aca132ce43ba1d50d83db1bf3c7b10c6
Diffstat (limited to 'linker/linker.cpp')
-rw-r--r--linker/linker.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/linker/linker.cpp b/linker/linker.cpp
index bf7517855..ac83cae9a 100644
--- a/linker/linker.cpp
+++ b/linker/linker.cpp
@@ -3273,9 +3273,8 @@ bool soinfo::link_image(const SymbolLookupList& lookup_list, soinfo* local_group
// Fail if app is targeting M or above.
int app_target_api_level = get_application_target_sdk_version();
if (app_target_api_level >= 23) {
- DL_ERR_AND_LOG("\"%s\" has text relocations (https://android.googlesource.com/platform/"
- "bionic/+/master/android-changes-for-ndk-developers.md#Text-Relocations-"
- "Enforced-for-API-level-23)", get_realpath());
+ DL_ERR_AND_LOG("\"%s\" has text relocations (%s#Text-Relocations-Enforced-for-API-level-23)",
+ get_realpath(), kBionicChangesUrl);
return false;
}
// Make segments writable to allow text relocations to work properly. We will later call