Undo Bothner changes that depend on pointer representation.

This commit is contained in:
John Gilmore 1991-05-29 00:38:52 +00:00
parent c0e5039e64
commit a5b00362e8
2 changed files with 22 additions and 4 deletions

View File

@ -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.

View File

@ -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)