Put .comments into .data section, otherwise 88k can't exec the image.
[deliverable/binutils-gdb.git] / ld / ldm88k.sc
CommitLineData
81003d7e
SC
1TARGET(m88kbcs)
2OUTPUT_FORMAT(m88kbcs)
3OUTPUT_ARCH(m88k)
4ENTRY(__start)
5SEARCH_DIR(/lib)
6SEARCH_DIR(/usr/lib)
7SEARCH_DIR(/usr/local/lib)
8SECTIONS
9{
10 .text 0x10000 + SIZEOF_HEADERS :
e1e5fbfc
PB
11 {
12 CREATE_OBJECT_SYMBOLS
13 /* If relocating */
81003d7e
SC
14 __.text.start = .;
15 __.init.start = .;
16 LONG(0xf400c001)
17 __.init.end = .;
e1e5fbfc 18 /* End if relocating */
81003d7e 19 *(.text)
e1e5fbfc 20 /* If relocating */
81003d7e
SC
21 __.tdesc_start = .;
22 *(.tdesc)
23 __.text_end = .;
24 __.initp.start = .;
25 __.initp.end =.;
26
27 _etext =.;
e1e5fbfc 28 /* End if relocating */
81003d7e
SC
29 }
30 .data SIZEOF(.text) + ADDR(.text) + 0x400000:
31 {
e1e5fbfc
PB
32 *(.data)
33 CONSTRUCTORS;
e31bed36 34 *(.comment)
e1e5fbfc 35 _edata = .;
81003d7e
SC
36 }
37 .bss SIZEOF(.data) + ADDR(.data) :
38 {
39 *(.bss)
40 [COMMON]
41 _end = .;
42 ___end = .;
43 }
44}
45
46
47
This page took 0.029725 seconds and 4 git commands to generate.