projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
linker script: throw away .discard section
[cascardo/linux.git]
/
scripts
/
module-common.lds
diff --git a/scripts/module-common.lds
b/scripts/module-common.lds
new file mode 100644
(file)
index 0000000..
47a1f9a
--- /dev/null
+++ b/
scripts/module-common.lds
@@ -0,0
+1,8
@@
+/*
+ * Common module linker script, always used when linking a module.
+ * Archs are free to supply their own linker scripts. ld will
+ * combine them automatically.
+ */
+SECTIONS {
+ /DISCARD/ : { *(.discard) }
+}