summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/print-memory-usage.t
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-scripts/print-memory-usage.t')
-rw-r--r--ld/testsuite/ld-scripts/print-memory-usage.t14
1 files changed, 14 insertions, 0 deletions
diff --git a/ld/testsuite/ld-scripts/print-memory-usage.t b/ld/testsuite/ld-scripts/print-memory-usage.t
new file mode 100644
index 00000000000..5ff057a5e30
--- /dev/null
+++ b/ld/testsuite/ld-scripts/print-memory-usage.t
@@ -0,0 +1,14 @@
+SECTIONS
+{
+ .text :
+ {
+ *(.text)
+ *(.pr)
+ }
+
+ .data :
+ {
+ *(.data)
+ *(.rw)
+ }
+}