as: Sparc-Aligned-Data
1
1 9.44.2 Enforcing aligned data
1 -----------------------------
1
1 SPARC GAS normally permits data to be misaligned. For example, it
1 permits the '.long' pseudo-op to be used on a byte boundary. However,
1 the native SunOS assemblers issue an error when they see misaligned
1 data.
1
1 You can use the '--enforce-aligned-data' option to make SPARC GAS
1 also issue an error about misaligned data, just as the SunOS assemblers
1 do.
1
1 The '--enforce-aligned-data' option is not the default because gcc
1 issues misaligned data pseudo-ops when it initializes certain packed
1 data structures (structures defined using the 'packed' attribute). You
1 may have to assemble with GAS in order to initialize packed data
1 structures in your own code.
1