diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-12-19 23:40:53 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-12-19 23:40:53 +0000 |
commit | b4381dac9b31607d2947d8fb28c2c2cf397d0211 (patch) | |
tree | 8af60de1804529c77cdfce742cc20fe9b865b7a0 /c/src/lib/libbsp/hppa1.1/simhppa/startup/linkcmds | |
parent | 2002-12-19 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-b4381dac9b31607d2947d8fb28c2c2cf397d0211.tar.bz2 |
2002-12-19 Joel Sherrill <joel@OARcorp.com>
* start/start.S: Per PR329 now compiles with GNU tools.
* startup/linkcmds: New file. Now almost links.
Diffstat (limited to 'c/src/lib/libbsp/hppa1.1/simhppa/startup/linkcmds')
-rw-r--r-- | c/src/lib/libbsp/hppa1.1/simhppa/startup/linkcmds | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/hppa1.1/simhppa/startup/linkcmds b/c/src/lib/libbsp/hppa1.1/simhppa/startup/linkcmds new file mode 100644 index 0000000000..57d1f5c96a --- /dev/null +++ b/c/src/lib/libbsp/hppa1.1/simhppa/startup/linkcmds @@ -0,0 +1,35 @@ +/* Script for -n: mix text and data on same page */ +OUTPUT_FORMAT("elf32-hppa") +OUTPUT_ARCH(hppa) +ENTRY("$START$") +SEARCH_DIR("/opt/rtems/hppa1.1-rtems/lib"); +SECTIONS +{ + .text 0x1000 +0x1000: + { + __text_start = .; + CREATE_OBJECT_SYMBOLS + *(.PARISC.stubs) + *(.text) + etext = .; + _etext = .; + } + . = 0x40000000; + .data : + { + . = . + 0x1000 ; + __data_start = .; + *(.data) + CONSTRUCTORS + edata = .; + _edata = .; + } + . = 0x40000000 + SIZEOF(.data); + .bss : + { + *(.bss) + *(COMMON) + end = . ; + _end = . ; + } +} |