[coreboot-gerrit] New patch to review for coreboot: 5d09fb1 rmodule: add subsections to linker script
Aaron Durbin (adurbin@google.com)
gerrit at coreboot.org
Tue Mar 25 20:55:01 CET 2014
Aaron Durbin (adurbin at google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5407
-gerrit
commit 5d09fb184df70f05cd028bf3aef68ea10b9e25f9
Author: Aaron Durbin <adurbin at chromium.org>
Date: Tue Mar 25 14:53:28 2014 -0500
rmodule: add subsections to linker script
Depending on the compiler options, subsections of the form
of .section.subsection could be generated. Therefore, include
those subsections for .bss, .sbss, and .data.
Change-Id: I80dd64d8c62e7bc449ee2bbc0a22a941777e2ea6
Signed-off-by: Aaron Durbin <adurbin at chromium.org>
---
src/lib/rmodule.ld | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/lib/rmodule.ld b/src/lib/rmodule.ld
index 9222f3b..401f65f 100644
--- a/src/lib/rmodule.ld
+++ b/src/lib/rmodule.ld
@@ -66,6 +66,7 @@ SECTIONS
/* Data section. */
_sdata = .;
*(.data);
+ *(.data.*);
. = ALIGN(4);
_edata = .;
@@ -76,7 +77,9 @@ SECTIONS
/* C uninitialized data of the module. */
_bss = .;
*(.bss);
- *(.sbss);
+ *(.bss.*)
+ *(.sbss)
+ *(.sbss.*)
*(COMMON);
. = ALIGN(8);
_ebss = .;
More information about the coreboot-gerrit
mailing list