This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Hoernchen gerrit-no-reply at lists.osmocom.orgHoernchen has uploaded this change for review. ( https://gerrit.osmocom.org/c/simtrace2/+/25848 )
Change subject: drop unused exidx sections when linking
......................................................................
drop unused exidx sections when linking
clang might emit those even though they are neither needed or wanted,
so just get rid of them.
Change-Id: I159b4405cebe72af4d98b27f876c48835ffd6e2d
---
M firmware/libboard/common/resources/sam3s4/dfu.ld
M firmware/libboard/common/resources/sam3s4/flash.ld
2 files changed, 6 insertions(+), 12 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/simtrace2 refs/changes/48/25848/1
diff --git a/firmware/libboard/common/resources/sam3s4/dfu.ld b/firmware/libboard/common/resources/sam3s4/dfu.ld
index a485770..db747fa 100644
--- a/firmware/libboard/common/resources/sam3s4/dfu.ld
+++ b/firmware/libboard/common/resources/sam3s4/dfu.ld
@@ -96,13 +96,10 @@
_efixed = .; /* End of text section */
} > rom
- /* .ARM.exidx is sorted, so has to go in its own output section. */
- PROVIDE_HIDDEN (__exidx_start = .);
- .ARM.exidx :
+ /DISCARD/ :
{
- *(.ARM.exidx* .gnu.linkonce.armexidx.*)
- } > rom
- PROVIDE_HIDDEN (__exidx_end = .);
+ *(.ARM.exidx)
+ }
. = ALIGN(4);
_etext = .;
diff --git a/firmware/libboard/common/resources/sam3s4/flash.ld b/firmware/libboard/common/resources/sam3s4/flash.ld
index f5cdbfd..50631c6 100644
--- a/firmware/libboard/common/resources/sam3s4/flash.ld
+++ b/firmware/libboard/common/resources/sam3s4/flash.ld
@@ -94,13 +94,10 @@
_efixed = .; /* End of text section */
} > rom
- /* .ARM.exidx is sorted, so has to go in its own output section. */
- PROVIDE_HIDDEN (__exidx_start = .);
- .ARM.exidx :
+ /DISCARD/ :
{
- *(.ARM.exidx* .gnu.linkonce.armexidx.*)
- } > rom
- PROVIDE_HIDDEN (__exidx_end = .);
+ *(.ARM.exidx)
+ }
. = ALIGN(4);
_etext = .;
--
To view, visit https://gerrit.osmocom.org/c/simtrace2/+/25848
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: simtrace2
Gerrit-Branch: master
Gerrit-Change-Id: I159b4405cebe72af4d98b27f876c48835ffd6e2d
Gerrit-Change-Number: 25848
Gerrit-PatchSet: 1
Gerrit-Owner: Hoernchen <ewild at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211020/28762546/attachment.htm>