diff options
author | Alan Modra <amodra@gmail.com> | 2002-09-19 23:51:35 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-09-19 23:51:35 +0000 |
commit | 263462410cf8a0857c75b40cfc1f800f88c743b7 (patch) | |
tree | 11ad589fbf7659038e9900ecb265318c1821921b /gas/write.h | |
parent | 2f870471d434335b998b1af09805b8955ff6b262 (diff) | |
download | binutils-gdb-263462410cf8a0857c75b40cfc1f800f88c743b7.tar.gz |
* 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.
Diffstat (limited to 'gas/write.h')
-rw-r--r-- | gas/write.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/write.h b/gas/write.h index 3a3b5856530..962ccd0fb10 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; |