Fix N_WARNING symbol botch.

This commit is contained in:
pk 1994-06-24 13:35:04 +00:00
parent 6f591a0e01
commit 52cb3eb56c
3 changed files with 19 additions and 19 deletions

View File

@ -44,21 +44,22 @@ const short seg_N_TYPE[] = {
};
const segT N_TYPE_seg[N_TYPE+2] = { /* N_TYPE == 0x1E = 32-2 */
SEG_UNKNOWN, /* N_UNDF == 0 */
SEG_GOOF,
SEG_ABSOLUTE, /* N_ABS == 2 */
SEG_GOOF,
SEG_TEXT, /* N_TEXT == 4 */
SEG_GOOF,
SEG_DATA, /* N_DATA == 6 */
SEG_GOOF,
SEG_BSS, /* N_BSS == 8 */
SEG_GOOF,
SEG_GOOF, SEG_GOOF, SEG_GOOF, SEG_GOOF, SEG_GOOF, SEG_GOOF, SEG_GOOF, SEG_GOOF,
SEG_GOOF, SEG_GOOF, SEG_GOOF, SEG_GOOF, SEG_GOOF, SEG_GOOF, SEG_GOOF, SEG_GOOF,
SEG_GOOF, SEG_GOOF, SEG_GOOF, SEG_GOOF,
SEG_REGISTER, /* dummy N_REGISTER for regs = 30 */
SEG_GOOF,
SEG_UNKNOWN, SEG_GOOF, /* N_UNDF == 0 */
SEG_ABSOLUTE, SEG_GOOF, /* N_ABS == 2 */
SEG_TEXT, SEG_GOOF, /* N_TEXT == 4 */
SEG_DATA, SEG_GOOF, /* N_DATA == 6 */
SEG_BSS, SEG_GOOF, /* N_BSS == 8 */
SEG_GOOF, SEG_GOOF, /* N_INDR == 0xa */
SEG_GOOF, SEG_GOOF, /* 0xc */
SEG_GOOF, SEG_GOOF, /* 0xe */
SEG_GOOF, SEG_GOOF, /* 0x10 */
SEG_REGISTER, SEG_GOOF, /* 0x12 (dummy N_REGISTER) */
SEG_GOOF, SEG_GOOF, /* N_SETA == 0x14 */
SEG_GOOF, SEG_GOOF, /* N_SETT == 0x16 */
SEG_GOOF, SEG_GOOF, /* N_SETD == 0x18 */
SEG_GOOF, SEG_GOOF, /* N_SETB == 0x1a */
SEG_GOOF, SEG_GOOF, /* N_SETV == 0x1c */
SEG_GOOF, SEG_GOOF, /* N_WARNING == 0x1e */
};
#if __STDC__ == 1

View File

@ -17,7 +17,7 @@
License along with GAS; see the file COPYING. If not, write
to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
$Id: obj-aout.h,v 1.3 1994/06/22 15:14:30 pk Exp $
$Id: obj-aout.h,v 1.4 1994/06/24 13:35:22 pk Exp $
*/
@ -42,6 +42,7 @@
extern const short seg_N_TYPE[];
extern const segT N_TYPE_seg[];
#define N_REGISTER 0x12 /* Fake register type */
#ifndef DEFAULT_MAGIC_NUMBER_FOR_OBJECT_FILE
#define DEFAULT_MAGIC_NUMBER_FOR_OBJECT_FILE (OMAGIC)

View File

@ -17,7 +17,7 @@
along with GAS; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/*
* $Id: struc-symbol.h,v 1.5 1993/11/20 22:20:54 pk Exp $
* $Id: struc-symbol.h,v 1.6 1994/06/24 13:35:04 pk Exp $
*/
@ -85,8 +85,6 @@ extern struct broken_word *broken_words;
#define SEGMENT_TO_SYMBOL_TYPE(seg) (seg_N_TYPE[(int) (seg)])
extern const short seg_N_TYPE[]; /* subseg.c */
#define N_REGISTER 30 /* Fake N_TYPE value for SEG_REGISTER */
#ifdef SYMBOLS_NEED_BACKPOINTERS
#if __STDC__ == 1