From dd370d33f3003154c5499854e90fd1538530c504 Mon Sep 17 00:00:00 2001 From: Vladimir 'phcoder' Serbinenko Date: Mon, 14 Dec 2009 00:16:23 +0100 Subject: [PATCH] 2009-12-13 Vladimir Serbinenko Prevent generation of .note.gnu.build-id which drastically increases memory requirements of example kernel. * docs/Makefile.am (kernel_LDFLAGS): Add '-Wl,--build-id=none'. --- ChangeLog | 7 +++++++ docs/Makefile.am | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 1c6ab694d..7781d42da 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-12-13 Vladimir Serbinenko + + Prevent generation of .note.gnu.build-id which drastically increases + memory requirements of example kernel. + + * docs/Makefile.am (kernel_LDFLAGS): Add '-Wl,--build-id=none'. + 2009-12-13 Vladimir Serbinenko * BUGS: New file. diff --git a/docs/Makefile.am b/docs/Makefile.am index ab09efe5a..cb21b5b61 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -11,7 +11,7 @@ noinst_PROGRAMS = kernel kernel_SOURCES = $(EXAMPLES) kernel_CFLAGS = -fno-builtin -nostdinc -O -g -Wall \ -imacros $(top_builddir)/config.h -kernel_LDFLAGS = -nostdlib -Wl,-N -Wl,-Ttext -Wl,100000 +kernel_LDFLAGS = -nostdlib -Wl,-N -Wl,-Ttext -Wl,100000 -Wl,--build-id=none boot.o: multiboot.h endif