~ubuntu-branches/ubuntu/utopic/binutils-arm64-cross/utopic

« back to all changes in this revision

Viewing changes to binutils-2.23.52.20130611/ld/scripttempl/armaout.sc

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2013-06-20 17:38:09 UTC
  • Revision ID: package-import@ubuntu.com-20130620173809-app8lzgvymy5fg6c
Tags: 0.7
Build-depend on binutils-source (>= 2.23.52.20130620-1~).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
cat <<EOF
 
2
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
 
3
OUTPUT_ARCH(${ARCH})
 
4
 
 
5
${RELOCATING+${LIB_SEARCH_DIRS}}
 
6
${STACKZERO+${RELOCATING+${STACKZERO}}}
 
7
SECTIONS
 
8
{
 
9
  .text   ${RELOCATING+${TEXT_START_ADDR}} :
 
10
  {
 
11
    CREATE_OBJECT_SYMBOLS
 
12
    ${RELOCATING+__stext_ = .;}
 
13
    *(.text)
 
14
    ${PAD_TEXT+${RELOCATING+. = ${DATA_ALIGNMENT};}}
 
15
    ${RELOCATING+_etext = ${DATA_ALIGNMENT};}
 
16
    ${RELOCATING+__etext = ${DATA_ALIGNMENT};}
 
17
  }
 
18
  .data ${RELOCATING+${DATA_ALIGNMENT}} :
 
19
  {
 
20
    ${RELOCATING+__sdata_ = .;}
 
21
    *(.data)
 
22
    ${CONSTRUCTING+CONSTRUCTORS}
 
23
    ${RELOCATING+_edata  =  ${DATA_ALIGNMENT};}
 
24
    ${RELOCATING+__edata  =  ${DATA_ALIGNMENT};}
 
25
  }
 
26
  .bss ${RELOCATING+${DATA_ALIGNMENT}} :
 
27
  {
 
28
   ${RELOCATING+ __bss_start = .};
 
29
   *(.bss)
 
30
   *(COMMON)
 
31
   ${RELOCATING+_end = ALIGN(4) };
 
32
   ${RELOCATING+__end = ALIGN(4) };
 
33
  }
 
34
}
 
35
EOF