[official-gcc.git] / gcc / config / m68k / aux-low.gld
blobd1bb2a990807e6a62170f54e3903138209ccea60
1 /* GLD link script for building mac-compatible executables */
3 OUTPUT_FORMAT("coff-m68k")
5 SEARCH_DIR(@tooldir@/lib);
6 SEARCH_DIR(@libdir@);
7 SEARCH_DIR(/lib);
8 SEARCH_DIR(/usr/lib);
9 SEARCH_DIR(@local_prefix@/lib);
11 ENTRY(_start)
13 SECTIONS 
15         .lowmem 0 (DSECT) : { 
16                 /usr/lib/low.o (.data)
17         }
18         .text 0x10000000 : {
19                 *(.text)
20                 *(.init)
21                 *(.fini)
22                 etext = .;
23                 _etext = .;
24         }
25         .data ALIGN(0x40000) : {
26                 *(.data)
27                 *(.ctors)
28                 *(.dtors)
29                 edata = .;
30                 _edata = .;
31         }
32         .bss : {
33                 *(.bss)
34                 *(COMMON)
35                 end = .;
36                 _end = .;
37         }