* as.h: Don't define const or volatile.
* flonum.h: Don't define const.
This commit is contained in:
parent
e675c634dd
commit
a5a781751a
3 changed files with 16 additions and 30 deletions
|
@ -1,5 +1,8 @@
|
||||||
Mon Jul 8 14:11:49 1996 Ian Lance Taylor <ian@cygnus.com>
|
Mon Jul 8 14:11:49 1996 Ian Lance Taylor <ian@cygnus.com>
|
||||||
|
|
||||||
|
* as.h: Don't define const or volatile.
|
||||||
|
* flonum.h: Don't define const.
|
||||||
|
|
||||||
* config/tc-m68k.c (tc_gen_reloc): Change the code appropriately
|
* config/tc-m68k.c (tc_gen_reloc): Change the code appropriately
|
||||||
if fx_pcrel is set. Correct setting the addend case in the
|
if fx_pcrel is set. Correct setting the addend case in the
|
||||||
OBJ_ELF case (from Andreas Schwab
|
OBJ_ELF case (from Andreas Schwab
|
||||||
|
|
13
gas/as.h
13
gas/as.h
|
@ -189,15 +189,6 @@ extern PTR bfd_alloc_by_size_t PARAMS ((bfd *abfd, size_t sz));
|
||||||
#define __FILE__ "unknown"
|
#define __FILE__ "unknown"
|
||||||
#endif /* __FILE__ */
|
#endif /* __FILE__ */
|
||||||
|
|
||||||
#ifndef __STDC__
|
|
||||||
#ifndef const
|
|
||||||
#define const
|
|
||||||
#endif
|
|
||||||
#ifndef volatile
|
|
||||||
#define volatile
|
|
||||||
#endif
|
|
||||||
#endif /* ! __STDC__ */
|
|
||||||
|
|
||||||
#ifndef FOPEN_WB
|
#ifndef FOPEN_WB
|
||||||
#ifdef GO32
|
#ifdef GO32
|
||||||
#include "fopen-bin.h"
|
#include "fopen-bin.h"
|
||||||
|
@ -446,6 +437,10 @@ struct frag
|
||||||
create a union here. */
|
create a union here. */
|
||||||
char fr_pcrel_adjust, fr_bsr;
|
char fr_pcrel_adjust, fr_bsr;
|
||||||
|
|
||||||
|
/* Where the frag was created, or where it became a variant frag. */
|
||||||
|
char *fr_file;
|
||||||
|
unsigned int fr_line;
|
||||||
|
|
||||||
/* Data begins here. */
|
/* Data begins here. */
|
||||||
char fr_literal[1];
|
char fr_literal[1];
|
||||||
};
|
};
|
||||||
|
|
26
gas/flonum.h
26
gas/flonum.h
|
@ -1,6 +1,6 @@
|
||||||
/* flonum.h - Floating point package
|
/* flonum.h - Floating point package
|
||||||
|
|
||||||
Copyright (C) 1987, 1990, 1991, 1992 Free Software Foundation, Inc.
|
Copyright (C) 1987, 1990, 1991, 1992, 1994 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of GAS, the GNU Assembler.
|
This file is part of GAS, the GNU Assembler.
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with GAS; see the file COPYING. If not, write to
|
along with GAS; see the file COPYING. If not, write to
|
||||||
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
|
the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
/***********************************************************************\
|
/***********************************************************************\
|
||||||
* *
|
* *
|
||||||
|
@ -30,9 +30,6 @@
|
||||||
* please tell me your nomenclature for flonums! *
|
* please tell me your nomenclature for flonums! *
|
||||||
* *
|
* *
|
||||||
\***********************************************************************/
|
\***********************************************************************/
|
||||||
#if (__STDC__ != 1) && !defined(const)
|
|
||||||
#define const /* empty */
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "bignum.h"
|
#include "bignum.h"
|
||||||
|
|
||||||
|
@ -92,23 +89,14 @@ extern const int table_size_of_flonum_powers_of_ten;
|
||||||
* *
|
* *
|
||||||
\***********************************************************************/
|
\***********************************************************************/
|
||||||
|
|
||||||
#if __STDC__ == 1
|
int atof_generic PARAMS ((char **address_of_string_pointer,
|
||||||
|
|
||||||
int atof_generic (char **address_of_string_pointer,
|
|
||||||
const char *string_of_decimal_marks,
|
const char *string_of_decimal_marks,
|
||||||
const char *string_of_decimal_exponent_marks,
|
const char *string_of_decimal_exponent_marks,
|
||||||
FLONUM_TYPE * address_of_generic_floating_point_number);
|
FLONUM_TYPE * address_of_generic_floating_point_number));
|
||||||
|
|
||||||
void flonum_copy (FLONUM_TYPE * in, FLONUM_TYPE * out);
|
void flonum_copy PARAMS ((FLONUM_TYPE * in, FLONUM_TYPE * out));
|
||||||
void flonum_multip (const FLONUM_TYPE * a, const FLONUM_TYPE * b, FLONUM_TYPE * product);
|
void flonum_multip PARAMS ((const FLONUM_TYPE * a, const FLONUM_TYPE * b,
|
||||||
|
FLONUM_TYPE * product));
|
||||||
#else /* not __STDC__ */
|
|
||||||
|
|
||||||
int atof_generic ();
|
|
||||||
void flonum_copy ();
|
|
||||||
void flonum_multip ();
|
|
||||||
|
|
||||||
#endif /* not __STDC__ */
|
|
||||||
|
|
||||||
/***********************************************************************\
|
/***********************************************************************\
|
||||||
* *
|
* *
|
||||||
|
|
Loading…
Reference in a new issue