summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gcc/config/m68k/aux-low.gld
blob: d1bb2a990807e6a62170f54e3903138209ccea60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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 = .;
	}
}