1992-02-15 22:07:15 +00:00
|
|
|
cat <<EOF
|
1992-02-15 23:13:00 +00:00
|
|
|
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
|
1992-02-15 22:07:15 +00:00
|
|
|
INPUT(/lab3/u3/sym1/tools/usr/lib/segments.o) /* Has .rstack/.mstack */
|
1992-02-15 23:13:00 +00:00
|
|
|
${LIB_SEARCH_DIRS}
|
|
|
|
|
1992-02-15 22:07:15 +00:00
|
|
|
MEMORY {
|
|
|
|
text : ORIGIN = 0x1000000, LENGTH = 0x1000000
|
|
|
|
talias : ORIGIN = 0x2000000, LENGTH = 0x1000000
|
|
|
|
data : ORIGIN = 0x3000000, LENGTH = 0x1000000
|
|
|
|
mstack : ORIGIN = 0x4000000, LENGTH = 0x1000000
|
|
|
|
rstack : ORIGIN = 0x5000000, LENGTH = 0x1000000
|
|
|
|
}
|
1992-02-15 23:13:00 +00:00
|
|
|
SECTIONS
|
|
|
|
{
|
|
|
|
.text : {
|
1992-02-15 22:07:15 +00:00
|
|
|
*(.text)
|
1992-03-02 22:22:59 +00:00
|
|
|
${RELOCATING+ __etext = .};
|
1992-02-15 23:13:00 +00:00
|
|
|
*(.lit)
|
|
|
|
*(.shdata)
|
|
|
|
} ${RELOCATING+ > text}
|
1992-02-15 22:07:15 +00:00
|
|
|
.shbss SIZEOF(.text) + ADDR(.text) : {
|
1992-02-15 23:13:00 +00:00
|
|
|
*(.shbss)
|
1992-02-15 22:07:15 +00:00
|
|
|
}
|
1992-02-15 23:13:00 +00:00
|
|
|
.talias : { } ${RELOCATING+ > talias}
|
|
|
|
.data : {
|
|
|
|
*(.data)
|
1992-03-02 22:22:59 +00:00
|
|
|
${RELOCATING+ __edata = .};
|
1992-02-15 23:13:00 +00:00
|
|
|
} ${RELOCATING+ > data}
|
|
|
|
.bss SIZEOF(.data) + ADDR(.data) :
|
1992-02-15 22:07:15 +00:00
|
|
|
{
|
1992-02-15 23:13:00 +00:00
|
|
|
*(.bss)
|
|
|
|
*(COMMON)
|
1992-03-02 22:22:59 +00:00
|
|
|
${RELOCATING+ __end = ALIGN(0x8)};
|
1992-02-15 23:13:00 +00:00
|
|
|
}
|
|
|
|
.mstack : { } ${RELOCATING+ > mstack}
|
|
|
|
.rstack : { } ${RELOCATING+ > rstack}
|
1992-02-15 22:07:15 +00:00
|
|
|
}
|
|
|
|
EOF
|