diff packages/hal/mn10300/am33/current/src/mn10300_am33.ld @ 779:477c019aaed5

Merge debug info linker script changes from trunk
author bartv
date Wed, 26 Mar 2003 16:14:11 +0000
parents 63d0c56d82e8
children db69ea2c9293
line wrap: on
line diff
--- a/packages/hal/mn10300/am33/current/src/mn10300_am33.ld
+++ b/packages/hal/mn10300/am33/current/src/mn10300_am33.ld
@@ -7,6 +7,7 @@
 //####ECOSGPLCOPYRIGHTBEGIN####
 // -------------------------------------------
 // This file is part of eCos, the Embedded Configurable Operating System.
+// Copyright (C) 2003 Bart Veer
 // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
 //
 // eCos is free software; you can redistribute it and/or modify it under
@@ -120,7 +121,31 @@ GROUP(libtarget.a libgcc.a)
     __bss_end = ABSOLUTE (.); } \
     > _region_
 
-#define SECTIONS_END . = ALIGN(4); _end = .; PROVIDE (end = .);
+#define SECTIONS_END . = ALIGN(4); _end = .; PROVIDE (end = .);	\
+  .stab 0 : { *(.stab) }			\
+  .stabstr 0 : { *(.stabstr) }			\
+  .stab.excl 0 : { *(.stab.excl) }		\
+  .stab.exclstr 0 : { *(.stab.exclstr) }	\
+  .stab.index 0 : { *(.stab.index) }		\
+  .stab.indexstr 0 : { *(.stab.indexstr) }	\
+  .comment 0 : { *(.comment) }			\
+  .debug          0 : { *(.debug) }		\
+  .line           0 : { *(.line) }		\
+  .debug_srcinfo  0 : { *(.debug_srcinfo) }	\
+  .debug_sfnames  0 : { *(.debug_sfnames) }	\
+  .debug_aranges  0 : { *(.debug_aranges) }	\
+  .debug_pubnames 0 : { *(.debug_pubnames) }	\
+  .debug_info     0 : { *(.debug_info) }	\
+  .debug_abbrev   0 : { *(.debug_abbrev) }	\
+  .debug_line     0 : { *(.debug_line) }	\
+  .debug_frame    0 : { *(.debug_frame) }	\
+  .debug_str      0 : { *(.debug_str) }		\
+  .debug_loc      0 : { *(.debug_loc) }		\
+  .debug_macinfo  0 : { *(.debug_macinfo) }	\
+  .debug_weaknames 0 : { *(.debug_weaknames) }	\
+  .debug_funcnames 0 : { *(.debug_funcnames) }	\
+  .debug_typenames 0 : { *(.debug_typenames) }	\
+  .debug_varnames  0 : { *(.debug_varnames) }
 
 #include CYGHWR_MEMORY_LAYOUT_LDI