aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/provide-5.t
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-scripts/provide-5.t')
-rw-r--r--ld/testsuite/ld-scripts/provide-5.t10
1 files changed, 10 insertions, 0 deletions
diff --git a/ld/testsuite/ld-scripts/provide-5.t b/ld/testsuite/ld-scripts/provide-5.t
new file mode 100644
index 0000000..eda741e
--- /dev/null
+++ b/ld/testsuite/ld-scripts/provide-5.t
@@ -0,0 +1,10 @@
+SECTIONS
+{
+ foo = 0x10;
+ PROVIDE (foo = bar);
+
+ .data 0x1000 :
+ {
+ *(.data)
+ }
+}