mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-18 10:49:41 +08:00
mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
2000-02-22 Andrew Haley <aph@cygnus.com> * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas. (SIZE_TYPE): Is 32 bits when using -mgp32. (PTRDIFF_TYPE): Ditto. From-SVN: r32113
This commit is contained in:
parent
4eda9c6582
commit
699729979c
@ -1,3 +1,9 @@
|
||||
2000-02-22 Andrew Haley <aph@cygnus.com>
|
||||
|
||||
* config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
|
||||
(SIZE_TYPE): Is 32 bits when using -mgp32.
|
||||
(PTRDIFF_TYPE): Ditto.
|
||||
|
||||
Wed Feb 23 07:26:27 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
|
||||
|
||||
* diagnostic.c (init_output_buffer): Handle case of null PREFIX.
|
||||
|
@ -773,7 +773,7 @@ while (0)
|
||||
/* GAS_ASM_SPEC is passed when using gas, rather than the MIPS
|
||||
assembler. */
|
||||
|
||||
#define GAS_ASM_SPEC "%{mcpu=*} %{m4650} %{mmad:-m4650} %{m3900} %{v}"
|
||||
#define GAS_ASM_SPEC "%{mcpu=*} %{m4650} %{mmad:-m4650} %{m3900} %{v} %{mgp32} %{mgp64}"
|
||||
|
||||
/* TARGET_ASM_SPEC is used to select either MIPS_AS_ASM_SPEC or
|
||||
GAS_ASM_SPEC as the default, depending upon the value of
|
||||
@ -4659,12 +4659,14 @@ while (0)
|
||||
|
||||
#ifndef SIZE_TYPE
|
||||
#define NO_BUILTIN_SIZE_TYPE
|
||||
#define SIZE_TYPE (Pmode == DImode ? "long unsigned int" : "unsigned int")
|
||||
#define SIZE_TYPE (Pmode == DImode || !TARGET_64BIT \
|
||||
? "long unsigned int" : "unsigned int")
|
||||
#endif
|
||||
|
||||
#ifndef PTRDIFF_TYPE
|
||||
#define NO_BUILTIN_PTRDIFF_TYPE
|
||||
#define PTRDIFF_TYPE (Pmode == DImode ? "long int" : "int")
|
||||
#define PTRDIFF_TYPE (Pmode == DImode || !TARGET_64BIT \
|
||||
? "long int" : "int")
|
||||
#endif
|
||||
|
||||
/* See mips_expand_prologue's use of loadgp for when this should be
|
||||
|
Loading…
Reference in New Issue
Block a user