summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/pr18963.t
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-scripts/pr18963.t')
-rw-r--r--ld/testsuite/ld-scripts/pr18963.t13
1 files changed, 4 insertions, 9 deletions
diff --git a/ld/testsuite/ld-scripts/pr18963.t b/ld/testsuite/ld-scripts/pr18963.t
index 830ded78dd9..94f8f164d00 100644
--- a/ld/testsuite/ld-scripts/pr18963.t
+++ b/ld/testsuite/ld-scripts/pr18963.t
@@ -1,25 +1,20 @@
SECTIONS
{
- . = 0x80000;
- A = .;
- .text :
+ .text 0x300 :
{
- _start = .;
*(.text)
- . = 0x10000;
}
- B = .;
+ A = .;
.data :
{
*(.data)
- . = 0x10000;
}
- C = .;
+ B = .;
.bss :
{
*(.bss)
- . = 0x10000;
}
+ C = .;
D = A - C + B;
E = A + B - C;
/DISCARD/ : {*(*)}