OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [ld/] [testsuite/] [ld-scripts/] [empty-aligned.t] - Blame information for rev 825

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
SECTIONS
2
{
3
  .text : { *(.text) }
4
  /* Alignment at beginning shouldn't result in empty section being kept.  */
5
  .text1 ALIGN (4096) :
6
  {
7
    *(.text1)
8
  }
9
  /* Same for alignment at beginning and end.  */
10
  .text2 ALIGN (4096) :
11
  {
12
    *(.text2)
13
    . = ALIGN (4096);
14
  }
15
  /* Same for alignment just at end, although we need to be careful in
16
     the expression used to align.  */
17
  .text3 :
18
  {
19
    *(.text3)
20
    . = ALIGN (. != 0 ? 4096 : 1);
21
  }
22
  /* Same when setting vma and lma.  This also shouldn't result in
23
     .text3 being kept.  */
24
  .text4 ADDR (.text3) + SIZEOF (.text3) + 8192 : AT (LOADADDR (.text3))
25
  {
26
    *(.text4)
27
  }
28
  /DISCARD/ : { *(*) }
29
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.