aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-05-29 00:38:52 +0000
committerJohn Gilmore <gnu@cygnus>1991-05-29 00:38:52 +0000
commita5b00362e87dd4461b4b30f956bac08bdf2b2651 (patch)
tree402fee060da7bfb5e0eb5fd11851bd8353fe08cd
parentc0e5039e64287c34a99d59493d7ea8d2faa9bed4 (diff)
downloadgdb-a5b00362e87dd4461b4b30f956bac08bdf2b2651.zip
gdb-a5b00362e87dd4461b4b30f956bac08bdf2b2651.tar.gz
gdb-a5b00362e87dd4461b4b30f956bac08bdf2b2651.tar.bz2
Undo Bothner changes that depend on pointer representation.
-rw-r--r--bfd/ChangeLog17
-rw-r--r--bfd/libieee.h9
2 files changed, 22 insertions, 4 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 98a8252..f04bfe5 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,20 @@
+Tue May 28 17:21:43 1991 John Gilmore (gnu at cygint.cygnus.com)
+
+ * Merge in changes from gdb-3.95 release.
+ Makefile.in: Allow hmake and tmake files to add OFILES.
+ aoutf1.h:
+ bfd.c: support specific targets as well as searching. When
+ searching, take default target in preference to others.
+ bfd.doc: typos
+ ieee.c, oasys.c: Avoid using the "tdata" macros left of assignment.
+ liba.out.h: Don't hard-code file offsets; use N_ macros for them.
+ libbfd.h: Support specific targets as well as searching.
+ opncls.c: Support specific targets as well as searching.
+ targets.c: Search is short-circuited if default target matches.
+ liboasys.c, libieee.c: Undo bothner changes that make macros
+ work to the left of assignment, but which depend on the
+ representations of different pointer types being the same.
+
Fri May 24 18:56:52 1991 Steve Chamberlain (steve at cygint.cygnus.com)
* i386coff.c: created.
diff --git a/bfd/libieee.h b/bfd/libieee.h
index 59e07e4..539d174 100644
--- a/bfd/libieee.h
+++ b/bfd/libieee.h
@@ -3,11 +3,12 @@ typedef struct {
char letter;
} ieee_symbol_index_type;
-typedef struct ieee_symbol {
+typedef struct ieee_symbol
+{
asymbol symbol;
struct ieee_symbol *next;
-unsigned int index;
+ unsigned int index;
} ieee_symbol_type;
@@ -86,8 +87,8 @@ typedef struct {
unsigned int element_index ;
unsigned int element_count;
} ieee_ar_data_type;
-#define ieee_data(abfd) ((ieee_data_type *)((abfd)->tdata))
-#define ieee_ar_data(abfd) ((ieee_ar_data_type *)((abfd)->arelt_data))
+#define ieee_data(abfd) ((ieee_data_type *)(abfd)->tdata)
+#define ieee_ar_data(abfd) ((ieee_ar_data_type *)(abfd)->arelt_data)
#define ptr(abfd) (ieee_data(abfd)->input_p)