summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gcc/config/m68k/aux-low.gld
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1998-02-14 19:27:17 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1998-02-14 19:27:17 +0000
commit6de8cb0481bd793706e38dead271f9233a57b7e5 (patch)
tree7ff9ff6922a48636469d3b019d912ee0b7894c00 /gnu/usr.bin/gcc/config/m68k/aux-low.gld
parent627e15b4811e5758670f68174f71540e63fb4040 (diff)
Diffstat (limited to 'gnu/usr.bin/gcc/config/m68k/aux-low.gld')
-rw-r--r--gnu/usr.bin/gcc/config/m68k/aux-low.gld38
1 files changed, 38 insertions, 0 deletions
diff --git a/gnu/usr.bin/gcc/config/m68k/aux-low.gld b/gnu/usr.bin/gcc/config/m68k/aux-low.gld
new file mode 100644
index 00000000000..d1bb2a99080
--- /dev/null
+++ b/gnu/usr.bin/gcc/config/m68k/aux-low.gld
@@ -0,0 +1,38 @@
+/* GLD link script for building mac-compatible executables */
+
+OUTPUT_FORMAT("coff-m68k")
+
+SEARCH_DIR(@tooldir@/lib);
+SEARCH_DIR(@libdir@);
+SEARCH_DIR(/lib);
+SEARCH_DIR(/usr/lib);
+SEARCH_DIR(@local_prefix@/lib);
+
+ENTRY(_start)
+
+SECTIONS
+{
+ .lowmem 0 (DSECT) : {
+ /usr/lib/low.o (.data)
+ }
+ .text 0x10000000 : {
+ *(.text)
+ *(.init)
+ *(.fini)
+ etext = .;
+ _etext = .;
+ }
+ .data ALIGN(0x40000) : {
+ *(.data)
+ *(.ctors)
+ *(.dtors)
+ edata = .;
+ _edata = .;
+ }
+ .bss : {
+ *(.bss)
+ *(COMMON)
+ end = .;
+ _end = .;
+ }
+}