diff options
author | Alan Modra <amodra@bigpond.net.au> | 2002-09-19 23:51:35 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2002-09-19 23:51:35 +0000 |
commit | 83e6e822b68e492d4d2dfd09ec610569f0447ea7 (patch) | |
tree | fcedc56063f332e504360253a3e6a096f4ba24af /gas/write.h | |
parent | 5a085f05740092903c7fba0725c2b3fb5bd385ae (diff) | |
download | binutils-redhat-83e6e822b68e492d4d2dfd09ec610569f0447ea7.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 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; |