OpenCores
URL https://opencores.org/ocsvn/amber/amber/trunk

Subversion Repositories amber

[/] [amber/] [trunk/] [sw/] [hello-world/] [sections.lds] - Blame information for rev 2

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 csantifort
/*----------------------------------------------------------------
2
//                                                              //
3
//  sections.lds                                                //
4
//                                                              //
5
//  This file is part of the Amber project                      //
6
//  http://www.opencores.org/project,amber                      //
7
//                                                              //
8
//  Description                                                 //
9
//  Sections linker file for the hello-world application.       //
10
//  Note that the address map starts at 0x0 because this is     //
11
//  a stand-alone application, not using the boot-loader.       //
12
//  As such, it would need to be put into the FPGA during       //
13
//  synthesis.                                                  //
14
//                                                              //
15
//  Author(s):                                                  //
16
//      - Conor Santifort, csantifort.amber@gmail.com           //
17
//                                                              //
18
//////////////////////////////////////////////////////////////////
19
//                                                              //
20
// Copyright (C) 2010 Authors and OPENCORES.ORG                 //
21
//                                                              //
22
// This source file may be used and distributed without         //
23
// restriction provided that this copyright statement is not    //
24
// removed from the file and that any derivative work contains  //
25
// the original copyright notice and the associated disclaimer. //
26
//                                                              //
27
// This source file is free software; you can redistribute it   //
28
// and/or modify it under the terms of the GNU Lesser General   //
29
// Public License as published by the Free Software Foundation; //
30
// either version 2.1 of the License, or (at your option) any   //
31
// later version.                                               //
32
//                                                              //
33
// This source is distributed in the hope that it will be       //
34
// useful, but WITHOUT ANY WARRANTY; without even the implied   //
35
// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR      //
36
// PURPOSE.  See the GNU Lesser General Public License for more //
37
// details.                                                     //
38
//                                                              //
39
// You should have received a copy of the GNU Lesser General    //
40
// Public License along with this source; if not, download it   //
41
// from http://www.opencores.org/lgpl.shtml                     //
42
//                                                              //
43
----------------------------------------------------------------*/
44
 
45
 
46
ENTRY(main)
47
 
48
 
49
SECTIONS {
50
 
51
        . = 0x00000000;
52
 
53
        ._start :
54
        {
55
                start*(.text)
56
        }
57
 
58
        .text :
59
        {
60
                *(.text)
61
        }
62
 
63
        .rodata :
64
        {
65
                *(.rodata)
66
        }
67
 
68
        .data :
69
        {
70
                *(.data)
71
        }
72
 
73
        .bss :
74
        {
75
                *(.bss)
76
        }
77
 
78
        .stack :
79
        {
80
                __stack = . ;
81
        }
82
 
83
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.