2 Copyright 1991, 92, 93, 94, 95, 1998 Free Software Foundation, Inc.
4 This file is part of GLD, the Gnu Linker.
6 GLD is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
11 GLD is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with GLD; see the file COPYING. If not, write to the Free
18 Software Foundation, 59 Temple Place - Suite 330, Boston, MA
24 /* The result of an expression tree */
28 struct lang_output_section_statement_struct *section;
47 etree_rel } node_class;
52 typedef union etree_union
57 union etree_union *lhs;
58 union etree_union *rhs;
62 union etree_union *cond;
63 union etree_union *lhs;
64 union etree_union *rhs;
69 union etree_union *src;
74 union etree_union *child;
91 union etree_union *child;
97 etree_type *exp_intop PARAMS ((bfd_vma));
98 etree_type *exp_relop PARAMS ((asection *, bfd_vma));
99 etree_value_type invalid PARAMS ((void));
100 etree_value_type exp_fold_tree PARAMS ((etree_type *, struct
101 lang_output_section_statement_struct *,
103 bfd_vma, bfd_vma *));
104 etree_type *exp_binop PARAMS ((int, etree_type *, etree_type *));
105 etree_type *exp_trinop PARAMS ((int,etree_type *, etree_type *, etree_type *));
106 etree_type *exp_unop PARAMS ((int, etree_type *));
107 etree_type *exp_nameop PARAMS ((int, CONST char *));
108 etree_type *exp_assop PARAMS ((int, CONST char *, etree_type *));
109 etree_type *exp_provide PARAMS ((const char *, etree_type *));
110 etree_type *exp_assert PARAMS ((etree_type *, const char *));
111 void exp_print_tree PARAMS ((etree_type *));
112 bfd_vma exp_get_vma PARAMS ((etree_type *, bfd_vma, char *, lang_phase_type));
113 int exp_get_value_int PARAMS ((etree_type *, int, char *,lang_phase_type));
114 bfd_vma exp_get_abs_int PARAMS ((etree_type *, int, char *,lang_phase_type));