From: John Gilmore Date: Wed, 29 May 1991 00:38:52 +0000 (+0000) Subject: Undo Bothner changes that depend on pointer representation. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a5b00362e87dd4461b4b30f956bac08bdf2b2651;p=binutils-gdb.git Undo Bothner changes that depend on pointer representation. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 98a8252dcae..f04bfe5fcac 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 59e07e484fb..539d1742351 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)