summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/rgn-over8-ok.d
blob: fe6b1c9c21fa14bc741d8d68fa1616f7b7eea7d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# name: rgn-over8
# source: rgn-over8.s
# ld: -T rgn-over8.t
# objdump: -w -h
# xfail: rx-*-* *-*-nacl*
#   FAILS on the RX because the linker has to set LMA == VMA for the
#   Renesas loader.
#   FAILs on NaCl targets because the linker extends the first segment
#   to fill out the page, making its p_vaddr+p_memsz cover the sh_addr
#   of .bss too, which makes BFD compute its LMA from the p_paddr of the
#   text segment.

.*:     file format .*

Sections:
Idx +Name +Size +VMA +LMA +File off +Algn +Flags
  0 .text         0+0000400  0+0000000  0+0000000  [0-9a-f]+  2\*\*[0-9]+  CONTENTS, ALLOC, LOAD, READONLY, CODE
  1 .data         0+0000400  0+0001000  0+0000400  [0-9a-f]+  2\*\*[0-9]+  CONTENTS, ALLOC, LOAD, DATA
  2 .bss          0+0000400  0+0001400  0+0000800  [0-9a-f]+  2\*\*[0-9]+  ALLOC