~ubuntu-branches/ubuntu/hoary/binutils/hoary

« back to all changes in this revision

Viewing changes to ld/scripttempl/dlx.sc

  • Committer: Bazaar Package Importer
  • Author(s): James Troup
  • Date: 2004-05-19 10:35:44 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040519103544-17h3o6e8pwndydrg
Tags: 2.14.90.0.7-8
debian/rules: don't use gcc-2.95 on m68k.  Thanks to Adam Conrad for
pointing this out.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
cat <<EOF
 
2
OUTPUT_FORMAT("${OUTPUT_FORMAT}", "${BIG_OUTPUT_FORMAT}",
 
3
              "${LITTLE_OUTPUT_FORMAT}")
 
4
OUTPUT_ARCH(${ARCH})
 
5
 
 
6
${RELOCATING+${LIB_SEARCH_DIRS}}
 
7
SECTIONS
 
8
{
 
9
  ${RELOCATING+. = ${TEXT_START_ADDR};}
 
10
  .text :
 
11
  {
 
12
    CREATE_OBJECT_SYMBOLS
 
13
    *(.text)
 
14
    ${RELOCATING+etext = ${DATA_ALIGNMENT};}
 
15
  }
 
16
  ${RELOCATING+. = ${DATA_ALIGNMENT};}
 
17
  .data :
 
18
  {
 
19
    *(.data)
 
20
    ${CONSTRUCTING+CONSTRUCTORS}
 
21
    ${RELOCATING+edata  =  .;}
 
22
  }
 
23
  .bss :
 
24
  {
 
25
   *(.bss)
 
26
   *(COMMON)
 
27
   ${RELOCATING+end = . };
 
28
  }
 
29
}
 
30
EOF