
Memory Configuration

Name             Origin             Length             Attributes
*default*        0x00000000         0xffffffff

Linker script and memory map

START GROUP
LOAD hello.o
END GROUP
                0x00500000                PROVIDE (__executable_start, 0x500000)
                0x00500000                . = 0x500000

.interp
 *(.interp)

.hash
 *(.hash)

.dynsym
 *(.dynsym)

.dynstr
 *(.dynstr)

.gnu.version
 *(.gnu.version)

.gnu.version_d
 *(.gnu.version_d)

.gnu.version_r
 *(.gnu.version_r)

.rel.init
 *(.rel.init)

.rela.init
 *(.rela.init)

.rel.text
 *(.rel.text .rel.text.* .rel.gnu.linkonce.t.*)

.rela.text
 *(.rela.text .rela.text.* .rela.gnu.linkonce.t.*)

.rel.fini
 *(.rel.fini)

.rela.fini
 *(.rela.fini)

.rel.rodata
 *(.rel.rodata .rel.rodata.* .rel.gnu.linkonce.r.*)

.rela.rodata
 *(.rela.rodata .rela.rodata.* .rela.gnu.linkonce.r.*)

.rel.data.rel.ro
 *(.rel.data.rel.ro*)

.rela.data.rel.ro
 *(.rel.data.rel.ro*)

.rel.data
 *(.rel.data .rel.data.* .rel.gnu.linkonce.d.*)

.rela.data
 *(.rela.data .rela.data.* .rela.gnu.linkonce.d.*)

.rel.tdata
 *(.rel.tdata .rel.tdata.* .rel.gnu.linkonce.td.*)

.rela.tdata
 *(.rela.tdata .rela.tdata.* .rela.gnu.linkonce.td.*)

.rel.tbss
 *(.rel.tbss .rel.tbss.* .rel.gnu.linkonce.tb.*)

.rela.tbss
 *(.rela.tbss .rela.tbss.* .rela.gnu.linkonce.tb.*)

.rel.ctors
 *(.rel.ctors)

.rela.ctors
 *(.rela.ctors)

.rel.dtors
 *(.rel.dtors)

.rela.dtors
 *(.rela.dtors)

.rel.got
 *(.rel.got)

.rela.got
 *(.rela.got)

.rel.sdata
 *(.rel.sdata .rel.sdata.* .rel.gnu.linkonce.s.*)

.rela.sdata
 *(.rela.sdata .rela.sdata.* .rela.gnu.linkonce.s.*)

.rel.sbss
 *(.rel.sbss .rel.sbss.* .rel.gnu.linkonce.sb.*)

.rela.sbss
 *(.rela.sbss .rela.sbss.* .rela.gnu.linkonce.sb.*)

.rel.sdata2
 *(.rel.sdata2 .rel.sdata2.* .rel.gnu.linkonce.s2.*)

.rela.sdata2
 *(.rela.sdata2 .rela.sdata2.* .rela.gnu.linkonce.s2.*)

.rel.sbss2
 *(.rel.sbss2 .rel.sbss2.* .rel.gnu.linkonce.sb2.*)

.rela.sbss2
 *(.rela.sbss2 .rela.sbss2.* .rela.gnu.linkonce.sb2.*)

.rel.bss
 *(.rel.bss .rel.bss.* .rel.gnu.linkonce.b.*)

.rela.bss
 *(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*)

.rel.plt
 *(.rel.plt)

.rela.plt
 *(.rela.plt)

.text           0x00500000      0x410
 *(.text .stub .text.* .gnu.linkonce.t.*)
 .text          0x00500000      0x410 hello.o
                0x005000c8                ClearScreen
                0x00500194                RGB_Colo
                0x00500054                InitialLCD
                0x00500000                main
                0x005003a4                Delay
 *(.text.*personality*)
 *(.gnu.warning)

.init
 *(.init)

.plt
 *(.plt)

.fini
 *(.fini)
                0x00500410                PROVIDE (__etext, .)
                0x00500410                PROVIDE (_etext, .)
                0x00500410                PROVIDE (etext, .)
                0x00520000                . = ALIGN (0x20000)

.rodata
 *(.rodata .rodata.* .gnu.linkonce.r.*)

.rodata1
 *(.rodata1)

.sdata2
 *(.sdata2 .sdata2.* .gnu.linkonce.s2.*)

.sbss2
 *(.sbss2 .sbss2.* .gnu.linkonce.sb2.*)

.eh_frame_hdr
 *(.eh_frame_hdr)

.eh_frame
 *(.eh_frame)

.gcc_except_table
 *(.gcc_except_table)
 *(.gcc_except_table.*)
                0x00520000                . = (ALIGN (0x1000) - ((0x1000 - .) & 0xfff))
                0x00520000                . = (0x1000 DATA_SEGMENT_ALIGN 0x1000)

.eh_frame
 *(.eh_frame)

.gcc_except_table
 *(.gcc_except_table)
 *(.gcc_except_table.*)

.tdata
 *(.tdata .tdata.* .gnu.linkonce.td.*)

.tbss
 *(.tbss .tbss.* .gnu.linkonce.tb.*)
 *(.tcommon)
                0x00520000                . = ALIGN (0x4)
                0x00520000                PROVIDE (__preinit_array_start, .)

.preinit_array
 *(.preinit_array)
                0x00520000                PROVIDE (__preinit_array_end, .)
                0x00520000                PROVIDE (__init_array_start, .)

.init_array
 *(.init_array)
                0x00520000                PROVIDE (__init_array_end, .)
                0x00520000                PROVIDE (__fini_array_start, .)

.fini_array
 *(.fini_array)
                0x00520000                PROVIDE (__fini_array_end, .)

.ctors
 *crtbegin*.o(.ctors)
 *(EXCLUDE_FILE(*crtend*.o) .ctors)
 *(SORT(.ctors.*))
 *(.ctors)

.dtors
 *crtbegin*.o(.dtors)
 *(EXCLUDE_FILE(*crtend*.o) .dtors)
 *(SORT(.dtors.*))
 *(.dtors)

.jcr
 *(.jcr)

.data.rel.ro
 *(.data.rel.ro.local)
 *(.data.rel.ro*)

.dynamic
 *(.dynamic)
                0x00520000                . = (. DATA_SEGMENT_RELRO_END 0x0)

.data           0x00520000        0x0
 *(.data .data.* .gnu.linkonce.d.*)
 *(.gnu.linkonce.d.*personality*)

.data1
 *(.data1)
                0x00520000                . = ALIGN (0x4)

.got
 *(.got.plt)
 *(.got)

.sdata_w        0x00520000        0x0
                0x00520000                _SDA_BASE_ = .
                0x00520000                PROVIDE (__sdata_start, .)
 *(.sdata_w .sdata_w.*)

.sdata_h
 *(.sdata_h .sdata_h.*)

.sdata_b
 *(.sdata_b .sdata_b.*)
                0x00520000                _edata = .
                0x00520000                PROVIDE (edata, .)
                0x00520000                __bss_start = .

.sbss_b         0x00520000        0x0
                0x00520000                PROVIDE (__sbss_start, .)
                0x00520000                PROVIDE (___sbss_start, .)
 *(.sbss_b .sbss_b.*)
 *(.scommon_b .scommon_b.*)
                0x00520000                . = ALIGN (0x2)

.sbss_h         0x00520000        0x0
 *(.sbss_h .sbss_h.*)
 *(.scommon_h .scommon_h.*)
                0x00520000                . = ALIGN (0x4)

.sbss_w         0x00520000        0x0
 *(.sbss_w .sbss_w.*)
 *(.scommon_w .scommon_w.*)
 *(.dynsbss)
 *(.scommon)
                0x00520000                PROVIDE (__sbss_end, .)
                0x00520000                PROVIDE (___sbss_end, .)

.bss            0x00520000        0x0
 *(.dynbss)
 *(.bss .bss.* .gnu.linkonce.b.*)
 *(COMMON)
                0x00520000                . = ALIGN (0x4)
                0x00520000                . = ALIGN (0x4)
                0x00520000                _end = .
                0x00520000                PROVIDE (end, .)
                0x00520000                . = DATA_SEGMENT_END (.)

.stab
 *(.stab)

.stabstr
 *(.stabstr)

.stab.excl
 *(.stab.excl)

.stab.exclstr
 *(.stab.exclstr)

.stab.index
 *(.stab.index)

.stab.indexstr
 *(.stab.indexstr)

.comment        0x00000000       0x12
 *(.comment)
 .comment       0x00000000       0x12 hello.o

.debug
 *(.debug)

.line
 *(.line)

.debug_srcinfo
 *(.debug_srcinfo)

.debug_sfnames
 *(.debug_sfnames)

.debug_aranges  0x00000000       0x20
 *(.debug_aranges)
 .debug_aranges
                0x00000000       0x20 hello.o

.debug_pubnames
                0x00000000       0x51
 *(.debug_pubnames)
 .debug_pubnames
                0x00000000       0x51 hello.o

.debug_info     0x00000000      0x1df
 *(.debug_info .gnu.linkonce.wi.*)
 .debug_info    0x00000000      0x1df hello.o

.debug_abbrev   0x00000000       0x92
 *(.debug_abbrev)
 .debug_abbrev  0x00000000       0x92 hello.o

.debug_line     0x00000000       0x7e
 *(.debug_line)
 .debug_line    0x00000000       0x7e hello.o

.debug_frame    0x00000000       0x60
 *(.debug_frame)
 .debug_frame   0x00000000       0x60 hello.o

.debug_str      0x00000000        0xd
 *(.debug_str)
 .debug_str     0x00000000        0xd hello.o

.debug_loc
 *(.debug_loc)

.debug_macinfo
 *(.debug_macinfo)

.debug_weaknames
 *(.debug_weaknames)

.debug_funcnames
 *(.debug_funcnames)

.debug_typenames
 *(.debug_typenames)

.debug_varnames
 *(.debug_varnames)
                0x00540000                PROVIDE (_stack, 0x540000)

/DISCARD/
 *(.note.GNU-stack)
LOAD /home/acer/Andestech/AndeSight133/toolchains/nds32le-elf-V0/libexec/../lib/gcc/nds32le-elf/3.4.4/static/newlib/libgcc.a
LOAD /home/acer/Andestech/AndeSight133/toolchains/nds32le-elf-V0/libexec/../nds32le-elf/libc/newlib/usr/lib/libc.a
LOAD /home/acer/Andestech/AndeSight133/toolchains/nds32le-elf-V0/libexec/../lib/gcc/nds32le-elf/3.4.4/static/newlib/libgcc.a
START GROUP
LOAD /home/acer/Andestech/AndeSight133/toolchains/nds32le-elf-V0/libexec/../lib/gcc/nds32le-elf/3.4.4/static/newlib/libgcc.a
LOAD /home/acer/Andestech/AndeSight133/toolchains/nds32le-elf-V0/libexec/../nds32le-elf/libc/newlib/usr/lib/libandestar32_generic.a
LOAD /home/acer/Andestech/AndeSight133/toolchains/nds32le-elf-V0/libexec/../nds32le-elf/libc/newlib/usr/lib/libc.a
LOAD /home/acer/Andestech/AndeSight133/toolchains/nds32le-elf-V0/libexec/../nds32le-elf/libc/newlib/usr/lib/libm.a
LOAD /home/acer/Andestech/AndeSight133/toolchains/nds32le-elf-V0/libexec/../nds32le-elf/libc/newlib/usr/lib/libgloss.a
END GROUP
OUTPUT(hello.dbg elf32-nds32)

.mdebug.abi_nds32
                0x00000000        0x0
