aboutsummaryrefslogtreecommitdiff
path: root/ld/news.sc
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1991-09-27 19:59:17 +0000
committerPer Bothner <per@bothner.com>1991-09-27 19:59:17 +0000
commit9dcb30e3a2fadd0f52bf5c371d122b446aaa0e07 (patch)
treea75e84efc1a00369fb108cb7c97ef74ef9026e0f /ld/news.sc
parent7730c767b443c4c65c301a524bf3f123a20c6488 (diff)
downloadgdb-9dcb30e3a2fadd0f52bf5c371d122b446aaa0e07.zip
gdb-9dcb30e3a2fadd0f52bf5c371d122b446aaa0e07.tar.gz
gdb-9dcb30e3a2fadd0f52bf5c371d122b446aaa0e07.tar.bz2
Initial revision
Diffstat (limited to 'ld/news.sc')
-rwxr-xr-xld/news.sc29
1 files changed, 29 insertions, 0 deletions
diff --git a/ld/news.sc b/ld/news.sc
new file mode 100755
index 0000000..254d3b2
--- /dev/null
+++ b/ld/news.sc
@@ -0,0 +1,29 @@
+OUTPUT_FORMAT("a.out-newsos3")
+OUTPUT_ARCH(m68k)
+
+SEARCH_DIR(/lib)
+SEARCH_DIR(/usr/lib)
+SEARCH_DIR(/usr/local/lib)
+__DYNAMIC = 0;
+SECTIONS
+{
+ .text 0:
+ {
+ CREATE_OBJECT_SYMBOLS
+ *(.text)
+ _etext = .;
+ }
+ .data . :
+ {
+ *(.data)
+ CONSTRUCTORS;
+ _edata = .;
+ }
+ .bss SIZEOF(.data) + ADDR(.data) :
+ {
+ *(.bss)
+ [COMMON]
+ _end = .;
+ }
+}
+