From 263462410cf8a0857c75b40cfc1f800f88c743b7 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 19 Sep 2002 23:51:35 +0000 Subject: * write.h (struct fix): Add fx_dot_value. (dot_value): Declare. * write.c (dot_value): New var. (fix_new_internal): Save dot_value as fx_dot_value. * expr.c (expr): Update dot_value. --- gas/write.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gas/write.h') diff --git a/gas/write.h b/gas/write.h index 3a3b585653..962ccd0fb1 100644 --- a/gas/write.h +++ b/gas/write.h @@ -105,6 +105,9 @@ struct fix /* Absolute number we add in. */ valueT fx_offset; + /* The value of dot when the fixup expression was parsed. */ + addressT fx_dot_value; + /* Next fixS in linked list, or NULL. */ struct fix *fx_next; @@ -159,6 +162,7 @@ typedef struct fix fixS; extern int finalize_syms; extern symbolS *abs_section_sym; +extern addressT dot_value; #ifndef BFD_ASSEMBLER extern char *next_object_file_charP; -- cgit v1.2.3