Home | History | Annotate | Download | only in ld-scripts
      1 # name: rgn-over8
      2 # source: rgn-over8.s
      3 # ld: -T rgn-over8.t
      4 # objdump: -w -h
      5 # xfail: rx-*-* *-*-nacl*
      6 #   FAILS on the RX because the linker has to set LMA == VMA for the
      7 #   Renesas loader.
      8 #   FAILs on NaCl targets because the linker extends the first segment
      9 #   to fill out the page, making its p_vaddr+p_memsz cover the sh_addr
     10 #   of .bss too, which makes BFD compute its LMA from the p_paddr of the
     11 #   text segment.
     12 
     13 .*:     file format .*
     14 
     15 Sections:
     16 Idx +Name +Size +VMA +LMA +File off +Algn +Flags
     17   0 .text         0+0000400  0+0000000  0+0000000  [0-9a-f]+  2\*\*[0-9]+  CONTENTS, ALLOC, LOAD, READONLY, CODE
     18   1 .data         0+0000400  0+0001000  0+0000400  [0-9a-f]+  2\*\*[0-9]+  CONTENTS, ALLOC, LOAD, DATA
     19   2 .bss          0+0000400  0+0001400  0+0000800  [0-9a-f]+  2\*\*[0-9]+  ALLOC
     20