summaryrefslogtreecommitdiff
path: root/gcc/config/m68k/aux-low.gld
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/m68k/aux-low.gld')
-rw-r--r--gcc/config/m68k/aux-low.gld38
1 files changed, 38 insertions, 0 deletions
diff --git a/gcc/config/m68k/aux-low.gld b/gcc/config/m68k/aux-low.gld
new file mode 100644
index 00000000000..d1bb2a99080
--- /dev/null
+++ b/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 = .;
+ }
+}