summaryrefslogtreecommitdiff
path: root/ld/ldexp.h
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2000-09-29 13:21:41 +0000
committerKazu Hirata <kazu@codesourcery.com>2000-09-29 13:21:41 +0000
commit5e86a3ed4e75bf0c5c3037dd0352dc660c8418ad (patch)
treebca8719efc5480df1d01b6cdf7d33aa701751339 /ld/ldexp.h
parentdc3dc1b49a3532c6f8019d2fa202c71afd4ce590 (diff)
downloadbinutils-redhat-5e86a3ed4e75bf0c5c3037dd0352dc660c8418ad.tar.gz
2000-09-29 Kazu Hirata <kazu@hxi.com>
* deffile.h: Fix formatting. * ld.h: Likewise. * ldctor.h: Likewise. * ldemul.h: Likewise. * ldexp.h: Likewise. * ldfile.h: Likewise. * ldlang.h: Likewise. * lexsup.c: Likewise. * mri.c: Likewise. * pe-dll.c: Likewise.
Diffstat (limited to 'ld/ldexp.h')
-rw-r--r--ld/ldexp.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/ld/ldexp.h b/ld/ldexp.h
index b8e8ddf6f8..3ed71af5b0 100644
--- a/ld/ldexp.h
+++ b/ld/ldexp.h
@@ -1,5 +1,6 @@
/* ldexp.h -
- Copyright 1991, 92, 93, 94, 95, 1998 Free Software Foundation, Inc.
+ Copyright 1991, 92, 93, 94, 95, 98, 2000
+ Free Software Foundation, Inc.
This file is part of GLD, the Gnu Linker.
@@ -22,16 +23,14 @@
#define LDEXP_H
/* The result of an expression tree */
-typedef struct
+typedef struct
{
bfd_vma value;
struct lang_output_section_statement_struct *section;
boolean valid_p;
} etree_value_type;
-
-
-typedef struct
+typedef struct
{
int node_code;
enum { etree_binary,
@@ -47,9 +46,7 @@ typedef struct
etree_rel } node_class;
} node_type;
-
-
-typedef union etree_union
+typedef union etree_union
{
node_type type;
struct {
@@ -93,7 +90,6 @@ typedef union etree_union
} assert_s;
} etree_type;
-
etree_type *exp_intop PARAMS ((bfd_vma));
etree_type *exp_relop PARAMS ((asection *, bfd_vma));
etree_value_type invalid PARAMS ((void));