lm32 port and gcc 4.3

Michael Walle michael at walle.cc
Sat Feb 21 00:35:23 UTC 2009


Hi,

could you please add the following patch to
rtems/c/src/lib/libbsp/lm32/lm32_evr/startup/linkcmds

--- linkcmd.orig	2009-02-21 01:26:20.000000000 +0100
+++ linkcmd	2009-02-21 01:27:08.000000000 +0100
@@ -142,7 +142,10 @@
   } > sdram
   .data1   : { *(.data1) }	> sdram
   PROVIDE (__EXCEPT_START__ = .);
-  .gcc_except_table   : { *(.gcc_except_table) } > sdram
+  .gcc_except_table   : {
+    *(.gcc_except_table)
+    *(.gcc_except_table.*)
+  } > sdram
   PROVIDE (__EXCEPT_END__ = .);
   .got1           : { *(.got1) }	> sdram
   /* Put .ctors and .dtors next to the .got2 section, so that the pointers

Since gcc 4.3 (?) there are new section names like
  .gcc_except_table.<some uniqe string>
for the exception handling.

-- 
Michael

---
Don't cry because it is over, smile because it happened.



More information about the users mailing list