diff options
author | Alan Modra <amodra@gmail.com> | 2011-01-13 13:06:22 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2011-01-13 13:06:22 +0000 |
commit | 2e57b2afce83621b72b2ac8b54635ad199663dec (patch) | |
tree | a162756c66238efb1835bc8af47ad6fe0fa9177a /ld/ldexp.h | |
parent | 15b8ba76931a8fed121a0f634388e828b3cbc063 (diff) | |
download | gdb-2e57b2afce83621b72b2ac8b54635ad199663dec.zip gdb-2e57b2afce83621b72b2ac8b54635ad199663dec.tar.gz gdb-2e57b2afce83621b72b2ac8b54635ad199663dec.tar.bz2 |
PR ld/12356
* ldexp.h (exp_assop): Delete.
(exp_assign, exp_defsym): Declare.
* ldexp.c (exp_assop): Make static, handle all assignment variations.
(exp_assign, exp_defsym): New functions.
(exp_provide): Use exp_assop.
* ldgram.y (defsym_expr): Use exp_defsym.
* ldctor.c, * ldgram.y, * ldlang.c, * mri.c, * emultempl/beos.em,
* emultempl/pe.em, * emultempl/pep.em, * emultempl/spuelf.em,
* emultempl/xtensaelf.em: Update exp_assop -> exp_assign.
Diffstat (limited to 'ld/ldexp.h')
-rw-r--r-- | ld/ldexp.h | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -46,7 +46,7 @@ enum node_tree_enum { typedef struct { int node_code; unsigned int lineno; - enum node_tree_enum node_class; + enum node_tree_enum node_class; } node_type; typedef union etree_union { @@ -190,8 +190,10 @@ etree_type *exp_unop (int, etree_type *); etree_type *exp_nameop (int, const char *); -etree_type *exp_assop - (int, const char *, etree_type *); +etree_type *exp_assign + (const char *, etree_type *); +etree_type *exp_defsym + (const char *, etree_type *); etree_type *exp_provide (const char *, etree_type *, bfd_boolean); etree_type *exp_assert |