diff --git a/Makefile.system b/Makefile.system index a69aa0464..58d53e34e 100644 --- a/Makefile.system +++ b/Makefile.system @@ -526,11 +526,11 @@ else FCOMMON_OPT += -n64 endif ifeq ($(CORE), LOONGSON3A) -FCOMMON_OPT += -loongson3 +FCOMMON_OPT += -loongson3 -static endif ifeq ($(CORE), LOONGSON3B) -FCOMMON_OPT += -loongson3 +FCOMMON_OPT += -loongson3 -static endif else @@ -556,11 +556,11 @@ else CCOMMON_OPT += -n64 endif ifeq ($(CORE), LOONGSON3A) -CCOMMON_OPT += -loongson3 +CCOMMON_OPT += -loongson3 -static endif ifeq ($(CORE), LOONGSON3B) -CCOMMON_OPT += -loongson3 +CCOMMON_OPT += -loongson3 -static endif else diff --git a/common_mips64.h b/common_mips64.h index 85348377e..1bee69407 100644 --- a/common_mips64.h +++ b/common_mips64.h @@ -255,8 +255,8 @@ REALNAME: ;\ #endif #if defined(LOONGSON3B) -#define PAGESIZE (32UL << 10) -#define FIXED_PAGESIZE (32UL << 10) +#define PAGESIZE (16UL << 10) +#define FIXED_PAGESIZE (16UL << 10) #endif #ifndef PAGESIZE