summaryrefslogtreecommitdiff
path: root/base/android/library_loader/anchor_functions.lds
diff options
context:
space:
mode:
Diffstat (limited to 'base/android/library_loader/anchor_functions.lds')
-rw-r--r--base/android/library_loader/anchor_functions.lds7
1 files changed, 7 insertions, 0 deletions
diff --git a/base/android/library_loader/anchor_functions.lds b/base/android/library_loader/anchor_functions.lds
new file mode 100644
index 0000000000..cdeaaa2a37
--- /dev/null
+++ b/base/android/library_loader/anchor_functions.lds
@@ -0,0 +1,7 @@
+# Copyright 2018 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# Define symbols that point to the start and end of the .text section.
+PROVIDE_HIDDEN(linker_script_start_of_text = ADDR(.text));
+PROVIDE_HIDDEN(linker_script_end_of_text = ADDR(.text) + SIZEOF(.text));