diff options
author | Nick Clifton <nickc@redhat.com> | 1998-06-23 20:56:19 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 1998-06-23 20:56:19 +0000 |
commit | 7699bb0ba2d5db5e0f40938ba9b1ca07a8e42da7 (patch) | |
tree | b6f3df8cd151a5a29f9ea924122d2c6d26697227 | |
parent | 8392754096aa899f0698a0afde589d1a1b3f2fd8 (diff) | |
download | binutils-7699bb0ba2d5db5e0f40938ba9b1ca07a8e42da7.zip binutils-7699bb0ba2d5db5e0f40938ba9b1ca07a8e42da7.tar.gz binutils-7699bb0ba2d5db5e0f40938ba9b1ca07a8e42da7.tar.bz2 |
Conceal ugly code behing macro.
-rw-r--r-- | gas/ChangeLog | 8 | ||||
-rw-r--r-- | gas/config/obj-coff.h | 8 |
2 files changed, 15 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 5f8a127..501bc96 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,11 @@ +Tue Jun 23 13:54:57 1998 Nick Clifton <nickc@cygnus.com> + + * config/obj-coff.h (SYM_AUXINFO): New macro to conceal ugly + code. + + * config/obj-coff.c (c_symbol_merge): Replace complex expresion + with call to macro SYM_AUXINFO. + Tue Jun 23 15:09:27 1998 Mike Stump <mrs@wrs.com> * Makefile.am (install-exec-local): Don't let EXEEXT interfere diff --git a/gas/config/obj-coff.h b/gas/config/obj-coff.h index 0148c63..351fdb4 100644 --- a/gas/config/obj-coff.h +++ b/gas/config/obj-coff.h @@ -1,5 +1,5 @@ /* coff object file format - Copyright (C) 1989, 90, 91, 92, 94, 95, 96, 1997 + Copyright (C) 1989, 90, 91, 92, 94, 95, 96, 97, 1998 Free Software Foundation, Inc. This file is part of GAS. @@ -127,6 +127,11 @@ #define TARGET_FORMAT "coff-w65" #endif +#ifdef TC_TIC30 +#include "coff/tic30.h" +#define TARGET_FORMAT "coff-tic30" +#endif + /* start-sanitize-tic80 */ #ifdef TC_TIC80 #include "coff/tic80.h" @@ -209,6 +214,7 @@ extern void coff_obj_read_begin_hook PARAMS ((void)); #define sy_obj sy_flags #define SYM_AUXENT(S) (&coffsymbol ((S)->bsym)->native[1].u.auxent) +#define SYM_AUXINFO(S) (&coffsymbol ((S)->bsym)->native[1]) #define DO_NOT_STRIP 0 |