From a5b00362e87dd4461b4b30f956bac08bdf2b2651 Mon Sep 17 00:00:00 2001 From: John Gilmore Date: Wed, 29 May 1991 00:38:52 +0000 Subject: [PATCH] Undo Bothner changes that depend on pointer representation. --- bfd/ChangeLog | 17 +++++++++++++++++ bfd/libieee.h | 9 +++++---- 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) -- 2.7.4