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

« back to all changes in this revision

Viewing changes to binutils-2.23.52.20130611/ld/testsuite/ld-scripts/rgn-over3.t

  • 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
/* Memory region overflow tests: two regions, each too small for the single
 
2
   section placed there. */
 
3
 
 
4
MEMORY {
 
5
  bss (rwx) : ORIGIN = 0, LENGTH = 0
 
6
  r1  (rwx) : ORIGIN = 0x1000, LENGTH = 8
 
7
  r2  (rwx) : ORIGIN = 0x2000, LENGTH = 8
 
8
}
 
9
_start = 0x1000;
 
10
SECTIONS {
 
11
  .bss  : { *(.bss)  } > bss
 
12
  .text : { *(.txt) } > r1
 
13
  .data : { *(.dat) } > r2
 
14
  /DISCARD/ : { *(*) }
 
15
}