Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-scripts/rgn-over8-ok.d
2023-03-06 14:48:14 +01:00

19 lines
807 B
Makefile

# 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