aboutsummaryrefslogtreecommitdiff
path: root/ld/ldexp.h
diff options
context:
space:
mode:
Diffstat (limited to 'ld/ldexp.h')
-rw-r--r--ld/ldexp.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/ldexp.h b/ld/ldexp.h
index f61df6b..bea8045 100644
--- a/ld/ldexp.h
+++ b/ld/ldexp.h
@@ -138,6 +138,14 @@ struct ldexp_control {
/* Principally used for diagnostics. */
bfd_boolean assigning_to_dot;
+
+ /* Set if the current expression used "dot", SEGMENT_START or
+ ORIGIN, but not ABSOLUTE or combined symbols in a way that forces
+ an absolute result. Used in tracking symbols assigned from dot
+ outside of output section statements, in order to later convert
+ them from absolute. */
+ bfd_boolean rel_from_abs;
+
/* If evaluating an assignment, the destination. Cleared if an
etree_name NAME matches this, to signal a self-assignment.
Note that an etree_name DEFINED does not clear this field, nor
@@ -222,6 +230,7 @@ fill_type *exp_get_fill
bfd_vma exp_get_abs_int
(etree_type *, int, char *);
void ldexp_init (void);
+void ldexp_finalize_syms (void);
void ldexp_finish (void);
#endif