Make host_address_to_string/gdb_print_host_address cast parameter to 'void *'
[deliverable/binutils-gdb.git] / ld / scripttempl / tic54xcoff.sc
CommitLineData
985743c7 1# Default linker script for c54x, TI COFF(1).
c9e769c2 2# patterned after description in TI Assembler Tools PDF, SPRU102C, 7-53
985743c7 3#
b90efa5b 4# Copyright (C) 2014-2015 Free Software Foundation, Inc.
985743c7
NC
5#
6# Copying and distribution of this file, with or without modification,
7# are permitted in any medium without royalty provided the copyright
8# notice and this notice are preserved.
9
74459f0e
TW
10test -z "$ENTRY" && ENTRY=_c_int00
11
12cat <<EOF
b90efa5b 13/* Copyright (C) 2014-2015 Free Software Foundation, Inc.
985743c7
NC
14
15 Copying and distribution of this script, with or without modification,
16 are permitted in any medium without royalty provided the copyright
17 notice and this notice are preserved. */
18
74459f0e
TW
19OUTPUT_FORMAT("${OUTPUT_FORMAT}")
20OUTPUT_ARCH("${OUTPUT_ARCH}")
21
22MEMORY
23{
c9e769c2
TW
24 /*PAGE 0 : */ prog (RXI) : ORIGIN = 0x00000080, LENGTH = 0xFF00
25 /*PAGE 1 : */ data (W) : ORIGIN = 0x01000080, LENGTH = 0xFF80
74459f0e
TW
26}
27
ec2d9b29 28${RELOCATING+ENTRY (${ENTRY})}
74459f0e
TW
29
30SECTIONS
31{
32 .text :
33 {
34 ___text__ = .;
35 *(.text)
36 etext = .;
37 ___etext__ = .;
38 } > prog
39 .data :
40 {
41 ___data__ = .;
42 __data = .;
43 *(.data)
44 __edata = .;
45 edata = .;
46 ___edata__ = .;
47 } > prog
48 /* all other initialized sections should be allocated here */
49 .cinit :
50 {
51 *(.cinit)
52 } > prog
53 .bss :
54 {
55 ___bss__ = .;
56 __bss = .;
57 *(.bss)
58 *(COMMON)
59 __ebss = .;
60 end = .;
61 ___end__ = .;
62 } > data
63 /* all other uninitialized sections should be allocated here */
64}
65EOF
This page took 0.628486 seconds and 4 git commands to generate.