diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-12-01 18:15:41 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-12-01 18:15:41 +0000 |
commit | 367fc3ca45c48bc977ba7575008cb8776cc347b5 (patch) | |
tree | 7f29c802d7de7e6ea0169bb42969ded38b35415e | |
parent | b2e9037d31163560b17c6932e39cff025d793725 (diff) |
Move <sgidefs.h> to <asm/gcc/sgidefs.h>.
-rw-r--r-- | arch/mips/Makefile | 2 | ||||
-rw-r--r-- | arch/mips64/Makefile | 1 | ||||
-rw-r--r-- | include/asm-mips/gcc/sgidefs.h (renamed from include/sgidefs.h) | 0 | ||||
-rw-r--r-- | include/asm-mips64/gcc/sgidefs.h | 17 |
4 files changed, 19 insertions, 1 deletions
diff --git a/arch/mips/Makefile b/arch/mips/Makefile index ca802dba9..e789ac01e 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile @@ -90,7 +90,7 @@ endif # GCCFLAGS += -pipe -CFLAGS += $(GCCFLAGS) +CFLAGS := -I $(TOPDIR)/include/asm/gcc $(CFLAGS) $(GCCFLAGS) AFLAGS += $(GCCFLAGS) # diff --git a/arch/mips64/Makefile b/arch/mips64/Makefile index 17bc0974e..ecc4a3a46 100644 --- a/arch/mips64/Makefile +++ b/arch/mips64/Makefile @@ -33,6 +33,7 @@ endif # machines may also. Since BFD is incredibly buggy with respect to # crossformat linking we rely on the elf2ecoff tool for format conversion. # +CFLAGS += $(TOPDIR)/include/asm/gcc $(CFLAGS) CFLAGS += -mabi=64 -G 0 -mno-abicalls -fno-pic -Wa,--trap -pipe LINKFLAGS += -G 0 -static # -N MODFLAGS += -mlong-calls diff --git a/include/sgidefs.h b/include/asm-mips/gcc/sgidefs.h index 05994371a..05994371a 100644 --- a/include/sgidefs.h +++ b/include/asm-mips/gcc/sgidefs.h diff --git a/include/asm-mips64/gcc/sgidefs.h b/include/asm-mips64/gcc/sgidefs.h new file mode 100644 index 000000000..05994371a --- /dev/null +++ b/include/asm-mips64/gcc/sgidefs.h @@ -0,0 +1,17 @@ +/* + * include/sgidefs.h + * + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + * + * Copyright (C) 1996 by Ralf Baechle + * + * This file is here to satisfy GCC's expectations. + */ +#ifndef __SGIDEFS_H +#define __SGIDEFS_H + +#include <asm/sgidefs.h> + +#endif /* __SGIDEFS_H */ |