Message ID | 1276873407.2850.35.camel@mulgrave.site (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
diff --git a/arch/parisc/Makefile b/arch/parisc/Makefile index 55cca1d..ab88f11 100644 --- a/arch/parisc/Makefile +++ b/arch/parisc/Makefile @@ -21,6 +21,7 @@ KBUILD_DEFCONFIG := default_defconfig NM = sh $(srctree)/arch/parisc/nm CHECKFLAGS += -D__hppa__=1 +LDFLAGS_MODULE += -T $(srctree)/arch/parisc/kernel/module.lds MACHINE := $(shell uname -m) ifeq ($(MACHINE),parisc*) diff --git a/arch/parisc/kernel/module.lds b/arch/parisc/kernel/module.lds new file mode 100644 index 0000000..42ee3eb --- /dev/null +++ b/arch/parisc/kernel/module.lds @@ -0,0 +1,6 @@ +SECTIONS { + .text : { + /* Gather all function sections */ + *(.text.*) + } +}