link.AOUTRAM
资源名称:ixp425BSP.rar [点击查看]
上传用户:luoyougen
上传日期:2008-05-12
资源大小:23136k
文件大小:3k
源码类别:
VxWorks
开发平台:
C/C++
- /* link.AOUTRAM - gnu linker command file for VxWorks: AOUT RAM */
- /* Copyright 1984-2001 Wind River Systems, Inc. */
- /* This file was automatically generated using tool/common/ldscripts. */
- /*
- modification history
- --------------------
- 01i,06feb02,sn Both: place .got2 to handle tramp.o (_x_gnu_tramp.o).
- 01h,25jan02,tpw GNU: give debug sections explicit 0 addresses.
- 01g,14jan02,tpw Diab: place .eh_frame data, in case of insistent GNU objects.
- 01f,14dec01,tpw Diab: provide both underscore options of wrs_kernel* here too.
- 01e,05dec01,tpw Both: Add .boot and .reset section support, for PPC 4xx series
- and Book E.
- 01d,05dec01,tpw Diab: Add .frame_info section to text region.
- 01c,03dec01,jab Diab: replaced LOAD() with AT()
- 01b,14nov01,tpw ALL: Correct some more bootrom/kernel issues.
- 01b,06nov01,tpw GNU: Add /DISCARD/ directive to discard uninteresting sections
- 01a,01nov01,tpw gnu script written
- 01a,29oct01,jab diab script written
- */
- ENTRY(_start)
- SECTIONS
- {
- .text :
- {
- wrs_kernel_text_start = .; _wrs_kernel_text_start = .;
- *(.text) *(.text.*) *(.stub) *(.gnu.warning) *(.gnu.linkonce.t*)
- KEEP(*(.init)) KEEP(*(.fini))
- *(.glue_7t) *(.glue_7) *(.rdata) /* for ARM */
- *(.mips16.fn.*) *(.mips16.call.*) *(.reginfo) /* for MIPS */
- *(.rodata) *(.rodata.*) *(.gnu.linkonce.r*) *(.rodata1)
- *(.sdata2) *(.sbss2) /* for PPC */
- . = ALIGN(16);
- }
- . = ALIGN(16);
- wrs_kernel_text_end = .; _wrs_kernel_text_end = .;
- etext = .; _etext = .;
- .data :
- {
- wrs_kernel_data_start = .; _wrs_kernel_data_start = .;
- *(.data) *(.data.*) *(.gnu.linkonce.d*) SORT(CONSTRUCTORS) *(.data1)
- *(.eh_frame) *(.gcc_except_table)
- KEEP (*crtbegin.o(.ctors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- _gp = ALIGN(16) + 0x7ff0; /* set gp for MIPS startup code */
- /* got*, dynamic, sdata*, lit[48], and sbss should follow _gp */
- *(.got.plt) *(.got) *(.dynamic)
- *(.got2)
- *(.sdata) *(.sdata.*) *(.lit8) *(.lit4)
- . = ALIGN(16);
- }
- . = ALIGN(16);
- edata = .; _edata = .;
- wrs_kernel_data_end = .; _wrs_kernel_data_end = .;
- .bss :
- {
- wrs_kernel_bss_start = .; _wrs_kernel_bss_start = .;
- *(.sbss) *(.scommon) *(.dynbss) *(.bss) *(COMMON)
- . = ALIGN(16);
- }
- . = ALIGN(16);
- end = .; _end = .;
- wrs_kernel_bss_end = .; _wrs_kernel_bss_end = .;
- /DISCARD/ :
- {
- *(.note) /* seen on Pentium ELF */
- *(.comment) /* seen on PPC & SH ELF */
- *(.pdr) /* seen on MIPS ELF */
- }
- }