* elf32-ppc.c (ppc_elf_check_relocs): Set pointer_equality_needed
[binutils.git] / ld / scripttempl / sa29200.sc
bloba2f267e649d583c54d3e539efaa2daef7803c34d
1 cat <<EOF
2 OUTPUT_FORMAT("${OUTPUT_FORMAT}")
3 ENTRY(start)
5 SECTIONS {
6   .text ${RELOCATING+${TEXT_START_ADDR}} : 
7     {
8         *(.text);
9         *(.text1);
10         *(.text2);
11         ${RELOCATING+_etext = .};
12     }
13   .lit ALIGN(4) :
14    {
15         *(.lit);
16         ${RELOCATING+_elit = .};
17    }
18   .data ALIGN(4) :
19     {
20         *(.data);
21         *(.data1);
22         *(.data2);
23         ${RELOCATING+_edata = .};
24         ${CONSTRUCTING+CONSTRUCTORS}
25         ${CONSTRUCTING+ ___CTOR_LIST__ = .;}
26         ${CONSTRUCTING+ LONG((___CTOR_END__ - ___CTOR_LIST__) / 4 - 2)}
27         ${CONSTRUCTING+ *(.ctors)}
28         ${CONSTRUCTING+ LONG(0)}
29         ${CONSTRUCTING+ ___CTOR_END__ = .;}
30         ${CONSTRUCTING+ ___DTOR_LIST__ = .;}
31         ${CONSTRUCTING+ LONG((___DTOR_END__ - ___DTOR_LIST__) / 4 - 2)}
32         ${CONSTRUCTING+ *(.dtors)}
33         ${CONSTRUCTING+ LONG(0)}
34         ${CONSTRUCTING+ ___DTOR_END__ = .;}
35     }
37   .bss  ALIGN(4) :
38     { 
39         *(COMMON)       
40         *(.bss)
41         ${RELOCATING+_end = .};
42     } 
44 EOF