1999-05-03 07:29:11 +00:00
|
|
|
/* This file is obj-ieee.h
|
2003-01-23 12:51:05 +00:00
|
|
|
Copyright 1987, 1988, 1989, 1990, 1991, 1992, 2000, 2002, 2003
|
2001-03-08 23:24:26 +00:00
|
|
|
Free Software Foundation, Inc.
|
1999-05-03 07:29:11 +00:00
|
|
|
|
|
|
|
This file is part of GAS, the GNU Assembler.
|
|
|
|
|
|
|
|
GAS is free software; you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation; either version 2, or (at your option)
|
|
|
|
any later version.
|
|
|
|
|
|
|
|
GAS is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
2000-09-14 11:48:26 +00:00
|
|
|
along with GAS; see the file COPYING. If not, write to the Free
|
2005-05-05 09:13:19 +00:00
|
|
|
Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
|
|
|
|
02110-1301, USA. */
|
1999-05-03 07:29:11 +00:00
|
|
|
|
|
|
|
#define BFD 1
|
|
|
|
|
2000-05-02 00:12:52 +00:00
|
|
|
#include "bfd.h"
|
1999-05-03 07:29:11 +00:00
|
|
|
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
asymbol sy;
|
|
|
|
int seg;
|
|
|
|
}
|
|
|
|
obj_symbol_type;
|
|
|
|
|
|
|
|
#define S_GET_NAME(s) (((s)->sy_symbol.sy.name))
|
|
|
|
|
2002-09-05 00:01:18 +00:00
|
|
|
/* Return true for symbols that should not be reduced to section
|
|
|
|
symbols or eliminated from expressions, because they may be
|
|
|
|
overridden by the linker. */
|
2003-01-23 12:51:05 +00:00
|
|
|
#define S_FORCE_RELOC(s, strict) (!SEG_NORMAL (x->sy_symbol.seg))
|
2002-09-05 00:01:18 +00:00
|
|
|
|
1999-05-03 07:29:11 +00:00
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
int x;
|
|
|
|
}
|
|
|
|
object_headers;
|
|
|
|
|
|
|
|
#define DEFAULT_MAGIC_NUMBER_FOR_OBJECT_FILE 1
|
|
|
|
|
|
|
|
int lineno_rootP;
|
|
|
|
|
|
|
|
#define IEEE_STYLE
|