git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
linker script: unify usage of discard definition
[pandora-kernel.git]
/
arch
/
x86
/
kernel
/
vmlinux.lds.S
diff --git
a/arch/x86/kernel/vmlinux.lds.S
b/arch/x86/kernel/vmlinux.lds.S
index
367e878
..
b600c84
100644
(file)
--- a/
arch/x86/kernel/vmlinux.lds.S
+++ b/
arch/x86/kernel/vmlinux.lds.S
@@
-387,15
+387,12
@@
SECTIONS
_end = .;
}
- /* Sections to be discarded */
- /DISCARD/ : {
- *(.exitcall.exit)
- *(.eh_frame)
- *(.discard)
- }
-
STABS_DEBUG
DWARF_DEBUG
+
+ /* Sections to be discarded */
+ DISCARDS
+ /DISCARD/ : { *(.eh_frame) }
}