aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/align5.t
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-scripts/align5.t')
-rw-r--r--ld/testsuite/ld-scripts/align5.t12
1 files changed, 12 insertions, 0 deletions
diff --git a/ld/testsuite/ld-scripts/align5.t b/ld/testsuite/ld-scripts/align5.t
new file mode 100644
index 0000000..a0b33e5
--- /dev/null
+++ b/ld/testsuite/ld-scripts/align5.t
@@ -0,0 +1,12 @@
+SECTIONS
+{
+ .text : {
+ SORT_NONE (*) (.text .text.*)
+ }
+
+ .data : {
+ SORT_NONE (*) (.data .data.*)
+ foo = .;
+ }
+ /DISCARD/ : {*(*)}
+}