aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/map-address.t
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-scripts/map-address.t')
-rw-r--r--ld/testsuite/ld-scripts/map-address.t2
1 files changed, 2 insertions, 0 deletions
diff --git a/ld/testsuite/ld-scripts/map-address.t b/ld/testsuite/ld-scripts/map-address.t
index 8f2dfeb..e077ed1 100644
--- a/ld/testsuite/ld-scripts/map-address.t
+++ b/ld/testsuite/ld-scripts/map-address.t
@@ -1,5 +1,7 @@
SECTIONS
{
+ def1 = DEFINED(foo) ? 0x10 : 0x20;
+ def2 = def1;
. = 0x10001;
foo = .;
. += 0x200;