diff options
author | gonzo <gonzo@FreeBSD.org> | 2012-03-15 05:29:51 +0000 |
---|---|---|
committer | gonzo <gonzo@FreeBSD.org> | 2012-03-15 05:29:51 +0000 |
commit | 2a1b02c38986e95f47315ac6e0d2334ce2d6addf (patch) | |
tree | e2b2a934e81167d570f4763b947edb32ee8ee12a /sys/conf/Makefile.mips | |
parent | 9be115302d79f2ba9bf63e3aba1c82d4130492d5 (diff) | |
download | FreeBSD-src-2a1b02c38986e95f47315ac6e0d2334ce2d6addf.zip FreeBSD-src-2a1b02c38986e95f47315ac6e0d2334ce2d6addf.tar.gz |
Fill out fake preload structure to let userland tools like pmc(3) know
about kernel module base address and actual size
Diffstat (limited to 'sys/conf/Makefile.mips')
-rw-r--r-- | sys/conf/Makefile.mips | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/conf/Makefile.mips b/sys/conf/Makefile.mips index c50f9c2..69eea9e 100644 --- a/sys/conf/Makefile.mips +++ b/sys/conf/Makefile.mips @@ -44,7 +44,7 @@ MKMODULESENV+= MACHINE=${MACHINE} MACHINE_ARCH=${MACHINE_ARCH} # We default to the MIPS32 ISA, if none specified in the # kernel configuration file. ARCH_FLAGS?=-march=mips32 -EXTRA_FLAGS=-fno-pic -mno-abicalls -G0 +EXTRA_FLAGS=-fno-pic -mno-abicalls -G0 -DKERNLOADADDR=${KERNLOADADDR} HACK_EXTRA_FLAGS=-shared |