binutils-gdb/ld/testsuite/ld-scripts/rgn-at3.d
Nathan Sidwell 113e68452e * ldlang.c (lang_leave_output_section_statement): Set lma_region
if it is not overridden and section is for the same vma region as
	the previous section.

	* ld-scripts/rgn-at.exp: New.
	* ld-scripts/rgn-at.s: New.
	* ld-scripts/rgn-at1.d: New.
	* ld-scripts/rgn-at1.t: New.
	* ld-scripts/rgn-at2.d: New.
	* ld-scripts/rgn-at2.t: New.
	* ld-scripts/rgn-at3.d: New.
	* ld-scripts/rgn-at3.t: New.
2009-04-03 07:45:28 +00:00

13 lines
319 B
Makefile

# name: rgn-at3
# source: rgn-at.s
# ld: -T rgn-at3.t
# objdump: -w -h
.*: file format .*
Sections:
Idx +Name +Size +VMA +LMA +File off +Algn +Flags
0 .text +0+[0-9a-f] +0+0010000 +0+0020000 +.*
1 .data +0+[0-9a-f] +0+00100[0-9a-f]+ +0+0030000 +.*
2 .bss +0+[0-9a-f] +0+00100[0-9a-f]+ +0+00300[0-9a-f]+ +.*