aboutsummaryrefslogtreecommitdiff
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
commit5cc18311d96a51217994f4b6a53ac88a410c9db4 (patch)
tree977cc43a12503b20786b429280318451bc24c7e7 /ld/ldexp.h
parent512a2384fe00445101b67b9ac3b24600e01d504e (diff)
downloadgdb-5cc18311d96a51217994f4b6a53ac88a410c9db4.zip
gdb-5cc18311d96a51217994f4b6a53ac88a410c9db4.tar.gz
gdb-5cc18311d96a51217994f4b6a53ac88a410c9db4.tar.bz2
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 b8e8ddf..3ed71af 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));