Retro68/binutils/ld/testsuite/ld-scripts/rgn-at3.d

20 lines
691 B
Makefile

# name: rgn-at3
# source: rgn-at.s
# ld: -T rgn-at3.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+[0-9a-f][0-9a-f] +0+0010000 +0+0020000 +.*
1 .data +0+[0-9a-f][0-9a-f] +0+00100[0-9a-f]+ +0+0030000 +.*
2 .bss +0+[0-9a-f][0-9a-f] +0+00100[0-9a-f]+ +0+00300[0-9a-f]+ +.*