# HG changeset patch # User bartv # Date 1048695251 0 # Node ID 477c019aaed5c6ad7fc72a7937f61bb430320294 # Parent 45be05d8085f86fcd7b88df2693d97f43baba4a8 Merge debug info linker script changes from trunk diff --git a/packages/hal/mn10300/am31/current/ChangeLog b/packages/hal/mn10300/am31/current/ChangeLog --- a/packages/hal/mn10300/am31/current/ChangeLog +++ b/packages/hal/mn10300/am31/current/ChangeLog @@ -1,3 +1,8 @@ +2003-03-14 Bart Veer + + * src/mn10300_am31.ld: add entries for debug sections, needed by + current tools + 2002-05-21 Jesper Skov * include/var_cache.h (HAL_DCACHE_STORE): Fix warning. diff --git a/packages/hal/mn10300/am31/current/src/mn10300_am31.ld b/packages/hal/mn10300/am31/current/src/mn10300_am31.ld --- a/packages/hal/mn10300/am31/current/src/mn10300_am31.ld +++ b/packages/hal/mn10300/am31/current/src/mn10300_am31.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 diff --git a/packages/hal/mn10300/am33/current/ChangeLog b/packages/hal/mn10300/am33/current/ChangeLog --- a/packages/hal/mn10300/am33/current/ChangeLog +++ b/packages/hal/mn10300/am33/current/ChangeLog @@ -1,3 +1,8 @@ +2003-03-14 Bart Veer + + * src/mn10300_am33.ld: add entries for debug sections, needed by + current tools + 2002-12-06 Mark Salter * src/var_misc.c (hal_mn10300_mem_real_region_top): New function. diff --git a/packages/hal/mn10300/am33/current/src/mn10300_am33.ld b/packages/hal/mn10300/am33/current/src/mn10300_am33.ld --- 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