2562953678
* 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.
13 lines
284 B
Makefile
13 lines
284 B
Makefile
# ld: --defsym data_align=32 -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+20 +0+20 .*
|
|
+CONTENTS, +ALLOC, +LOAD, +DATA
|
|
#pass
|