From c4f89a2368ee1643d5e9c7a4d79f7f29ccc54a74 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: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@3496 7fd9a85b-ad96-42d3-883c-3090e2eb8679 --- nuttx/TODO | 22 ++----------------- nuttx/configs/ea3131/usbserial/defconfig | 2 +- nuttx/configs/ea3131/usbserial/ld.script | 9 ++++---- nuttx/configs/ea3131/usbstorage/defconfig | 2 +- nuttx/configs/ea3131/usbstorage/ld.script | 6 ++--- nuttx/configs/eagle100/httpd/ld.script | 13 ++++++----- nuttx/configs/eagle100/nettest/ld.script | 13 ++++++----- nuttx/configs/eagle100/nsh/ld.script | 13 ++++++----- nuttx/configs/eagle100/nxflat/ld.script | 13 ++++++----- nuttx/configs/eagle100/ostest/ld.script | 13 ++++++----- nuttx/configs/eagle100/thttpd/ld.script | 13 ++++++----- .../configs/lpcxpresso-lpc1768/nsh/ld.script | 11 +++++----- .../lpcxpresso-lpc1768/ostest/ld.script | 11 +++++----- nuttx/configs/ntosd-dm320/nettest/ld.script | 9 ++++---- nuttx/configs/ntosd-dm320/nsh/ld.script | 9 ++++---- nuttx/configs/ntosd-dm320/ostest/ld.script | 9 ++++---- nuttx/configs/ntosd-dm320/poll/ld.script | 9 ++++---- nuttx/configs/ntosd-dm320/thttpd/ld.script | 9 ++++---- nuttx/configs/ntosd-dm320/udp/ld.script | 9 ++++---- nuttx/configs/ntosd-dm320/uip/ld.script | 9 ++++---- nuttx/configs/olimex-lpc2378/nsh/ld.script | 7 +++--- nuttx/configs/olimex-lpc2378/ostest/ld.script | 6 ++--- nuttx/configs/stm3210e-eval/nsh/ld.script | 13 ++++++----- nuttx/configs/stm3210e-eval/nsh/ld.script.dfu | 13 ++++++----- nuttx/configs/stm3210e-eval/ostest/ld.script | 13 ++++++----- .../stm3210e-eval/ostest/ld.script.dfu | 13 ++++++----- .../configs/stm3210e-eval/usbserial/ld.script | 13 ++++++----- .../stm3210e-eval/usbserial/ld.script.dfu | 13 ++++++----- .../stm3210e-eval/usbstorage/ld.script | 13 ++++++----- .../stm3210e-eval/usbstorage/ld.script.dfu | 13 ++++++----- 30 files changed, 163 insertions(+), 158 deletions(-) diff --git a/nuttx/TODO b/nuttx/TODO index 25a40dc1a..d40421663 100644 --- a/nuttx/TODO +++ b/nuttx/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/nuttx/configs/ea3131/usbserial/defconfig b/nuttx/configs/ea3131/usbserial/defconfig index f5df53002..fcf8d0d03 100755 --- a/nuttx/configs/ea3131/usbserial/defconfig +++ b/nuttx/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/nuttx/configs/ea3131/usbserial/ld.script b/nuttx/configs/ea3131/usbserial/ld.script index 7ce7bf21c..1bdc7d9fc 100755 --- a/nuttx/configs/ea3131/usbserial/ld.script +++ b/nuttx/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/nuttx/configs/ea3131/usbstorage/defconfig b/nuttx/configs/ea3131/usbstorage/defconfig index e8cb6216e..c2e5cb618 100755 --- a/nuttx/configs/ea3131/usbstorage/defconfig +++ b/nuttx/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/nuttx/configs/ea3131/usbstorage/ld.script b/nuttx/configs/ea3131/usbstorage/ld.script index b23cd18bd..c6ba1c293 100755 --- a/nuttx/configs/ea3131/usbstorage/ld.script +++ b/nuttx/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/nuttx/configs/eagle100/httpd/ld.script b/nuttx/configs/eagle100/httpd/ld.script index 434cffbde..080fb47fb 100644 --- a/nuttx/configs/eagle100/httpd/ld.script +++ b/nuttx/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/nuttx/configs/eagle100/nettest/ld.script b/nuttx/configs/eagle100/nettest/ld.script index b8af71ddd..8fcc01f42 100644 --- a/nuttx/configs/eagle100/nettest/ld.script +++ b/nuttx/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/nuttx/configs/eagle100/nsh/ld.script b/nuttx/configs/eagle100/nsh/ld.script index e77b6778d..d7b6316d5 100644 --- a/nuttx/configs/eagle100/nsh/ld.script +++ b/nuttx/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/nuttx/configs/eagle100/nxflat/ld.script b/nuttx/configs/eagle100/nxflat/ld.script index ffd8dec48..aa3a30a62 100644 --- a/nuttx/configs/eagle100/nxflat/ld.script +++ b/nuttx/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/nuttx/configs/eagle100/ostest/ld.script b/nuttx/configs/eagle100/ostest/ld.script index 0d7032fcf..747d7c2a0 100644 --- a/nuttx/configs/eagle100/ostest/ld.script +++ b/nuttx/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/nuttx/configs/eagle100/thttpd/ld.script b/nuttx/configs/eagle100/thttpd/ld.script index 289c9088c..282eed92a 100644 --- a/nuttx/configs/eagle100/thttpd/ld.script +++ b/nuttx/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/nuttx/configs/lpcxpresso-lpc1768/nsh/ld.script b/nuttx/configs/lpcxpresso-lpc1768/nsh/ld.script index bcc80f68d..0d8103b2e 100755 --- a/nuttx/configs/lpcxpresso-lpc1768/nsh/ld.script +++ b/nuttx/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/nuttx/configs/lpcxpresso-lpc1768/ostest/ld.script b/nuttx/configs/lpcxpresso-lpc1768/ostest/ld.script index 221919b09..a85bc2b04 100755 --- a/nuttx/configs/lpcxpresso-lpc1768/ostest/ld.script +++ b/nuttx/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/nuttx/configs/ntosd-dm320/nettest/ld.script b/nuttx/configs/ntosd-dm320/nettest/ld.script index c025cb99d..55e763fad 100644 --- a/nuttx/configs/ntosd-dm320/nettest/ld.script +++ b/nuttx/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/nuttx/configs/ntosd-dm320/nsh/ld.script b/nuttx/configs/ntosd-dm320/nsh/ld.script index e040e368c..c1a27e453 100644 --- a/nuttx/configs/ntosd-dm320/nsh/ld.script +++ b/nuttx/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/nuttx/configs/ntosd-dm320/ostest/ld.script b/nuttx/configs/ntosd-dm320/ostest/ld.script index 45fa67b8d..e5bb77257 100644 --- a/nuttx/configs/ntosd-dm320/ostest/ld.script +++ b/nuttx/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/nuttx/configs/ntosd-dm320/poll/ld.script b/nuttx/configs/ntosd-dm320/poll/ld.script index ab8512b3a..8db7a0fed 100644 --- a/nuttx/configs/ntosd-dm320/poll/ld.script +++ b/nuttx/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/nuttx/configs/ntosd-dm320/thttpd/ld.script b/nuttx/configs/ntosd-dm320/thttpd/ld.script index 7d6755ad5..6646ec2f7 100644 --- a/nuttx/configs/ntosd-dm320/thttpd/ld.script +++ b/nuttx/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/nuttx/configs/ntosd-dm320/udp/ld.script b/nuttx/configs/ntosd-dm320/udp/ld.script index 86f3a21d1..d921a28ad 100644 --- a/nuttx/configs/ntosd-dm320/udp/ld.script +++ b/nuttx/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/nuttx/configs/ntosd-dm320/uip/ld.script b/nuttx/configs/ntosd-dm320/uip/ld.script index 77a431164..e9bee2f8c 100644 --- a/nuttx/configs/ntosd-dm320/uip/ld.script +++ b/nuttx/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/nuttx/configs/olimex-lpc2378/nsh/ld.script b/nuttx/configs/olimex-lpc2378/nsh/ld.script index 34d6b958d..cf8ba46bd 100755 --- a/nuttx/configs/olimex-lpc2378/nsh/ld.script +++ b/nuttx/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/nuttx/configs/olimex-lpc2378/ostest/ld.script b/nuttx/configs/olimex-lpc2378/ostest/ld.script index e72913093..74c798b57 100755 --- a/nuttx/configs/olimex-lpc2378/ostest/ld.script +++ b/nuttx/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/nuttx/configs/stm3210e-eval/nsh/ld.script b/nuttx/configs/stm3210e-eval/nsh/ld.script index f7b4ba78b..fa7b990bc 100755 --- a/nuttx/configs/stm3210e-eval/nsh/ld.script +++ b/nuttx/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/nuttx/configs/stm3210e-eval/nsh/ld.script.dfu b/nuttx/configs/stm3210e-eval/nsh/ld.script.dfu index 2837fd04c..6b5ab8a2d 100755 --- a/nuttx/configs/stm3210e-eval/nsh/ld.script.dfu +++ b/nuttx/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/nuttx/configs/stm3210e-eval/ostest/ld.script b/nuttx/configs/stm3210e-eval/ostest/ld.script index ce8936adc..bc09f4594 100755 --- a/nuttx/configs/stm3210e-eval/ostest/ld.script +++ b/nuttx/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/nuttx/configs/stm3210e-eval/ostest/ld.script.dfu b/nuttx/configs/stm3210e-eval/ostest/ld.script.dfu index 720195871..a63ea5b15 100755 --- a/nuttx/configs/stm3210e-eval/ostest/ld.script.dfu +++ b/nuttx/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/nuttx/configs/stm3210e-eval/usbserial/ld.script b/nuttx/configs/stm3210e-eval/usbserial/ld.script index 041ef8ca5..22a40d93e 100755 --- a/nuttx/configs/stm3210e-eval/usbserial/ld.script +++ b/nuttx/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/nuttx/configs/stm3210e-eval/usbserial/ld.script.dfu b/nuttx/configs/stm3210e-eval/usbserial/ld.script.dfu index ab85986d3..71218d5b5 100755 --- a/nuttx/configs/stm3210e-eval/usbserial/ld.script.dfu +++ b/nuttx/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/nuttx/configs/stm3210e-eval/usbstorage/ld.script b/nuttx/configs/stm3210e-eval/usbstorage/ld.script index eb1b03a3a..d4e03d3a5 100755 --- a/nuttx/configs/stm3210e-eval/usbstorage/ld.script +++ b/nuttx/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/nuttx/configs/stm3210e-eval/usbstorage/ld.script.dfu b/nuttx/configs/stm3210e-eval/usbstorage/ld.script.dfu index 4890afdf3..f58cd329d 100755 --- a/nuttx/configs/stm3210e-eval/usbstorage/ld.script.dfu +++ b/nuttx/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) }