From 856480e020d1a5a9298fe176aa0ef7944cf0462b Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 12 Apr 2011 23:27:07 +0000 Subject: [PATCH] Remove warning 'sh_link not set for section ARM.exidx' for a few builds git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3496 42af7a65-404d-4744-a932-0658087f49c3 --- TODO | 22 ++----------------- configs/ea3131/usbserial/defconfig | 2 +- configs/ea3131/usbserial/ld.script | 9 ++++---- configs/ea3131/usbstorage/defconfig | 2 +- configs/ea3131/usbstorage/ld.script | 6 ++--- configs/eagle100/httpd/ld.script | 13 ++++++----- configs/eagle100/nettest/ld.script | 13 ++++++----- configs/eagle100/nsh/ld.script | 13 ++++++----- configs/eagle100/nxflat/ld.script | 13 ++++++----- configs/eagle100/ostest/ld.script | 13 ++++++----- configs/eagle100/thttpd/ld.script | 13 ++++++----- configs/lpcxpresso-lpc1768/nsh/ld.script | 11 +++++----- configs/lpcxpresso-lpc1768/ostest/ld.script | 11 +++++----- configs/ntosd-dm320/nettest/ld.script | 9 ++++---- configs/ntosd-dm320/nsh/ld.script | 9 ++++---- configs/ntosd-dm320/ostest/ld.script | 9 ++++---- configs/ntosd-dm320/poll/ld.script | 9 ++++---- configs/ntosd-dm320/thttpd/ld.script | 9 ++++---- configs/ntosd-dm320/udp/ld.script | 9 ++++---- configs/ntosd-dm320/uip/ld.script | 9 ++++---- configs/olimex-lpc2378/nsh/ld.script | 7 +++--- configs/olimex-lpc2378/ostest/ld.script | 6 ++--- configs/stm3210e-eval/nsh/ld.script | 13 ++++++----- configs/stm3210e-eval/nsh/ld.script.dfu | 13 ++++++----- configs/stm3210e-eval/ostest/ld.script | 13 ++++++----- configs/stm3210e-eval/ostest/ld.script.dfu | 13 ++++++----- configs/stm3210e-eval/usbserial/ld.script | 13 ++++++----- configs/stm3210e-eval/usbserial/ld.script.dfu | 13 ++++++----- configs/stm3210e-eval/usbstorage/ld.script | 13 ++++++----- .../stm3210e-eval/usbstorage/ld.script.dfu | 13 ++++++----- 30 files changed, 163 insertions(+), 158 deletions(-) diff --git a/TODO b/TODO index 25a40dc1a5..d404216632 100644 --- a/TODO +++ b/TODO @@ -1,4 +1,4 @@ -NuttX TODO List (Last updated April 2 2011) +NuttX TODO List (Last updated April 12 2011) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ nuttx/ @@ -17,7 +17,7 @@ nuttx/ (2) Graphics subystem (graphics/) (1) Pascal add-on (pcode/) (1) Documentation (Documentation/) - (5) Build system / Toolchains + (4) Build system / Toolchains (7) Linux/Cywgin simulation (arch/sim) (4) ARM (arch/arm/) (1) ARM/C5471 (arch/arm/src/c5471/) @@ -506,24 +506,6 @@ o Build system Status: Open Priority: Low - Decription: Build of NX fails with gcc-4.2.2. When generating C files using - arm-elf-gcc -E, the CPP fails when using -isystem. Works fine with - older compilers. My work around for now is to use an older compiler - for the CPP definition in the configuration Make.defs file, do - make context, restore the original Make.defs, and then make. - Status: Open. This may not be a real issue. I have not seen this - happen lately so it may have nothing to do with GCC. - Priority: High if you are using NX and a newer compiler. - - Description: It has been reported to me that in some environments, the int8_t - type is unsigned (0-255). The uint8_t type is based on type char - and char may or may not be treated as a signed value by your compiler. - Two options: (1) in arch//include//types.h, try typedef'ing - int8_t as 'signed char', (2) for GCC, you should be able to add the - compiler option -fsigned-char to your CFLAGS in Make.defs. - Status: Open - Priority: Medium - o Linux/Cywgin simulation (arch/sim) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/configs/ea3131/usbserial/defconfig b/configs/ea3131/usbserial/defconfig index f5df530024..fcf8d0d038 100755 --- a/configs/ea3131/usbserial/defconfig +++ b/configs/ea3131/usbserial/defconfig @@ -1,7 +1,7 @@ ############################################################################ # configs/ea3131/usbserial/defconfig # -# Copyright (C) 2010 Gregory Nutt. All rights reserved. +# Copyright (C) 2010-2011 Gregory Nutt. All rights reserved. # Author: Gregory Nutt # # Redistribution and use in source and binary forms, with or without diff --git a/configs/ea3131/usbserial/ld.script b/configs/ea3131/usbserial/ld.script index 7ce7bf21c1..1bdc7d9fc7 100755 --- a/configs/ea3131/usbserial/ld.script +++ b/configs/ea3131/usbserial/ld.script @@ -1,7 +1,7 @@ /**************************************************************************** * configs/ea3131/usbserial/ld.script * - * Copyright (C) 2010 Gregory Nutt. All rights reserved. + * Copyright (C) 2010-2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -78,11 +78,11 @@ SECTIONS *(.ARM.extab*) } >isram + __exidx_start = ABSOLUTE(.); .ARM.exidx : { - __exidx_start = ABSOLUTE(.); *(.ARM.exidx*) - __exidx_end = ABSOLUTE(.); } > isram + __exidx_end = ABSOLUTE(.); .bss : { _sbss = ABSOLUTE(.); @@ -91,7 +91,8 @@ SECTIONS *(COMMON) _ebss = ABSOLUTE(.); } > isram - /* Stabs debugging sections. */ + + /* Stabs debugging sections. */ .stab 0 : { *(.stab) } .stabstr 0 : { *(.stabstr) } .stab.excl 0 : { *(.stab.excl) } diff --git a/configs/ea3131/usbstorage/defconfig b/configs/ea3131/usbstorage/defconfig index e8cb6216ef..c2e5cb6188 100755 --- a/configs/ea3131/usbstorage/defconfig +++ b/configs/ea3131/usbstorage/defconfig @@ -1,7 +1,7 @@ ############################################################################ # configs/ea3131/usbstorage/defconfig # -# Copyright (C) 2010 Gregory Nutt. All rights reserved. +# Copyright (C) 2010-2011 Gregory Nutt. All rights reserved. # Author: Gregory Nutt # # Redistribution and use in source and binary forms, with or without diff --git a/configs/ea3131/usbstorage/ld.script b/configs/ea3131/usbstorage/ld.script index b23cd18bd5..c6ba1c293d 100755 --- a/configs/ea3131/usbstorage/ld.script +++ b/configs/ea3131/usbstorage/ld.script @@ -1,7 +1,7 @@ /**************************************************************************** * configs/ea3131/usbstorage/ld.script * - * Copyright (C) 2010 Gregory Nutt. All rights reserved. + * Copyright (C) 2010-2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -78,11 +78,11 @@ SECTIONS *(.ARM.extab*) } >isram + __exidx_start = ABSOLUTE(.); .ARM.exidx : { - __exidx_start = ABSOLUTE(.); *(.ARM.exidx*) - __exidx_end = ABSOLUTE(.); } > isram + __exidx_end = ABSOLUTE(.); .bss : { _sbss = ABSOLUTE(.); diff --git a/configs/eagle100/httpd/ld.script b/configs/eagle100/httpd/ld.script index 434cffbdec..080fb47fb6 100644 --- a/configs/eagle100/httpd/ld.script +++ b/configs/eagle100/httpd/ld.script @@ -1,7 +1,7 @@ /**************************************************************************** * configs/eagle100/httpd/ld.script * - * Copyright (C) 2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -66,7 +66,7 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - _eronly = ABSOLUTE(.); /* See below */ + _eronly = ABSOLUTE(.); /* The LM3S6918 has 64Kb of SRAM beginning at the following address */ @@ -82,20 +82,21 @@ SECTIONS *(.ARM.extab*) } >sram + __exidx_start = ABSOLUTE(.); .ARM.exidx : { - __exidx_start = ABSOLUTE(.); *(.ARM.exidx*) - __exidx_end = ABSOLUTE(.); } >sram + __exidx_end = ABSOLUTE(.); - .bss : { /* BSS */ + .bss : { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) *(COMMON) _ebss = ABSOLUTE(.); } > sram - /* Stabs debugging sections. */ + + /* Stabs debugging sections. */ .stab 0 : { *(.stab) } .stabstr 0 : { *(.stabstr) } .stab.excl 0 : { *(.stab.excl) } diff --git a/configs/eagle100/nettest/ld.script b/configs/eagle100/nettest/ld.script index b8af71dddd..8fcc01f422 100644 --- a/configs/eagle100/nettest/ld.script +++ b/configs/eagle100/nettest/ld.script @@ -1,7 +1,7 @@ /**************************************************************************** * configs/eagle100/nettest/ld.script * - * Copyright (C) 2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -66,7 +66,7 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - _eronly = ABSOLUTE(.); /* See below */ + _eronly = ABSOLUTE(.); /* The LM3S6918 has 64Kb of SRAM beginning at the following address */ @@ -82,20 +82,21 @@ SECTIONS *(.ARM.extab*) } >sram + __exidx_start = ABSOLUTE(.); .ARM.exidx : { - __exidx_start = ABSOLUTE(.); *(.ARM.exidx*) - __exidx_end = ABSOLUTE(.); } >sram + __exidx_end = ABSOLUTE(.); - .bss : { /* BSS */ + .bss : { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) *(COMMON) _ebss = ABSOLUTE(.); } > sram - /* Stabs debugging sections. */ + + /* Stabs debugging sections. */ .stab 0 : { *(.stab) } .stabstr 0 : { *(.stabstr) } .stab.excl 0 : { *(.stab.excl) } diff --git a/configs/eagle100/nsh/ld.script b/configs/eagle100/nsh/ld.script index e77b6778dc..d7b6316d56 100644 --- a/configs/eagle100/nsh/ld.script +++ b/configs/eagle100/nsh/ld.script @@ -1,7 +1,7 @@ /**************************************************************************** * configs/eagle100/nsh/ld.script * - * Copyright (C) 2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -66,7 +66,7 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - _eronly = ABSOLUTE(.); /* See below */ + _eronly = ABSOLUTE(.); /* The LM3S6918 has 64Kb of SRAM beginning at the following address */ @@ -82,20 +82,21 @@ SECTIONS *(.ARM.extab*) } >sram + __exidx_start = ABSOLUTE(.); .ARM.exidx : { - __exidx_start = ABSOLUTE(.); *(.ARM.exidx*) - __exidx_end = ABSOLUTE(.); } >sram + __exidx_end = ABSOLUTE(.); - .bss : { /* BSS */ + .bss : { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) *(COMMON) _ebss = ABSOLUTE(.); } > sram - /* Stabs debugging sections. */ + + /* Stabs debugging sections. */ .stab 0 : { *(.stab) } .stabstr 0 : { *(.stabstr) } .stab.excl 0 : { *(.stab.excl) } diff --git a/configs/eagle100/nxflat/ld.script b/configs/eagle100/nxflat/ld.script index ffd8dec486..aa3a30a62e 100644 --- a/configs/eagle100/nxflat/ld.script +++ b/configs/eagle100/nxflat/ld.script @@ -1,7 +1,7 @@ /**************************************************************************** * configs/eagle100/nxflat/ld.script * - * Copyright (C) 2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -66,7 +66,7 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - _eronly = ABSOLUTE(.); /* See below */ + _eronly = ABSOLUTE(.); /* The LM3S6918 has 64Kb of SRAM beginning at the following address */ @@ -82,20 +82,21 @@ SECTIONS *(.ARM.extab*) } >sram + __exidx_start = ABSOLUTE(.); .ARM.exidx : { - __exidx_start = ABSOLUTE(.); *(.ARM.exidx*) - __exidx_end = ABSOLUTE(.); } >sram + __exidx_end = ABSOLUTE(.); - .bss : { /* BSS */ + .bss : { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) *(COMMON) _ebss = ABSOLUTE(.); } > sram - /* Stabs debugging sections. */ + + /* Stabs debugging sections. */ .stab 0 : { *(.stab) } .stabstr 0 : { *(.stabstr) } .stab.excl 0 : { *(.stab.excl) } diff --git a/configs/eagle100/ostest/ld.script b/configs/eagle100/ostest/ld.script index 0d7032fcf2..747d7c2a03 100644 --- a/configs/eagle100/ostest/ld.script +++ b/configs/eagle100/ostest/ld.script @@ -1,7 +1,7 @@ /**************************************************************************** * configs/eagle100/ostest/ld.script * - * Copyright (C) 2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -66,7 +66,7 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - _eronly = ABSOLUTE(.); /* See below */ + _eronly = ABSOLUTE(.); /* The LM3S6918 has 64Kb of SRAM beginning at the following address */ @@ -82,20 +82,21 @@ SECTIONS *(.ARM.extab*) } >sram + __exidx_start = ABSOLUTE(.); .ARM.exidx : { - __exidx_start = ABSOLUTE(.); *(.ARM.exidx*) - __exidx_end = ABSOLUTE(.); } >sram + __exidx_end = ABSOLUTE(.); - .bss : { /* BSS */ + .bss : { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) *(COMMON) _ebss = ABSOLUTE(.); } > sram - /* Stabs debugging sections. */ + + /* Stabs debugging sections. */ .stab 0 : { *(.stab) } .stabstr 0 : { *(.stabstr) } .stab.excl 0 : { *(.stab.excl) } diff --git a/configs/eagle100/thttpd/ld.script b/configs/eagle100/thttpd/ld.script index 289c9088c3..282eed92a3 100644 --- a/configs/eagle100/thttpd/ld.script +++ b/configs/eagle100/thttpd/ld.script @@ -1,7 +1,7 @@ /**************************************************************************** * configs/eagle100/thttpd/ld.script * - * Copyright (C) 2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -66,7 +66,7 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - _eronly = ABSOLUTE(.); /* See below */ + _eronly = ABSOLUTE(.); /* The LM3S6918 has 64Kb of SRAM beginning at the following address */ @@ -82,20 +82,21 @@ SECTIONS *(.ARM.extab*) } >sram + __exidx_start = ABSOLUTE(.); .ARM.exidx : { - __exidx_start = ABSOLUTE(.); *(.ARM.exidx*) - __exidx_end = ABSOLUTE(.); } >sram + __exidx_end = ABSOLUTE(.); - .bss : { /* BSS */ + .bss : { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) *(COMMON) _ebss = ABSOLUTE(.); } > sram - /* Stabs debugging sections. */ + + /* Stabs debugging sections. */ .stab 0 : { *(.stab) } .stabstr 0 : { *(.stabstr) } .stab.excl 0 : { *(.stab.excl) } diff --git a/configs/lpcxpresso-lpc1768/nsh/ld.script b/configs/lpcxpresso-lpc1768/nsh/ld.script index bcc80f68db..0d8103b2e1 100755 --- a/configs/lpcxpresso-lpc1768/nsh/ld.script +++ b/configs/lpcxpresso-lpc1768/nsh/ld.script @@ -66,7 +66,7 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - _eronly = ABSOLUTE(.); /* See below */ + _eronly = ABSOLUTE(.); .data : { _sdata = ABSOLUTE(.); @@ -80,20 +80,21 @@ SECTIONS *(.ARM.extab*) } >sram + __exidx_start = ABSOLUTE(.); .ARM.exidx : { - __exidx_start = ABSOLUTE(.); *(.ARM.exidx*) - __exidx_end = ABSOLUTE(.); } >sram + __exidx_end = ABSOLUTE(.); - .bss : { /* BSS */ + .bss : { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) *(COMMON) _ebss = ABSOLUTE(.); } > sram - /* Stabs debugging sections. */ + + /* Stabs debugging sections. */ .stab 0 : { *(.stab) } .stabstr 0 : { *(.stabstr) } .stab.excl 0 : { *(.stab.excl) } diff --git a/configs/lpcxpresso-lpc1768/ostest/ld.script b/configs/lpcxpresso-lpc1768/ostest/ld.script index 221919b092..a85bc2b048 100755 --- a/configs/lpcxpresso-lpc1768/ostest/ld.script +++ b/configs/lpcxpresso-lpc1768/ostest/ld.script @@ -66,7 +66,7 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - _eronly = ABSOLUTE(.); /* See below */ + _eronly = ABSOLUTE(.); .data : { _sdata = ABSOLUTE(.); @@ -80,20 +80,21 @@ SECTIONS *(.ARM.extab*) } >sram + __exidx_start = ABSOLUTE(.); .ARM.exidx : { - __exidx_start = ABSOLUTE(.); *(.ARM.exidx*) - __exidx_end = ABSOLUTE(.); } >sram + __exidx_end = ABSOLUTE(.); - .bss : { /* BSS */ + .bss : { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) *(COMMON) _ebss = ABSOLUTE(.); } > sram - /* Stabs debugging sections. */ + + /* Stabs debugging sections. */ .stab 0 : { *(.stab) } .stabstr 0 : { *(.stabstr) } .stab.excl 0 : { *(.stab.excl) } diff --git a/configs/ntosd-dm320/nettest/ld.script b/configs/ntosd-dm320/nettest/ld.script index c025cb99df..55e763fad6 100644 --- a/configs/ntosd-dm320/nettest/ld.script +++ b/configs/ntosd-dm320/nettest/ld.script @@ -1,7 +1,7 @@ /**************************************************************************** * configs/ntosd-dm320/nettest/ld.script * - * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -52,7 +52,7 @@ SECTIONS _etext = ABSOLUTE(.); } - _eronly = ABSOLUTE(.); /* See below */ + _eronly = ABSOLUTE(.); . = ALIGN(4096); .data : { @@ -62,13 +62,14 @@ SECTIONS _edata = ABSOLUTE(.); } - .bss : { /* BSS */ + .bss : { _sbss = ABSOLUTE(.); *(.bss) *(COMMON) _ebss = ABSOLUTE(.); } - /* Stabs debugging sections. */ + + /* Stabs debugging sections. */ .stab 0 : { *(.stab) } .stabstr 0 : { *(.stabstr) } .stab.excl 0 : { *(.stab.excl) } diff --git a/configs/ntosd-dm320/nsh/ld.script b/configs/ntosd-dm320/nsh/ld.script index e040e368c5..c1a27e4535 100644 --- a/configs/ntosd-dm320/nsh/ld.script +++ b/configs/ntosd-dm320/nsh/ld.script @@ -1,7 +1,7 @@ /**************************************************************************** * configs/ntosd-dm320/nsh/ld.script * - * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -52,7 +52,7 @@ SECTIONS _etext = ABSOLUTE(.); } - _eronly = ABSOLUTE(.); /* See below */ + _eronly = ABSOLUTE(.); . = ALIGN(4096); .data : { @@ -62,13 +62,14 @@ SECTIONS _edata = ABSOLUTE(.); } - .bss : { /* BSS */ + .bss : { _sbss = ABSOLUTE(.); *(.bss) *(COMMON) _ebss = ABSOLUTE(.); } - /* Stabs debugging sections. */ + + /* Stabs debugging sections. */ .stab 0 : { *(.stab) } .stabstr 0 : { *(.stabstr) } .stab.excl 0 : { *(.stab.excl) } diff --git a/configs/ntosd-dm320/ostest/ld.script b/configs/ntosd-dm320/ostest/ld.script index 45fa67b8d6..e5bb772571 100644 --- a/configs/ntosd-dm320/ostest/ld.script +++ b/configs/ntosd-dm320/ostest/ld.script @@ -1,7 +1,7 @@ /**************************************************************************** * configs/ntosd-dm320/ostest/ld.script * - * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -52,7 +52,7 @@ SECTIONS _etext = ABSOLUTE(.); } - _eronly = ABSOLUTE(.); /* See below */ + _eronly = ABSOLUTE(.); . = ALIGN(4096); .data : { @@ -62,13 +62,14 @@ SECTIONS _edata = ABSOLUTE(.); } - .bss : { /* BSS */ + .bss : { _sbss = ABSOLUTE(.); *(.bss) *(COMMON) _ebss = ABSOLUTE(.); } - /* Stabs debugging sections. */ + + /* Stabs debugging sections. */ .stab 0 : { *(.stab) } .stabstr 0 : { *(.stabstr) } .stab.excl 0 : { *(.stab.excl) } diff --git a/configs/ntosd-dm320/poll/ld.script b/configs/ntosd-dm320/poll/ld.script index ab8512b3a9..8db7a0fed1 100644 --- a/configs/ntosd-dm320/poll/ld.script +++ b/configs/ntosd-dm320/poll/ld.script @@ -1,7 +1,7 @@ /**************************************************************************** * configs/ntosd-dm320/poll/ld.script * - * Copyright (C) 2008 Gregory Nutt. All rights reserved. + * Copyright (C) 2008, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -52,7 +52,7 @@ SECTIONS _etext = ABSOLUTE(.); } - _eronly = ABSOLUTE(.); /* See below */ + _eronly = ABSOLUTE(.); . = ALIGN(4096); .data : { @@ -62,13 +62,14 @@ SECTIONS _edata = ABSOLUTE(.); } - .bss : { /* BSS */ + .bss : { _sbss = ABSOLUTE(.); *(.bss) *(COMMON) _ebss = ABSOLUTE(.); } - /* Stabs debugging sections. */ + + /* Stabs debugging sections. */ .stab 0 : { *(.stab) } .stabstr 0 : { *(.stabstr) } .stab.excl 0 : { *(.stab.excl) } diff --git a/configs/ntosd-dm320/thttpd/ld.script b/configs/ntosd-dm320/thttpd/ld.script index 7d6755ad51..6646ec2f72 100644 --- a/configs/ntosd-dm320/thttpd/ld.script +++ b/configs/ntosd-dm320/thttpd/ld.script @@ -1,7 +1,7 @@ /**************************************************************************** * configs/ntosd-dm320/thttpd/ld.script * - * Copyright (C) 2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -52,7 +52,7 @@ SECTIONS _etext = ABSOLUTE(.); } - _eronly = ABSOLUTE(.); /* See below */ + _eronly = ABSOLUTE(.); . = ALIGN(4096); .data : { @@ -62,13 +62,14 @@ SECTIONS _edata = ABSOLUTE(.); } - .bss : { /* BSS */ + .bss : { _sbss = ABSOLUTE(.); *(.bss) *(COMMON) _ebss = ABSOLUTE(.); } - /* Stabs debugging sections. */ + + /* Stabs debugging sections. */ .stab 0 : { *(.stab) } .stabstr 0 : { *(.stabstr) } .stab.excl 0 : { *(.stab.excl) } diff --git a/configs/ntosd-dm320/udp/ld.script b/configs/ntosd-dm320/udp/ld.script index 86f3a21d17..d921a28add 100644 --- a/configs/ntosd-dm320/udp/ld.script +++ b/configs/ntosd-dm320/udp/ld.script @@ -1,7 +1,7 @@ /**************************************************************************** * configs/ntosd-dm320/udp/ld.script * - * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -52,7 +52,7 @@ SECTIONS _etext = ABSOLUTE(.); } - _eronly = ABSOLUTE(.); /* See below */ + _eronly = ABSOLUTE(.); . = ALIGN(4096); .data : { @@ -62,13 +62,14 @@ SECTIONS _edata = ABSOLUTE(.); } - .bss : { /* BSS */ + .bss : { _sbss = ABSOLUTE(.); *(.bss) *(COMMON) _ebss = ABSOLUTE(.); } - /* Stabs debugging sections. */ + + /* Stabs debugging sections. */ .stab 0 : { *(.stab) } .stabstr 0 : { *(.stabstr) } .stab.excl 0 : { *(.stab.excl) } diff --git a/configs/ntosd-dm320/uip/ld.script b/configs/ntosd-dm320/uip/ld.script index 77a4311646..e9bee2f8c8 100644 --- a/configs/ntosd-dm320/uip/ld.script +++ b/configs/ntosd-dm320/uip/ld.script @@ -1,7 +1,7 @@ /**************************************************************************** * configs/ntosd-dm320/uip/ld.script * - * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -52,7 +52,7 @@ SECTIONS _etext = ABSOLUTE(.); } - _eronly = ABSOLUTE(.); /* See below */ + _eronly = ABSOLUTE(.); . = ALIGN(4096); .data : { @@ -62,13 +62,14 @@ SECTIONS _edata = ABSOLUTE(.); } - .bss : { /* BSS */ + .bss : { _sbss = ABSOLUTE(.); *(.bss) *(COMMON) _ebss = ABSOLUTE(.); } - /* Stabs debugging sections. */ + + /* Stabs debugging sections. */ .stab 0 : { *(.stab) } .stabstr 0 : { *(.stabstr) } .stab.excl 0 : { *(.stab.excl) } diff --git a/configs/olimex-lpc2378/nsh/ld.script b/configs/olimex-lpc2378/nsh/ld.script index 34d6b958d4..cf8ba46bd6 100755 --- a/configs/olimex-lpc2378/nsh/ld.script +++ b/configs/olimex-lpc2378/nsh/ld.script @@ -6,7 +6,7 @@ * * This is part of the NuttX RTOS and based on the LPC2148 port: * - * Copyright (C) 2010 Gregory Nutt. All rights reserved. + * Copyright (C) 2010, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -87,12 +87,11 @@ SECTIONS *(.ARM.extab*) } > RAM + __exidx_start = ABSOLUTE(.); .ARM.exidx : { - __exidx_start = ABSOLUTE(.); *(.ARM.exidx*) - __exidx_end = ABSOLUTE(.); } > RAM - + __exidx_end = ABSOLUTE(.); /* .bss section which is initialized by 0 */ /* This section will be filled with zero by startup code */ diff --git a/configs/olimex-lpc2378/ostest/ld.script b/configs/olimex-lpc2378/ostest/ld.script index e72913093e..74c798b57f 100755 --- a/configs/olimex-lpc2378/ostest/ld.script +++ b/configs/olimex-lpc2378/ostest/ld.script @@ -6,7 +6,7 @@ * * This is part of the NuttX RTOS and based on the LPC2148 port: * - * Copyright (C) 2010 Gregory Nutt. All rights reserved. + * Copyright (C) 2010, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -87,11 +87,11 @@ SECTIONS *(.ARM.extab*) } > RAM + __exidx_start = ABSOLUTE(.); .ARM.exidx : { - __exidx_start = ABSOLUTE(.); *(.ARM.exidx*) - __exidx_end = ABSOLUTE(.); } > RAM + __exidx_end = ABSOLUTE(.); /* .bss section which is initialized by 0 */ diff --git a/configs/stm3210e-eval/nsh/ld.script b/configs/stm3210e-eval/nsh/ld.script index f7b4ba78ba..fa7b990bc9 100755 --- a/configs/stm3210e-eval/nsh/ld.script +++ b/configs/stm3210e-eval/nsh/ld.script @@ -1,7 +1,7 @@ /**************************************************************************** * configs/stm3210e-eval/nsh/ld.script * - * Copyright (C) 2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -66,7 +66,7 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - _eronly = ABSOLUTE(.); /* See below */ + _eronly = ABSOLUTE(.); /* The STM32F103Z has 64Kb of SRAM beginning at the following address */ @@ -82,20 +82,21 @@ SECTIONS *(.ARM.extab*) } >sram + __exidx_start = ABSOLUTE(.); .ARM.exidx : { - __exidx_start = ABSOLUTE(.); *(.ARM.exidx*) - __exidx_end = ABSOLUTE(.); } >sram + __exidx_end = ABSOLUTE(.); - .bss : { /* BSS */ + .bss : { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) *(COMMON) _ebss = ABSOLUTE(.); } > sram - /* Stabs debugging sections. */ + + /* Stabs debugging sections. */ .stab 0 : { *(.stab) } .stabstr 0 : { *(.stabstr) } .stab.excl 0 : { *(.stab.excl) } diff --git a/configs/stm3210e-eval/nsh/ld.script.dfu b/configs/stm3210e-eval/nsh/ld.script.dfu index 2837fd04ce..6b5ab8a2d6 100755 --- a/configs/stm3210e-eval/nsh/ld.script.dfu +++ b/configs/stm3210e-eval/nsh/ld.script.dfu @@ -1,7 +1,7 @@ /**************************************************************************** * configs/stm3210e-eval/nsh/ld.script.dfu * - * Copyright (C) 2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -65,7 +65,7 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - _eronly = ABSOLUTE(.); /* See below */ + _eronly = ABSOLUTE(.); /* The STM32F103Z has 64Kb of SRAM beginning at the following address */ @@ -81,20 +81,21 @@ SECTIONS *(.ARM.extab*) } >sram + __exidx_start = ABSOLUTE(.); .ARM.exidx : { - __exidx_start = ABSOLUTE(.); *(.ARM.exidx*) - __exidx_end = ABSOLUTE(.); } >sram + __exidx_end = ABSOLUTE(.); - .bss : { /* BSS */ + .bss : { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) *(COMMON) _ebss = ABSOLUTE(.); } > sram - /* Stabs debugging sections. */ + + /* Stabs debugging sections. */ .stab 0 : { *(.stab) } .stabstr 0 : { *(.stabstr) } .stab.excl 0 : { *(.stab.excl) } diff --git a/configs/stm3210e-eval/ostest/ld.script b/configs/stm3210e-eval/ostest/ld.script index ce8936adc6..bc09f4594e 100755 --- a/configs/stm3210e-eval/ostest/ld.script +++ b/configs/stm3210e-eval/ostest/ld.script @@ -1,7 +1,7 @@ /**************************************************************************** * configs/stm3210e-eval/ostest/ld.script * - * Copyright (C) 2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -66,7 +66,7 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - _eronly = ABSOLUTE(.); /* See below */ + _eronly = ABSOLUTE(.); /* The STM32F103Z has 64Kb of SRAM beginning at the following address */ @@ -82,20 +82,21 @@ SECTIONS *(.ARM.extab*) } >sram + __exidx_start = ABSOLUTE(.); .ARM.exidx : { - __exidx_start = ABSOLUTE(.); *(.ARM.exidx*) - __exidx_end = ABSOLUTE(.); } >sram + __exidx_end = ABSOLUTE(.); - .bss : { /* BSS */ + .bss : { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) *(COMMON) _ebss = ABSOLUTE(.); } > sram - /* Stabs debugging sections. */ + + /* Stabs debugging sections. */ .stab 0 : { *(.stab) } .stabstr 0 : { *(.stabstr) } .stab.excl 0 : { *(.stab.excl) } diff --git a/configs/stm3210e-eval/ostest/ld.script.dfu b/configs/stm3210e-eval/ostest/ld.script.dfu index 720195871a..a63ea5b150 100755 --- a/configs/stm3210e-eval/ostest/ld.script.dfu +++ b/configs/stm3210e-eval/ostest/ld.script.dfu @@ -1,7 +1,7 @@ /**************************************************************************** * configs/stm3210e-eval/ostest/ld.script.dfu * - * Copyright (C) 2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -65,7 +65,7 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - _eronly = ABSOLUTE(.); /* See below */ + _eronly = ABSOLUTE(.); /* The STM32F103Z has 64Kb of SRAM beginning at the following address */ @@ -81,20 +81,21 @@ SECTIONS *(.ARM.extab*) } >sram + __exidx_start = ABSOLUTE(.); .ARM.exidx : { - __exidx_start = ABSOLUTE(.); *(.ARM.exidx*) - __exidx_end = ABSOLUTE(.); } >sram + __exidx_end = ABSOLUTE(.); - .bss : { /* BSS */ + .bss : { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) *(COMMON) _ebss = ABSOLUTE(.); } > sram - /* Stabs debugging sections. */ + + /* Stabs debugging sections. */ .stab 0 : { *(.stab) } .stabstr 0 : { *(.stabstr) } .stab.excl 0 : { *(.stab.excl) } diff --git a/configs/stm3210e-eval/usbserial/ld.script b/configs/stm3210e-eval/usbserial/ld.script index 041ef8ca53..22a40d93ea 100755 --- a/configs/stm3210e-eval/usbserial/ld.script +++ b/configs/stm3210e-eval/usbserial/ld.script @@ -1,7 +1,7 @@ /**************************************************************************** * configs/stm3210e-eval/usbserial/ld.script * - * Copyright (C) 2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -66,7 +66,7 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - _eronly = ABSOLUTE(.); /* See below */ + _eronly = ABSOLUTE(.); /* The STM32F103Z has 64Kb of SRAM beginning at the following address */ @@ -82,20 +82,21 @@ SECTIONS *(.ARM.extab*) } >sram + __exidx_start = ABSOLUTE(.); .ARM.exidx : { - __exidx_start = ABSOLUTE(.); *(.ARM.exidx*) - __exidx_end = ABSOLUTE(.); } >sram + __exidx_end = ABSOLUTE(.); - .bss : { /* BSS */ + .bss : { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) *(COMMON) _ebss = ABSOLUTE(.); } > sram - /* Stabs debugging sections. */ + + /* Stabs debugging sections. */ .stab 0 : { *(.stab) } .stabstr 0 : { *(.stabstr) } .stab.excl 0 : { *(.stab.excl) } diff --git a/configs/stm3210e-eval/usbserial/ld.script.dfu b/configs/stm3210e-eval/usbserial/ld.script.dfu index ab85986d34..71218d5b58 100755 --- a/configs/stm3210e-eval/usbserial/ld.script.dfu +++ b/configs/stm3210e-eval/usbserial/ld.script.dfu @@ -1,7 +1,7 @@ /**************************************************************************** * configs/stm3210e-eval/usbserial/ld.script.dfu * - * Copyright (C) 2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -65,7 +65,7 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - _eronly = ABSOLUTE(.); /* See below */ + _eronly = ABSOLUTE(.); /* The STM32F103Z has 64Kb of SRAM beginning at the following address */ @@ -81,20 +81,21 @@ SECTIONS *(.ARM.extab*) } >sram + __exidx_start = ABSOLUTE(.); .ARM.exidx : { - __exidx_start = ABSOLUTE(.); *(.ARM.exidx*) - __exidx_end = ABSOLUTE(.); } >sram + __exidx_end = ABSOLUTE(.); - .bss : { /* BSS */ + .bss : { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) *(COMMON) _ebss = ABSOLUTE(.); } > sram - /* Stabs debugging sections. */ + + /* Stabs debugging sections. */ .stab 0 : { *(.stab) } .stabstr 0 : { *(.stabstr) } .stab.excl 0 : { *(.stab.excl) } diff --git a/configs/stm3210e-eval/usbstorage/ld.script b/configs/stm3210e-eval/usbstorage/ld.script index eb1b03a3ac..d4e03d3a52 100755 --- a/configs/stm3210e-eval/usbstorage/ld.script +++ b/configs/stm3210e-eval/usbstorage/ld.script @@ -1,7 +1,7 @@ /**************************************************************************** * configs/stm3210e-eval/usbstorage/ld.script * - * Copyright (C) 2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -66,7 +66,7 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - _eronly = ABSOLUTE(.); /* See below */ + _eronly = ABSOLUTE(.); /* The STM32F103Z has 64Kb of SRAM beginning at the following address */ @@ -82,20 +82,21 @@ SECTIONS *(.ARM.extab*) } >sram + __exidx_start = ABSOLUTE(.); .ARM.exidx : { - __exidx_start = ABSOLUTE(.); *(.ARM.exidx*) - __exidx_end = ABSOLUTE(.); } >sram + __exidx_end = ABSOLUTE(.); - .bss : { /* BSS */ + .bss : { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) *(COMMON) _ebss = ABSOLUTE(.); } > sram - /* Stabs debugging sections. */ + + /* Stabs debugging sections. */ .stab 0 : { *(.stab) } .stabstr 0 : { *(.stabstr) } .stab.excl 0 : { *(.stab.excl) } diff --git a/configs/stm3210e-eval/usbstorage/ld.script.dfu b/configs/stm3210e-eval/usbstorage/ld.script.dfu index 4890afdf37..f58cd329dc 100755 --- a/configs/stm3210e-eval/usbstorage/ld.script.dfu +++ b/configs/stm3210e-eval/usbstorage/ld.script.dfu @@ -1,7 +1,7 @@ /**************************************************************************** * configs/stm3210e-eval/usbstorage/ld.script.dfu * - * Copyright (C) 2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -65,7 +65,7 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - _eronly = ABSOLUTE(.); /* See below */ + _eronly = ABSOLUTE(.); /* The STM32F103Z has 64Kb of SRAM beginning at the following address */ @@ -81,20 +81,21 @@ SECTIONS *(.ARM.extab*) } >sram + __exidx_start = ABSOLUTE(.); .ARM.exidx : { - __exidx_start = ABSOLUTE(.); *(.ARM.exidx*) - __exidx_end = ABSOLUTE(.); } >sram + __exidx_end = ABSOLUTE(.); - .bss : { /* BSS */ + .bss : { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) *(COMMON) _ebss = ABSOLUTE(.); } > sram - /* Stabs debugging sections. */ + + /* Stabs debugging sections. */ .stab 0 : { *(.stab) } .stabstr 0 : { *(.stabstr) } .stab.excl 0 : { *(.stab.excl) }