source: rtems/c/src/lib/libbsp/hppa1.1/simhppa/startup/linkcmds @ 4eef8f7

4.104.114.84.95
Last change on this file since 4eef8f7 was b4381dac, checked in by Joel Sherrill <joel.sherrill@…>, on 12/19/02 at 23:40:53

2002-12-19 Joel Sherrill <joel@…>

  • start/start.S: Per PR329 now compiles with GNU tools.
  • startup/linkcmds: New file. Now almost links.
  • Property mode set to 100644
File size: 560 bytes
Line 
1/* Script for -n: mix text and data on same page */
2OUTPUT_FORMAT("elf32-hppa")
3OUTPUT_ARCH(hppa)
4ENTRY("$START$")
5SEARCH_DIR("/opt/rtems/hppa1.1-rtems/lib");
6SECTIONS
7{
8  .text 0x1000 +0x1000:
9  {
10    __text_start = .;
11    CREATE_OBJECT_SYMBOLS
12    *(.PARISC.stubs)
13    *(.text)
14    etext = .;
15    _etext = .;
16  }
17  . = 0x40000000;
18  .data :
19  {
20     . = . + 0x1000 ;
21    __data_start = .;
22    *(.data)
23    CONSTRUCTORS
24    edata = .;
25    _edata = .;
26  }
27  . = 0x40000000 + SIZEOF(.data);
28  .bss :
29  {
30   *(.bss)
31   *(COMMON)
32   end = . ;
33   _end = . ;
34  }
35}
Note: See TracBrowser for help on using the repository browser.