binutils-gdb/ld/testsuite/ld-scripts/data.d
Nathan Sidwell 384d938fc8 * ldlang.c (map_input_to_output_sections): Initialize sections
mentioned in a data statement expression.
	(lang_do_assignments_1): Add data statement's expression's
	section's vma.
	* ld-scripts/data.{s,t,d,exp}: New.
2004-02-19 14:08:31 +00:00

10 lines
167 B
Makefile

#source: data.s
#ld: -T data.t
#objdump: -s -j .text
.*: file format .*
Contents of section .text:
1000 (0410)?0000(1004)? (0810)?0000(1008)? +........ *
#pass