diff options
Diffstat (limited to 'sys/arch/loongson/conf/Makefile.loongson')
-rw-r--r-- | sys/arch/loongson/conf/Makefile.loongson | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/loongson/conf/Makefile.loongson b/sys/arch/loongson/conf/Makefile.loongson index d9c191ef474..449c099c0b2 100644 --- a/sys/arch/loongson/conf/Makefile.loongson +++ b/sys/arch/loongson/conf/Makefile.loongson @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.loongson,v 1.71 2018/09/14 13:49:01 naddy Exp $ +# $OpenBSD: Makefile.loongson,v 1.72 2018/10/31 10:15:47 kettenis Exp $ # For instructions on building kernels consult the config(8) and options(4) # manual pages. @@ -121,7 +121,7 @@ ld.script: ${_machdir}/conf/ld.script cp ${_machdir}/conf/ld.script $@ gapdummy.o: - echo 'const char gapdummy;' > gapdummy.c + echo '__asm(".section .rodata,\"a\"");' > gapdummy.c ${CC} -c ${CFLAGS} ${CPPFLAGS} gapdummy.c -o $@ makegap.sh: |