Force word-alignment of static OCaml data.
On a Power7/RHEL6.4 machine, misalignment of the .data section was observed. git-svn-id: http://caml.inria.fr/svn/ocaml/branches/ppc64@16341 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
28eb4583bd
commit
7426611bae
|
@ -1110,6 +1110,7 @@ let emit_item = function
|
|||
|
||||
let data l =
|
||||
emit_string data_space;
|
||||
` .align {emit_int (if ppc64 then 3 else 2)}\n`;
|
||||
List.iter emit_item l
|
||||
|
||||
(* Beginning / end of an assembly file *)
|
||||
|
|
Loading…
Reference in New Issue