public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [RFC PATCH] arm: lds: Remove libgcc eabi exception handling tables
@ 2013-05-09  9:35 Michal Simek
  2013-05-10 19:07 ` Albert ARIBAUD
  0 siblings, 1 reply; 5+ messages in thread
From: Michal Simek @ 2013-05-09  9:35 UTC (permalink / raw)
  To: u-boot

Remove ARM eabi exception handling tables (for frame unwinding).
AFAICT, u-boot stubs away the frame unwiding routines, so the tables will
more or less just consume space. It should be OK to remove them.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---
Other options could be to complete u-boot/arch/arm/lib/* so that
libgcc routines with exception handling dont get pulled in. Or
to avoid user code (like the mentioned patch) which causes external
libgcc functions to get pulled in...

---
 arch/arm/cpu/u-boot.lds | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/cpu/u-boot.lds b/arch/arm/cpu/u-boot.lds
index d9bbee3..e139b90 100644
--- a/arch/arm/cpu/u-boot.lds
+++ b/arch/arm/cpu/u-boot.lds
@@ -106,4 +106,6 @@ SECTIONS
 	/DISCARD/ : { *(.plt*) }
 	/DISCARD/ : { *(.interp*) }
 	/DISCARD/ : { *(.gnu*) }
+	/DISCARD/ : { *(.ARM.exidx*) }
+	/DISCARD/ : { *(.gnu.linkonce.armexidx.*) }
 }
--
1.8.2.1

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130509/002a4ae1/attachment.pgp>

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-06-03  6:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-09  9:35 [U-Boot] [RFC PATCH] arm: lds: Remove libgcc eabi exception handling tables Michal Simek
2013-05-10 19:07 ` Albert ARIBAUD
2013-05-13  7:45   ` Michal Simek
2013-05-14 15:44     ` Albert ARIBAUD
2013-06-03  6:40       ` Michal Simek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox