[coreboot-gerrit] New patch to review for coreboot: 8ea17e5 src/lib/rmodule.ld: DISCARD (.note|.note.*) sections

Edward O'Callaghan (eocallaghan@alterapraxis.com) gerrit at coreboot.org
Wed Nov 12 01:58:43 CET 2014


Edward O'Callaghan (eocallaghan at alterapraxis.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/7439

-gerrit

commit 8ea17e5483dd2275922dc581df537bc872c4fef9
Author: Edward O'Callaghan <eocallaghan at alterapraxis.com>
Date:   Wed Nov 12 11:52:56 2014 +1100

    src/lib/rmodule.ld: DISCARD (.note|.note.*) sections
    
    We have no need for these sections winding up in the build
    leading to possible overlaps, such as in the case of Clang
    builds. Discard sections from inclusion into the resulting
    binary.
    
    Change-Id: Ie807e5809594dcc6e94660a64e359e3b2ca1a0f6
    Signed-off-by: Edward O'Callaghan <eocallaghan at alterapraxis.com>
---
 src/lib/rmodule.ld | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/lib/rmodule.ld b/src/lib/rmodule.ld
index 06458de..f3e7cba 100644
--- a/src/lib/rmodule.ld
+++ b/src/lib/rmodule.ld
@@ -97,5 +97,7 @@ SECTIONS
 	/DISCARD/ : {
 		/* Drop unnecessary sections. */
 		*(.eh_frame);
+		*(.note);
+		*(.note.*);
 	}
 }



More information about the coreboot-gerrit mailing list