aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-nds32/gp.ld
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-nds32/gp.ld')
-rw-r--r--ld/testsuite/ld-nds32/gp.ld11
1 files changed, 11 insertions, 0 deletions
diff --git a/ld/testsuite/ld-nds32/gp.ld b/ld/testsuite/ld-nds32/gp.ld
new file mode 100644
index 0000000..b537b95
--- /dev/null
+++ b/ld/testsuite/ld-nds32/gp.ld
@@ -0,0 +1,11 @@
+SECTIONS
+{
+ .text 0x0 : {
+ * (.text .text.*);
+ }
+
+ .data 0x3000 : {
+ * (.data .data.*);
+ }
+ _SDA_BASE_ = 0x1000;
+}