summaryrefslogtreecommitdiffstats
path: root/ld/ldgld.script
diff options
context:
space:
mode:
authorSteve Chamberlain <steve@cygnus>1991-05-14 17:32:59 +0000
committerSteve Chamberlain <steve@cygnus>1991-05-14 17:32:59 +0000
commit15ed1567e078309fa1367a9eaedfea1205600379 (patch)
tree6e7a85a4e2b65043d6a37ccb7ffdb020b104415a /ld/ldgld.script
parent1b494bfa15411eb254eee4f28ae8e07f89d4d268 (diff)
downloadppe42-binutils-15ed1567e078309fa1367a9eaedfea1205600379.tar.gz
ppe42-binutils-15ed1567e078309fa1367a9eaedfea1205600379.zip
Initial revision
Diffstat (limited to 'ld/ldgld.script')
-rwxr-xr-xld/ldgld.script28
1 files changed, 28 insertions, 0 deletions
diff --git a/ld/ldgld.script b/ld/ldgld.script
new file mode 100755
index 0000000000..2f402c1324
--- /dev/null
+++ b/ld/ldgld.script
@@ -0,0 +1,28 @@
+OUTPUT_ARCH(sparc)
+OUTPUT_FORMAT("a.out-sunos-big")
+SEARCH_DIR(/lib)
+SEARCH_DIR(/usr/lib)
+SEARCH_DIR(/usr/local/lib)
+__DYNAMIC = 0;
+SECTIONS
+{
+ .text 0x2020 BLOCK(0x2000):
+ {
+ CREATE_OBJECT_SYMBOLS
+ *(.text)
+ _etext = ALIGN( 0x2000);
+ }
+ .data ALIGN(0x2000) :
+ {
+ *(.data)
+ _edata = .;
+ }
+ .bss SIZEOF(.data) + ADDR(.data) :
+ {
+ *(.bss)
+ [COMMON]
+ _end = .;
+ }
+}
+
+
OpenPOWER on IntegriCloud