diff options
Diffstat (limited to 'ld/ldgram.y')
-rw-r--r-- | ld/ldgram.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/ldgram.y b/ld/ldgram.y index 736f77d..f46aa9e 100644 --- a/ld/ldgram.y +++ b/ld/ldgram.y @@ -817,7 +817,7 @@ memory_spec: NAME origin_spec: ORIGIN '=' mustbe_exp { - region->origin = exp_get_vma ($3, 0, "origin"); + region->origin_exp = $3; region->current = region->origin; } ; @@ -825,7 +825,7 @@ origin_spec: length_spec: LENGTH '=' mustbe_exp { - region->length = exp_get_vma ($3, -1, "length"); + region->length_exp = $3; } ; |