source: rtems/c/src/lib/libbsp/no_cpu/no_bsp/startup/linkcmds @ 9b4422a2

4.115
Last change on this file since 9b4422a2 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1/*
2 *  This file contains directives for the GNU linker which are specific
3 *  to the NO_CPU NO_BSP BOARD.
4 *
5 *  COPYRIGHT (c) 1989-1999.
6 *  On-Line Applications Research Corporation (OAR).
7 *
8 *  The license and distribution terms for this file may be
9 *  found in the file LICENSE in this distribution or at
10 *  http://www.rtems.com/license/LICENSE.
11 */
12
13MEMORY
14        {
15        ram : org = 0x0, l = 1M
16        }
17
18SECTIONS
19{
20        .text 0x0 :
21        {
22        text_start = . ;
23        _text_start = . ;
24        *(.text)
25        . = ALIGN (16);
26
27        /*
28         * Special FreeBSD sysctl sections.
29         */
30        . = ALIGN (16);
31        __start_set_sysctl_set = .;
32        *(set_sysctl_*);
33        __stop_set_sysctl_set = ABSOLUTE(.);
34        *(set_domain_*);
35        *(set_pseudo_*);
36
37        *(.eh_fram)
38        . = ALIGN (16);
39
40        /*
41         * C++ constructors
42         */
43        __CTOR_LIST__ = .;
44        LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
45        *(.ctors)
46        LONG(0)
47        __CTOR_END__ = .;
48        __DTOR_LIST__ = .;
49        LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
50        *(.dtors)
51        LONG(0)
52        __DTOR_END__ = .;
53        _etext = ALIGN( 0x10 ) ;
54        }
55        .data ADDR( .text ) + SIZEOF( .text ):
56        {
57        data_start = . ;
58        _data_start = . ;
59        *(.data)
60        _edata = ALIGN( 0x10 ) ;
61        }
62        .bss ADDR( .data ) + SIZEOF( .data ):
63        {
64        bss_start = . ;
65        _bss_start = . ;
66        *(.bss)
67        *(COMMON)
68        end = . ;
69        __end = . ;
70        }
71}
Note: See TracBrowser for help on using the repository browser.