PERFORCE change 113866 for review

Oleksandr Tymoshenko gonzo at FreeBSD.org
Thu Feb 1 21:50:57 UTC 2007


http://perforce.freebsd.org/chv.cgi?CH=113866

Change 113866 by gonzo at 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


More information about the p4-projects mailing list