Conceal ugly code behing macro.

This commit is contained in:
Nick Clifton 1998-06-23 20:56:19 +00:00
parent 8392754096
commit 7699bb0ba2
2 changed files with 15 additions and 1 deletions

View file

@ -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> Tue Jun 23 15:09:27 1998 Mike Stump <mrs@wrs.com>
* Makefile.am (install-exec-local): Don't let EXEEXT interfere * Makefile.am (install-exec-local): Don't let EXEEXT interfere

View file

@ -1,5 +1,5 @@
/* coff object file format /* 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. Free Software Foundation, Inc.
This file is part of GAS. This file is part of GAS.
@ -127,6 +127,11 @@
#define TARGET_FORMAT "coff-w65" #define TARGET_FORMAT "coff-w65"
#endif #endif
#ifdef TC_TIC30
#include "coff/tic30.h"
#define TARGET_FORMAT "coff-tic30"
#endif
/* start-sanitize-tic80 */ /* start-sanitize-tic80 */
#ifdef TC_TIC80 #ifdef TC_TIC80
#include "coff/tic80.h" #include "coff/tic80.h"
@ -209,6 +214,7 @@ extern void coff_obj_read_begin_hook PARAMS ((void));
#define sy_obj sy_flags #define sy_obj sy_flags
#define SYM_AUXENT(S) (&coffsymbol ((S)->bsym)->native[1].u.auxent) #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 #define DO_NOT_STRIP 0