blob: 9c416f55cb27c9e8063fc77147acd7cc8b613e0e (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
/* /boot must be a.out, OMAGIC starting from 0x6000. */
/* ... but new binutils don't support a.out anymore...
OUTPUT_FORMAT("a.out-m68k-netbsd", "a.out-m68k-netbsd",
"a.out-m68k-netbsd")
*/
OUTPUT_ARCH(m68k)
ENTRY(start)
SEARCH_DIR(/usr/lib);
/*__DYNAMIC = 0; */
PROVIDE (__stack = 0);
SECTIONS
{
. = TEXTADDR;
.text :
{
CREATE_OBJECT_SYMBOLS
*(.text)
*(.rodata)
*(.rodata.str1.1)
/* The next six sections are for SunOS dynamic linking. The order
is important. */
*(.dynrel)
*(.hash)
*(.dynsym)
*(.dynstr)
*(.rules)
*(.need)
etext = .;
_etext = .;
}
.data :
{
/* The first three sections are for SunOS dynamic linking. */
*(.dynamic)
*(.got)
*(.plt)
*(.data)
*(.linux-dynamic) /* For Linux dynamic linking. */
CONSTRUCTORS
edata = .;
_edata = .;
}
.bss :
{
__bss_start = .;
*(.bss)
*(COMMON)
end = ALIGN(4) ;
_end = ALIGN(4) ;
}
/DISCARD/ : {
*(.ident)
*(.stab)
*(.stabstr)
*(.comment)
*(.debug_abbrev)
*(.debug_info)
*(.debug_line)
*(.debug_loc)
*(.debug_pubnames)
*(.debug_pubtypes)
*(.debug_aranges)
*(.debug_ranges)
*(.debug_str)
*(.debug_frame)
*(.eh_frame)
*(.SUNW_ctf)
}
}
|