Skip to content

Commit

Permalink
Correctly align opslot.
Browse files Browse the repository at this point in the history
0bd6eef caused miniperl to segfault on Linux/m64k platform.

Patch contributed for GH 17871, "Perl 5.32 segfaults on Linux/m68k (regression)."
  • Loading branch information
John Paul Adrian Glaubitz authored and jkeenan committed Jun 18, 2020
1 parent dad3dae commit c1fa71a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion op.h
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ struct opslot {
U16 opslot_size; /* size of this slot (in pointers) */
U16 opslot_offset; /* offset from start of slab (in ptr units) */
OP opslot_op; /* the op itself */
};
}__attribute__ ((aligned (4)));

struct opslab {
OPSLAB * opslab_next; /* next slab */
Expand Down

0 comments on commit c1fa71a

Please sign in to comment.