Messages in this thread Patch in this message | ![/](/images/icornerl.gif) | | Subject | [PATCH] Prevent .gnu.linkonce.this_module section from being merged with other sections | Date | Thu, 9 Jan 2003 18:49:23 +0900 (JST) | From | (Miles Bader) |
| |
As I mentioned in an earlier email, this is necessary on the v850 because the default -r linker-script merges .gnu.linkonce.t* into the .text output section. I don't think it will hurt any other platforms.
diff -ruN -X../cludes linux-2.5.55-moo.orig/Makefile linux-2.5.55-moo/Makefile --- linux-2.5.55-moo.orig/Makefile 2003-01-09 14:03:45.000000000 +0900 +++ linux-2.5.55-moo/Makefile 2003-01-09 14:07:36.000000000 +0900 @@ -163,7 +164,7 @@ MODFLAGS = -DMODULE CFLAGS_MODULE = $(MODFLAGS) AFLAGS_MODULE = $(MODFLAGS) -LDFLAGS_MODULE = -r +LDFLAGS_MODULE = -r --unique=.gnu.linkonce.this_module CFLAGS_KERNEL = AFLAGS_KERNEL = - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |