projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
RISCV: configs: tizen_visionfive2: Enable USB_CONFIGFS_ACM
[platform/kernel/linux-starfive.git]
/
scripts
/
module.lds.S
diff --git
a/scripts/module.lds.S
b/scripts/module.lds.S
index
da4bddd
..
bf5bcf2
100644
(file)
--- a/
scripts/module.lds.S
+++ b/
scripts/module.lds.S
@@
-3,6
+3,12
@@
* Archs are free to supply their own linker scripts. ld will
* combine them automatically.
*/
+#ifdef CONFIG_UNWIND_TABLES
+#define DISCARD_EH_FRAME
+#else
+#define DISCARD_EH_FRAME *(.eh_frame)
+#endif
+
SECTIONS {
/DISCARD/ : {
*(.discard)