forked from Imagelibrary/binutils-gdb
(fold_name): If assigning_to_dot is true, object immediately to an undefined symbol. (exp_fold_tree): Set and clear assigning_to_dot around the recursive call to exp_fold_tree to process the right-hand side of an assignment to the location counter. testsuite: * ld-scripts/align.exp: Rename existing "ALIGN" test to "align1". Add dump tests "align2a", "align2b", "align2c". * ld-scripts/align2.t, ld-scripts/align2a.s, ld-scripts/align2a.d * ld-scripts/align2b.s, ld-scripts/align2b.d * ld-scripts/align2c.s, ld-scripts/align2c.d: New files.
14 lines
411 B
Makefile
14 lines
411 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 +00000004 +00000000 +00000000 +00001000 +2\*\*2
|
|
+CONTENTS, +ALLOC, +LOAD, +READONLY, +CODE
|
|
+1 +\.data +00000004 +00000010 +00000010 +00001010 +2\*\*2
|
|
+CONTENTS, +ALLOC, +LOAD, +DATA
|
|
+2 +\.bss +00000000 +00000014 +00000014 +00001014 +2\*\*2
|
|
+ALLOC
|