Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Feb 2007 21:50:56 GMT
From:      Oleksandr Tymoshenko <gonzo@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 113866 for review
Message-ID:  <200702012150.l11LouJZ037429@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=113866

Change 113866 by gonzo@gonzo_jeeves on 2007/02/01 21:50:04

	o Get rid of small data and small bss sections by specifying -G0.

Affected files ...

.. //depot/projects/mips2/src/sys/conf/Makefile.mips#10 edit

Differences ...

==== //depot/projects/mips2/src/sys/conf/Makefile.mips#10 (text+ko) ====

@@ -47,8 +47,8 @@
 
 # We add the -fno-pic flag to kernels because otherwise performance
 # is extremely poor, as well as -mno-abicalls to force no ABI usage.
-CFLAGS+=-fno-pic -mno-abicalls $(ARCH_FLAGS)
-HACK_EXTRA_FLAGS+=-fno-pic -mno-abicalls $(ARCH_FLAGS)
+CFLAGS+=-fno-pic -mno-abicalls -G0 $(ARCH_FLAGS)
+HACK_EXTRA_FLAGS+=-fno-pic -mno-abicalls -G0 $(ARCH_FLAGS)
 
 # XXX hardcoded kernel entry point
 ASM_FLAGS+=${CFLAGS} -D_LOCORE -DLOCORE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702012150.l11LouJZ037429>