binutils-gdb/ld/testsuite/ld-scripts/align2a.d
Alan Modra 2562953678 * ld-elf/warn1.d: Specify -Ttext.
* ld-scripts/align.exp (align2a, align2b: Don't run on aout targets.
	* ld-scripts/align2.t: Discard all but .text and .data.
	* ld-scripts/align2a.d: Accept non-readonly for coff.
	* ld-scripts/align2b.d: Likewise.
	* lib/ld-lib.exp (is_aout_format): New function.
2005-02-21 08:18:49 +00:00

13 lines
284 B
Makefile

# ld: --defsym data_align=16 -T align2.t
# objdump: --section-headers
[^:]+: +file format.*
Sections:
Idx +Name +Size +VMA +LMA +File +off +Algn
+0 +\.text +[^ ]* +0+ +0+ .*
+CONTENTS, +ALLOC, +LOAD,.* CODE
+1 +\.data +[^ ]* +0+10 +0+10 .*
+CONTENTS, +ALLOC, +LOAD, +DATA
#pass